Browse Source

Remove stray blank lines at AST node class boundaries

A blank line as the first line inside a node class body (right after the opening brace) or the
last line before the closing brace, left over from the migration. Cosmetic only -- deletions of blank
lines at class boundaries; method bodies are untouched.

Assisted-by: Claude:claude-opus-4-8:Claude Code
pull/3807/head
Siegfried Pammer 3 weeks ago committed by Siegfried Pammer
parent
commit
6088b3798a
  1. 1
      ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs
  2. 1
      ICSharpCode.Decompiler/CSharp/Syntax/ComposedType.cs
  3. 1
      ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs
  4. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ArrayInitializerExpression.cs
  5. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AsExpression.cs
  6. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CastExpression.cs
  7. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs
  8. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ConditionalExpression.cs
  9. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs
  10. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/Expression.cs
  11. 3
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/InterpolatedStringExpression.cs
  12. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs
  13. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs
  14. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs
  15. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/RecursivePatternExpression.cs
  16. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs
  17. 2
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SwitchExpression.cs
  18. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThrowExpression.cs
  19. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs
  20. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs
  21. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs
  22. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Expressions/WithInitializerExpression.cs
  23. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Attribute.cs
  24. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs
  25. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs
  26. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs
  27. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs
  28. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs
  29. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NamespaceDeclaration.cs
  30. 2
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/PreProcessorDirective.cs
  31. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeDeclaration.cs
  32. 1
      ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingDeclaration.cs
  33. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Identifier.cs
  34. 1
      ICSharpCode.Decompiler/CSharp/Syntax/MemberType.cs
  35. 2
      ICSharpCode.Decompiler/CSharp/Syntax/Roles.cs
  36. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/BlockStatement.cs
  37. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/CheckedStatement.cs
  38. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ExpressionStatement.cs
  39. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/IfElseStatement.cs
  40. 2
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/LocalFunctionDeclarationStatement.cs
  41. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ReturnStatement.cs
  42. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/Statement.cs
  43. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/SwitchStatement.cs
  44. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/ThrowStatement.cs
  45. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/UncheckedStatement.cs
  46. 1
      ICSharpCode.Decompiler/CSharp/Syntax/Statements/WhileStatement.cs
  47. 1
      ICSharpCode.Decompiler/CSharp/Syntax/SyntaxTree.cs
  48. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/Accessor.cs
  49. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/ConstructorDeclaration.cs
  50. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/EnumMemberDeclaration.cs
  51. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/ExtensionDeclaration.cs
  52. 1
      ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/PropertyDeclaration.cs
  53. 1
      ICSharpCode.Decompiler/CSharp/Syntax/VariableDesignation.cs

1
ICSharpCode.Decompiler/CSharp/Syntax/AstType.cs

