C# Class Rosetta.AST.Helpers.TypeReference

Helper for accessing type references in AST.
Inheritance: Helper
Afficher le fichier Open project: andry-tino/Rosetta

Méthodes publiques

Méthode Description
TypeReference ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeSyntaxNode ) : System

Initializes a new instance of the TypeReference class.

This is a minimal constructor, some properties might be unavailable.

TypeReference ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the TypeReference class.

When providing the semantic model, some properites will be devised from that.

Private Methods

Méthode Description
GetTypeSymbolFullName ( ITypeSymbol typeSymbol ) : string

Tries all possible ways to retrieve the full name using the semantic model.

GetTypeSymbolFullName ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : string

Tries all possible ways to retrieve the full name using the semantic model.

TryGetTypeSymbolFullName ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : string

Tries all possible ways to retrieve the full name using the semantic model.

Method Details

TypeReference() public méthode

Initializes a new instance of the TypeReference class.
This is a minimal constructor, some properties might be unavailable.
public TypeReference ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeSyntaxNode ) : System
typeSyntaxNode Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
Résultat System

TypeReference() public méthode

Initializes a new instance of the TypeReference class.
When providing the semantic model, some properites will be devised from that.
public TypeReference ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax typeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
typeSyntaxNode Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
Résultat System