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

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

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

Метод Описание
BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode ) : System

Initializes a new instance of the BaseTypeReference class.

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

BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft kind ) : System

Initializes a new instance of the TypeReference class.

Type kind will be stored statically.

BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System

Initializes a new instance of the BaseTypeReference class.

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

BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft kind ) : System

Initializes a new instance of the TypeReference class.

Type kind will be stored statically.

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

Метод Описание
GetTypeSymbolFullName ( BaseTypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : string

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

TryGetTypeSymbolFullName ( BaseTypeSyntax node, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : string

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

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

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

Initializes a new instance of the BaseTypeReference class.
This is a minimal constructor, some properties might be unavailable.
public BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode ) : System
baseTypeSyntaxNode BaseTypeSyntax
Результат System

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

Initializes a new instance of the TypeReference class.
Type kind will be stored statically.
public BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft kind ) : System
baseTypeSyntaxNode BaseTypeSyntax
kind Microsoft
Результат System

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

Initializes a new instance of the BaseTypeReference class.
When providing the semantic model, some properites will be devised from that.
public BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
baseTypeSyntaxNode BaseTypeSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
Результат System

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

Initializes a new instance of the TypeReference class.
Type kind will be stored statically.
public BaseTypeReference ( BaseTypeSyntax baseTypeSyntaxNode, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft kind ) : System
baseTypeSyntaxNode BaseTypeSyntax
semanticModel Microsoft.CodeAnalysis.SemanticModel
kind Microsoft
Результат System