@ -29,7 +29,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode(hasPatternPlaceholder: true)] [DecompilerAstNode(hasPatternPlaceholder: true)]
public abstract partial class AstType : AstNode public abstract partial class AstType : AstNode
{ {
public new AstType Clone() public new AstType Clone()
{ {
return (AstType)base.Clone(); return (AstType)base.Clone();

1
ICSharpCode.Decompiler/CSharp/Syntax/ComposedType.cs

@ -137,7 +137,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class ArraySpecifier : AstNode public sealed partial class ArraySpecifier : AstNode
{ {
public ArraySpecifier() public ArraySpecifier()
{ {
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/DocumentationReference.cs

@ -34,7 +34,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class DocumentationReference : AstNode public sealed partial class DocumentationReference : AstNode
{ {
/// <summary> /// <summary>
/// Gets/Sets the entity type. /// Gets/Sets the entity type.
/// Possible values are: /// Possible values are:

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

@ -36,6 +36,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
[Slot("Expression")] [Slot("Expression")]
public partial AstNodeCollection<Expression> Elements { get; } public partial AstNodeCollection<Expression> Elements { get; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/AsExpression.cs

@ -41,6 +41,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CastExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/CheckedExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ConditionalExpression.cs

@ -45,6 +45,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("False")] [Slot("False")]
public partial Expression FalseExpression { get; set; } public partial Expression FalseExpression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/DefaultValueExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/Expression.cs

@ -30,7 +30,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode(hasPatternPlaceholder: true)] [DecompilerAstNode(hasPatternPlaceholder: true)]
public abstract partial class Expression : AstNode public abstract partial class Expression : AstNode
{ {
public new Expression Clone() public new Expression Clone()
{ {
return (Expression)base.Clone(); return (Expression)base.Clone();

3
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/InterpolatedStringExpression.cs

@ -33,7 +33,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public abstract partial class InterpolatedStringContent : AstNode public abstract partial class InterpolatedStringContent : AstNode
{ {
} }
/// <summary> /// <summary>
@ -42,7 +41,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Interpolation : InterpolatedStringContent public sealed partial class Interpolation : InterpolatedStringContent
{ {
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
@ -67,7 +65,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
public InterpolatedStringText() public InterpolatedStringText()
{ {
} }
public InterpolatedStringText(string text) public InterpolatedStringText(string text)

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/IsExpression.cs

@ -42,6 +42,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ParenthesizedExpression.cs

@ -36,6 +36,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/QueryExpression.cs

@ -26,7 +26,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class QueryExpression : Expression public sealed partial class QueryExpression : Expression
{ {
[Slot("Clause")] [Slot("Clause")]
public partial AstNodeCollection<QueryClause> Clauses { get; } public partial AstNodeCollection<QueryClause> Clauses { get; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/RecursivePatternExpression.cs

@ -31,7 +31,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class RecursivePatternExpression : Expression public sealed partial class RecursivePatternExpression : Expression
{ {
[Slot("Type")] [Slot("Type")]
public partial AstType? Type { get; set; } public partial AstType? Type { get; set; }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SizeOfExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

2
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/SwitchExpression.cs

@ -42,12 +42,10 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class SwitchExpressionSection : AstNode public sealed partial class SwitchExpressionSection : AstNode
{ {
[Slot("Pattern")] [Slot("Pattern")]
public partial Expression Pattern { get; set; } public partial Expression Pattern { get; set; }
[Slot("Body")] [Slot("Body")]
public partial Expression Body { get; set; } public partial Expression Body { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/ThrowExpression.cs

@ -30,6 +30,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeOfExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/TypeReferenceExpression.cs

@ -29,6 +29,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/UncheckedExpression.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Expressions/WithInitializerExpression.cs

@ -27,7 +27,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class WithInitializerExpression : Expression public sealed partial class WithInitializerExpression : Expression
{ {
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Attribute.cs

@ -36,7 +36,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Attribute : AstNode public sealed partial class Attribute : AstNode
{ {
[Slot("Type")] [Slot("Type")]
public partial AstType Type { get; set; } public partial AstType Type { get; set; }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/AttributeSection.cs

@ -32,7 +32,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode(hasPatternPlaceholder: true)] [DecompilerAstNode(hasPatternPlaceholder: true)]
public partial class AttributeSection : AstNode public partial class AttributeSection : AstNode
{ {
public string AttributeTarget { public string AttributeTarget {
get { get {
return GetChildByRole<Identifier>(SlotKind.Identifier)?.Name ?? string.Empty; return GetChildByRole<Identifier>(SlotKind.Identifier)?.Name ?? string.Empty;

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Comment.cs

@ -58,7 +58,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Comment : Trivia public sealed partial class Comment : Trivia
{ {
public CommentType CommentType { get; set; } public CommentType CommentType { get; set; }
public string Content { get; set; } = string.Empty; public string Content { get; set; } = string.Empty;

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/Constraint.cs

@ -35,7 +35,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Constraint : AstNode public sealed partial class Constraint : AstNode
{ {
[Slot("ConstraintTypeParameter")] [Slot("ConstraintTypeParameter")]
public partial SimpleType TypeParameter { get; set; } public partial SimpleType TypeParameter { get; set; }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/DelegateDeclaration.cs

@ -36,7 +36,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class DelegateDeclaration : EntityDeclaration public sealed partial class DelegateDeclaration : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.TypeDefinition; } get { return SymbolKind.TypeDefinition; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/ExternAliasDeclaration.cs

@ -34,7 +34,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class ExternAliasDeclaration : AstNode public sealed partial class ExternAliasDeclaration : AstNode
{ {
[Slot("Identifier")] [Slot("Identifier")]
public partial string Name { get; set; } public partial string Name { get; set; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/NamespaceDeclaration.cs

@ -41,7 +41,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class NamespaceDeclaration : AstNode public sealed partial class NamespaceDeclaration : AstNode
{ {
public bool IsFileScoped { get; set; } public bool IsFileScoped { get; set; }
[Slot("NamespaceName")] [Slot("NamespaceName")]

2
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/PreProcessorDirective.cs

@ -69,7 +69,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class PragmaWarningPreprocessorDirective : PreProcessorDirective public sealed partial class PragmaWarningPreprocessorDirective : PreProcessorDirective
{ {
[Slot("Warning")] [Slot("Warning")]
public partial AstNodeCollection<PrimitiveExpression> Warnings { get; } public partial AstNodeCollection<PrimitiveExpression> Warnings { get; }
@ -102,7 +101,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public partial class PreProcessorDirective : Trivia public partial class PreProcessorDirective : Trivia
{ {
public PreProcessorDirectiveType Type { get; set; } public PreProcessorDirectiveType Type { get; set; }
public string? Argument { get; set; } public string? Argument { get; set; }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/TypeDeclaration.cs

@ -52,7 +52,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class TypeDeclaration : EntityDeclaration public sealed partial class TypeDeclaration : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.TypeDefinition; } get { return SymbolKind.TypeDefinition; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/GeneralScope/UsingDeclaration.cs

@ -83,6 +83,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
AddChild(AstType.Create(nameSpace), SlotKind.Import); AddChild(AstType.Create(nameSpace), SlotKind.Import);
} }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Identifier.cs

@ -42,7 +42,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Identifier : AstNode public sealed partial class Identifier : AstNode
{ {
string name; string name;
public string Name { public string Name {
get { return this.name; } get { return this.name; }

1
ICSharpCode.Decompiler/CSharp/Syntax/MemberType.cs

@ -36,7 +36,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class MemberType : AstType public sealed partial class MemberType : AstType
{ {
public bool IsDoubleColon { get; set; } public bool IsDoubleColon { get; set; }
[Slot("Target")] [Slot("Target")]

2
ICSharpCode.Decompiler/CSharp/Syntax/Roles.cs

@ -28,7 +28,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
public static class Roles public static class Roles
{ {
// some pre defined constants for most used punctuation // some pre defined constants for most used punctuation
public const string LPar = "("; public const string LPar = "(";
public const string RPar = ")"; public const string RPar = ")";
@ -58,6 +57,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
public const string ClassKeyword = "class"; public const string ClassKeyword = "class";
public const string RecordKeyword = "record"; public const string RecordKeyword = "record";
public const string RecordStructKeyword = "record"; public const string RecordStructKeyword = "record";
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/BlockStatement.cs

@ -34,7 +34,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode(hasPatternPlaceholder: true)] [DecompilerAstNode(hasPatternPlaceholder: true)]
public partial class BlockStatement : Statement, IEnumerable<Statement> public partial class BlockStatement : Statement, IEnumerable<Statement>
{ {
[Slot("Statement")] [Slot("Statement")]
public partial AstNodeCollection<Statement> Statements { get; } public partial AstNodeCollection<Statement> Statements { get; }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/CheckedStatement.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Body")] [Slot("Body")]
public partial BlockStatement Body { get; set; } public partial BlockStatement Body { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ExpressionStatement.cs

@ -36,6 +36,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
{ {
[Slot("Expression")] [Slot("Expression")]
public partial Expression Expression { get; set; } public partial Expression Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/IfElseStatement.cs

@ -45,6 +45,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("False")] [Slot("False")]
public partial Statement? FalseStatement { get; set; } public partial Statement? FalseStatement { get; set; }
} }
} }

2
ICSharpCode.Decompiler/CSharp/Syntax/Statements/LocalFunctionDeclarationStatement.cs

@ -26,9 +26,7 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class LocalFunctionDeclarationStatement : Statement public sealed partial class LocalFunctionDeclarationStatement : Statement
{ {
[Slot("MethodDeclaration")] [Slot("MethodDeclaration")]
public partial MethodDeclaration Declaration { get; set; } public partial MethodDeclaration Declaration { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ReturnStatement.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression? Expression { get; set; } public partial Expression? Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/Statement.cs

@ -41,6 +41,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
throw new ArgumentNullException(nameof(replaceFunction)); throw new ArgumentNullException(nameof(replaceFunction));
return (Statement)base.ReplaceWith(node => replaceFunction((Statement)node)); return (Statement)base.ReplaceWith(node => replaceFunction((Statement)node));
} }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/SwitchStatement.cs

@ -49,7 +49,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode(hasPatternPlaceholder: true)] [DecompilerAstNode(hasPatternPlaceholder: true)]
public partial class SwitchSection : AstNode public partial class SwitchSection : AstNode
{ {
[Slot("CaseLabel")] [Slot("CaseLabel")]
public partial AstNodeCollection<CaseLabel> CaseLabels { get; } public partial AstNodeCollection<CaseLabel> CaseLabels { get; }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/ThrowStatement.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Expression")] [Slot("Expression")]
public partial Expression? Expression { get; set; } public partial Expression? Expression { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/UncheckedStatement.cs

@ -38,6 +38,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("Body")] [Slot("Body")]
public partial BlockStatement Body { get; set; } public partial BlockStatement Body { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/Statements/WhileStatement.cs

@ -41,6 +41,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("EmbeddedStatement")] [Slot("EmbeddedStatement")]
public partial Statement EmbeddedStatement { get; set; } public partial Statement EmbeddedStatement { get; set; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/SyntaxTree.cs

@ -38,7 +38,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class SyntaxTree : AstNode public sealed partial class SyntaxTree : AstNode
{ {
[Slot("Member")] [Slot("Member")]
public partial AstNodeCollection<AstNode> Members { get; } public partial AstNodeCollection<AstNode> Members { get; }

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/Accessor.cs

@ -46,7 +46,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class Accessor : EntityDeclaration public sealed partial class Accessor : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.Method; } get { return SymbolKind.Method; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/ConstructorDeclaration.cs

@ -36,7 +36,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class ConstructorDeclaration : EntityDeclaration public sealed partial class ConstructorDeclaration : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.Constructor; } get { return SymbolKind.Constructor; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/EnumMemberDeclaration.cs

@ -36,7 +36,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class EnumMemberDeclaration : EntityDeclaration public sealed partial class EnumMemberDeclaration : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.Field; } get { return SymbolKind.Field; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/ExtensionDeclaration.cs

@ -47,6 +47,5 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[Slot("TypeMember")] [Slot("TypeMember")]
public partial AstNodeCollection<EntityDeclaration> Members { get; } public partial AstNodeCollection<EntityDeclaration> Members { get; }
} }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/TypeMembers/PropertyDeclaration.cs

@ -41,7 +41,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class PropertyDeclaration : EntityDeclaration public sealed partial class PropertyDeclaration : EntityDeclaration
{ {
public override SymbolKind SymbolKind { public override SymbolKind SymbolKind {
get { return SymbolKind.Property; } get { return SymbolKind.Property; }
} }

1
ICSharpCode.Decompiler/CSharp/Syntax/VariableDesignation.cs

@ -41,7 +41,6 @@ namespace ICSharpCode.Decompiler.CSharp.Syntax
[DecompilerAstNode] [DecompilerAstNode]
public sealed partial class ParenthesizedVariableDesignation : VariableDesignation public sealed partial class ParenthesizedVariableDesignation : VariableDesignation
{ {
[Slot("VariableDesignation")] [Slot("VariableDesignation")]
public partial AstNodeCollection<VariableDesignation> VariableDesignations { get; } public partial AstNodeCollection<VariableDesignation> VariableDesignations { get; }
} }

Loading…
Cancel
Save