C# Класс Rosetta.AST.Helpers.TypeReference

Helper for accessing type references in AST.
Наследование: Helper
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

TypeReference() публичный Метод

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
Результат System

TypeReference() публичный Метод

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
Результат System