Skip to content

Commit

Permalink
allow Contents property
Browse files Browse the repository at this point in the history
  • Loading branch information
karan-batavia committed Mar 14, 2024
1 parent 6984dba commit 3c7ac4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DotNetAstGen/SyntaxNodePropertiesResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ internal class SyntaxNodePropertiesResolver : DefaultContractResolver
"Condition", "Statement", "Statements", "Variables", "WhenNotNull", "AllowsAnyExpression", "Expressions",
"Modifiers", "ReturnType", "IsUnboundGenericName", "Default", "IsConst", "Types",
"ExplicitInterfaceSpecifier", "MetaData", "Kind", "AstRoot", "FileName", "Code", "Operand", "Block",
"Catches", "Finally", "Keyword", "Incrementors", "Sections", "Pattern", "Labels", "Elements" ,"WhenTrue", "WhenFalse", "Initializers", "NameEquals"
"Catches", "Finally", "Keyword", "Incrementors", "Sections", "Pattern", "Labels", "Elements" ,"WhenTrue",
"WhenFalse", "Initializers", "NameEquals", "Contents"
});

private readonly List<string> _regexToAllow = new(new[]
Expand Down

0 comments on commit 3c7ac4e

Please sign in to comment.