Skip to content

Commit 37c51b5

Browse files
fixup attributes
1 parent 6990c72 commit 37c51b5

File tree

113 files changed

+139
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+139
-139
lines changed

ICSharpCode.Decompiler/CSharp/Syntax/AstNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
namespace ICSharpCode.Decompiler.CSharp.Syntax
3939
{
40-
[DecompilerAstNode(true)]
40+
[DecompilerAstNode(hasNullNode: true)]
4141
public abstract partial class AstNode : AbstractAnnotatable, IFreezable, INode, ICloneable
4242
{
4343
// the Root role must be available when creating the null nodes, so we can't put it in the Roles class

ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
2828
/// <summary>
2929
/// A type reference in the C# AST.
3030
/// </summary>
31-
[DecompilerAstNode(true)]
31+
[DecompilerAstNode(hasNullNode: true)]
3232
public abstract partial class AstType : AstNode
3333
{
3434
#region PatternPlaceholder

ICSharpCode.Decompiler/CSharp/Syntax/CSharpModifierToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
namespace ICSharpCode.Decompiler.CSharp.Syntax
3333
{
34-
[DecompilerAstNode(false)]
34+
[DecompilerAstNode(hasNullNode: false)]
3535
public partial class CSharpModifierToken : CSharpTokenNode
3636
{
3737
Modifiers modifier;

ICSharpCode.Decompiler/CSharp/Syntax/CSharpTokenNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
3434
/// <remarks>
3535
/// In all non null c# token nodes the Role of a CSharpToken must be a TokenRole.
3636
/// </remarks>
37-
[DecompilerAstNode(true)]
37+
[DecompilerAstNode(hasNullNode: true)]
3838
public partial class CSharpTokenNode : AstNode
3939
{
4040
public override NodeType NodeType {

ICSharpCode.Decompiler/CSharp/Syntax/ComposedType.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
namespace ICSharpCode.Decompiler.CSharp.Syntax
3636
{
37-
[DecompilerAstNode(false)]
37+
[DecompilerAstNode(hasNullNode: false)]
3838
public partial class ComposedType : AstType
3939
{
4040
public static readonly Role<AttributeSection> AttributeRole = EntityDeclaration.AttributeRole;
@@ -231,7 +231,7 @@ public override ITypeReference ToTypeReference(NameLookupMode lookupMode, Intern
231231
/// <summary>
232232
/// [,,,]
233233
/// </summary>
234-
[DecompilerAstNode(false)]
234+
[DecompilerAstNode(hasNullNode: false)]
235235
public partial class ArraySpecifier : AstNode
236236
{
237237
public override NodeType NodeType {

ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
2323
/// <summary>
2424
/// Represents a 'cref' reference in XML documentation.
2525
/// </summary>
26-
[DecompilerAstNode(false)]
26+
[DecompilerAstNode(hasNullNode: false)]
2727
public partial class DocumentationReference : AstNode
2828
{
2929
public static readonly Role<AstType> DeclaringTypeRole = new Role<AstType>("DeclaringType", AstType.Null);

ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousMethodExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
3232
/// <summary>
3333
/// [async] delegate(Parameters) {Body}
3434
/// </summary>
35-
[DecompilerAstNode(false)]
35+
[DecompilerAstNode(hasNullNode: false)]
3636
public partial class AnonymousMethodExpression : Expression
3737
{
3838
public readonly static TokenRole DelegateKeywordRole = new TokenRole("delegate");

ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AnonymousTypeCreateExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
3030
/// <summary>
3131
/// new { [ExpressionList] }
3232
/// </summary>
33-
[DecompilerAstNode(false)]
33+
[DecompilerAstNode(hasNullNode: false)]
3434
public partial class AnonymousTypeCreateExpression : Expression
3535
{
3636
public readonly static TokenRole NewKeywordRole = new TokenRole("new");

ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayCreateExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
2222
/// <summary>
2323
/// new Type[Dimensions]
2424
/// </summary>
25-
[DecompilerAstNode(false)]
25+
[DecompilerAstNode(hasNullNode: false)]
2626
public partial class ArrayCreateExpression : Expression
2727
{
2828
public readonly static TokenRole NewKeywordRole = new TokenRole("new");

ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayInitializerExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
3131
/// <summary>
3232
/// { Elements }
3333
/// </summary>
34-
[DecompilerAstNode(true)]
34+
[DecompilerAstNode(hasNullNode: true)]
3535
public partial class ArrayInitializerExpression : Expression
3636
{
3737
/// <summary>

0 commit comments

Comments
 (0)