Interface ITypeSymbol
Assembly: Microsoft.CodeAnalysis.dll
Syntax
public interface ITypeSymbol : INamespaceOrTypeSymbol, ISymbol, IEquatable<ISymbol?>
Properties
AllInterfaces
Declaration
ImmutableArray<INamedTypeSymbol> AllInterfaces { get; }
Property Value
BaseType
Declaration
INamedTypeSymbol? BaseType { get; }
Property Value
Interfaces
Declaration
ImmutableArray<INamedTypeSymbol> Interfaces { get; }
Property Value
IsAnonymousType
Declaration
bool IsAnonymousType { get; }
Property Value
IsNativeIntegerType
Declaration
bool IsNativeIntegerType { get; }
Property Value
IsReadOnly
Declaration
Property Value
IsRecord
Declaration
Property Value
IsRefLikeType
Declaration
bool IsRefLikeType { get; }
Property Value
IsReferenceType
Declaration
bool IsReferenceType { get; }
Property Value
IsTupleType
Declaration
bool IsTupleType { get; }
Property Value
IsUnmanagedType
Declaration
bool IsUnmanagedType { get; }
Property Value
IsValueType
Declaration
bool IsValueType { get; }
Property Value
NullableAnnotation
Declaration
NullableAnnotation NullableAnnotation { get; }
Property Value
OriginalDefinition
Declaration
ITypeSymbol OriginalDefinition { get; }
Property Value
SpecialType
Declaration
SpecialType SpecialType { get; }
Property Value
TypeKind
Declaration
TypeKind TypeKind { get; }
Property Value
Methods
FindImplementationForInterfaceMember(ISymbol)
Declaration
ISymbol? FindImplementationForInterfaceMember(ISymbol interfaceMember)
Parameters
| Type |
Name |
Description |
| ISymbol |
interfaceMember |
|
Returns
Declaration
ImmutableArray<SymbolDisplayPart> ToDisplayParts(NullableFlowState topLevelNullability, SymbolDisplayFormat? format = null)
Parameters
Returns
Declaration
string ToDisplayString(NullableFlowState topLevelNullability, SymbolDisplayFormat? format = null)
Parameters
Returns
Declaration
ImmutableArray<SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat? format = null)
Parameters
Returns
Declaration
string ToMinimalDisplayString(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat? format = null)
Parameters
Returns
WithNullableAnnotation(NullableAnnotation)
Declaration
ITypeSymbol WithNullableAnnotation(NullableAnnotation nullableAnnotation)
Parameters
Returns