Search Results for

    Show / Hide Table of Contents

    Interface ITypeSymbol

    Inherited Members
    INamespaceOrTypeSymbol.GetMembers()
    INamespaceOrTypeSymbol.GetMembers(string)
    INamespaceOrTypeSymbol.GetTypeMembers()
    INamespaceOrTypeSymbol.GetTypeMembers(string)
    INamespaceOrTypeSymbol.GetTypeMembers(string, int)
    INamespaceOrTypeSymbol.IsNamespace
    INamespaceOrTypeSymbol.IsType
    ISymbol.GetAttributes()
    ISymbol.Accept(SymbolVisitor)
    ISymbol.Accept<TResult>(SymbolVisitor<TResult>)
    ISymbol.Accept<TArgument, TResult>(SymbolVisitor<TArgument, TResult>, TArgument)
    ISymbol.GetDocumentationCommentId()
    ISymbol.GetDocumentationCommentXml(CultureInfo, bool, CancellationToken)
    ISymbol.ToDisplayString(SymbolDisplayFormat)
    ISymbol.ToDisplayParts(SymbolDisplayFormat)
    ISymbol.ToMinimalDisplayString(SemanticModel, int, SymbolDisplayFormat)
    ISymbol.ToMinimalDisplayParts(SemanticModel, int, SymbolDisplayFormat)
    ISymbol.Equals(ISymbol, SymbolEqualityComparer)
    ISymbol.Kind
    ISymbol.Language
    ISymbol.Name
    ISymbol.MetadataName
    ISymbol.MetadataToken
    ISymbol.ContainingSymbol
    ISymbol.ContainingAssembly
    ISymbol.ContainingModule
    ISymbol.ContainingType
    ISymbol.ContainingNamespace
    ISymbol.IsDefinition
    ISymbol.IsStatic
    ISymbol.IsVirtual
    ISymbol.IsOverride
    ISymbol.IsAbstract
    ISymbol.IsSealed
    ISymbol.IsExtern
    ISymbol.IsImplicitlyDeclared
    ISymbol.CanBeReferencedByName
    ISymbol.Locations
    ISymbol.DeclaringSyntaxReferences
    ISymbol.DeclaredAccessibility
    ISymbol.HasUnsupportedMetadata
    IEquatable<ISymbol>.Equals(ISymbol)
    Namespace: Microsoft.CodeAnalysis
    Assembly: Microsoft.CodeAnalysis.dll
    Syntax
    public interface ITypeSymbol : INamespaceOrTypeSymbol, ISymbol, IEquatable<ISymbol?>

    Properties

    AllInterfaces

    Declaration
    ImmutableArray<INamedTypeSymbol> AllInterfaces { get; }
    Property Value
    Type Description
    ImmutableArray<INamedTypeSymbol>

    BaseType

    Declaration
    INamedTypeSymbol? BaseType { get; }
    Property Value
    Type Description
    INamedTypeSymbol

    Interfaces

    Declaration
    ImmutableArray<INamedTypeSymbol> Interfaces { get; }
    Property Value
    Type Description
    ImmutableArray<INamedTypeSymbol>

    IsAnonymousType

    Declaration
    bool IsAnonymousType { get; }
    Property Value
    Type Description
    bool

    IsNativeIntegerType

    Declaration
    bool IsNativeIntegerType { get; }
    Property Value
    Type Description
    bool

    IsReadOnly

    Declaration
    bool IsReadOnly { get; }
    Property Value
    Type Description
    bool

    IsRecord

    Declaration
    bool IsRecord { get; }
    Property Value
    Type Description
    bool

    IsRefLikeType

    Declaration
    bool IsRefLikeType { get; }
    Property Value
    Type Description
    bool

    IsReferenceType

    Declaration
    bool IsReferenceType { get; }
    Property Value
    Type Description
    bool

    IsTupleType

    Declaration
    bool IsTupleType { get; }
    Property Value
    Type Description
    bool

    IsUnmanagedType

    Declaration
    bool IsUnmanagedType { get; }
    Property Value
    Type Description
    bool

    IsValueType

    Declaration
    bool IsValueType { get; }
    Property Value
    Type Description
    bool

    NullableAnnotation

    Declaration
    NullableAnnotation NullableAnnotation { get; }
    Property Value
    Type Description
    NullableAnnotation

    OriginalDefinition

    Declaration
    ITypeSymbol OriginalDefinition { get; }
    Property Value
    Type Description
    ITypeSymbol

    SpecialType

    Declaration
    SpecialType SpecialType { get; }
    Property Value
    Type Description
    SpecialType

    TypeKind

    Declaration
    TypeKind TypeKind { get; }
    Property Value
    Type Description
    TypeKind

    Methods

    FindImplementationForInterfaceMember(ISymbol)

    Declaration
    ISymbol? FindImplementationForInterfaceMember(ISymbol interfaceMember)
    Parameters
    Type Name Description
    ISymbol interfaceMember
    Returns
    Type Description
    ISymbol

    ToDisplayParts(NullableFlowState, SymbolDisplayFormat?)

    Declaration
    ImmutableArray<SymbolDisplayPart> ToDisplayParts(NullableFlowState topLevelNullability, SymbolDisplayFormat? format = null)
    Parameters
    Type Name Description
    NullableFlowState topLevelNullability
    SymbolDisplayFormat format
    Returns
    Type Description
    ImmutableArray<SymbolDisplayPart>

    ToDisplayString(NullableFlowState, SymbolDisplayFormat?)

    Declaration
    string ToDisplayString(NullableFlowState topLevelNullability, SymbolDisplayFormat? format = null)
    Parameters
    Type Name Description
    NullableFlowState topLevelNullability
    SymbolDisplayFormat format
    Returns
    Type Description
    string

    ToMinimalDisplayParts(SemanticModel, NullableFlowState, int, SymbolDisplayFormat?)

    Declaration
    ImmutableArray<SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat? format = null)
    Parameters
    Type Name Description
    SemanticModel semanticModel
    NullableFlowState topLevelNullability
    int position
    SymbolDisplayFormat format
    Returns
    Type Description
    ImmutableArray<SymbolDisplayPart>

    ToMinimalDisplayString(SemanticModel, NullableFlowState, int, SymbolDisplayFormat?)

    Declaration
    string ToMinimalDisplayString(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat? format = null)
    Parameters
    Type Name Description
    SemanticModel semanticModel
    NullableFlowState topLevelNullability
    int position
    SymbolDisplayFormat format
    Returns
    Type Description
    string

    WithNullableAnnotation(NullableAnnotation)

    Declaration
    ITypeSymbol WithNullableAnnotation(NullableAnnotation nullableAnnotation)
    Parameters
    Type Name Description
    NullableAnnotation nullableAnnotation
    Returns
    Type Description
    ITypeSymbol
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0