C# Class Rosetta.AST.Helpers.MethodDeclaration

Helper for accessing class in AST
Inheritance: Helper
Mostra file Open project: andry-tino/Rosetta Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
MethodDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclarationNode ) : System

Initializes a new instance of the MethodDeclaration class.

MethodDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclarationNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the MethodDeclaration class.

Protected Methods

Method Description
CreateParameterHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : Parameter

CreateTypeReferenceHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : TypeReference

Method Details

CreateParameterHelper() protected method

protected CreateParameterHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : Parameter
node Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
return Parameter

CreateTypeReferenceHelper() protected method

protected CreateTypeReferenceHelper ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : TypeReference
node Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
return TypeReference

MethodDeclaration() public method

Initializes a new instance of the MethodDeclaration class.
public MethodDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclarationNode ) : System
methodDeclarationNode Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
return System

MethodDeclaration() public method

Initializes a new instance of the MethodDeclaration class.
public MethodDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax methodDeclarationNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
methodDeclarationNode Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
return System