Class MethodDefSyntax
Represents the syntax of the method definition in CIL assembler
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: CilTools.Syntax
Assembly: CilTools.BytecodeAnalysis.dll
Syntax
public class MethodDefSyntax : SyntaxNodeRemarks
Method definition consists of the signature ("header") and the body. The body can contain directives (such as custom attributes or local variable declarations) and instructions.
Properties
Body
Gets the block that forms the body of the defined method
Declaration
public BlockSyntax Body { get; }Property Value
| Type | Description | 
|---|---|
| BlockSyntax | 
Signature
Gets the directive representing the signature of the defined method
Declaration
public DirectiveSyntax Signature { get; }Property Value
| Type | Description | 
|---|---|
| DirectiveSyntax | 
Methods
EnumerateChildNodes()
Enumerates child nodes of this node. For the leaf node, returns an empty collection.
Declaration
public override IEnumerable<SyntaxNode> EnumerateChildNodes()Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<SyntaxNode> | The collection of child syntax nodes | 
Overrides
ToText(TextWriter)
Writes text representation of this node into the specified TextWriter
Declaration
public override void ToText(TextWriter target)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.TextWriter | target |