Class MethodDeclaration
- Namespace
- ICSharpCode.Decompiler.CSharp.Syntax
- Assembly
- ICSharpCode.Decompiler.dll
public class MethodDeclaration : EntityDeclaration, IAnnotatable, IFreezable, INode, ICloneable
- Inheritance
-
MethodDeclaration
- Implements
- Inherited Members
- Extension Methods
Constructors
MethodDeclaration()
public MethodDeclaration()
Properties
Body
public BlockStatement Body { get; set; }
Property Value
Constraints
public AstNodeCollection<Constraint> Constraints { get; }
Property Value
IsExtensionMethod
public bool IsExtensionMethod { get; }
Property Value
LParToken
public CSharpTokenNode LParToken { get; }
Property Value
Parameters
public AstNodeCollection<ParameterDeclaration> Parameters { get; }
Property Value
PrivateImplementationType
Gets/Sets the type reference of the interface that is explicitly implemented. Null node if this member is not an explicit interface implementation.
public AstType PrivateImplementationType { get; set; }
Property Value
RParToken
public CSharpTokenNode RParToken { get; }
Property Value
SymbolKind
public override SymbolKind SymbolKind { get; }
Property Value
TypeParameters
public AstNodeCollection<TypeParameterDeclaration> TypeParameters { get; }
Property Value
Methods
AcceptVisitor(IAstVisitor)
public override void AcceptVisitor(IAstVisitor visitor)
Parameters
visitor
IAstVisitor
AcceptVisitor<T>(IAstVisitor<T>)
public override T AcceptVisitor<T>(IAstVisitor<T> visitor)
Parameters
visitor
IAstVisitor<T>
Returns
- T
Type Parameters
T
AcceptVisitor<T, S>(IAstVisitor<T, S>, T)
public override S AcceptVisitor<T, S>(IAstVisitor<T, S> visitor, T data)
Parameters
visitor
IAstVisitor<T, S>data
T
Returns
- S
Type Parameters
T
S
DoMatch(AstNode, Match)
protected override bool DoMatch(AstNode other, Match match)