API Browser

Interface

ITypeSymbol

interface ITypeSymbol

Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: ISymbol.cs

Inherits: IEquatable<ISymbol>, INamespaceOrTypeSymbol, ISymbol

Derived interfaces

Documented types in this API reference. Indirect relationships are marked.

Show 4 moreShow less

Properties

32 items
AllInterfaces: ImmutableArray<INamedTypeSymbol> No summary available. Defined by ITypeSymbol.AllInterfaces · Required implementation (no default).
BaseType: INamedTypeSymbol? No summary available. Defined by ITypeSymbol.BaseType · Required implementation (no default).
CanBeReferencedByName: bool No summary available. Inherited from ISymbol.CanBeReferencedByName · Defined by ISymbol.CanBeReferencedByName · Default implementation provided.
ContainingAssembly: IAssemblySymbol? Gets the assembly that contains this symbol, or null if the symbol is not contained in an assembly. Inherited from ISymbol.ContainingAssembly · Defined by ISymbol.ContainingAssembly · Required implementation (no default).
ContainingModule: IModuleSymbol? Gets the module that contains this symbol, or null if the symbol is not contained in a module. Inherited from ISymbol.ContainingModule · Defined by ISymbol.ContainingModule · Required implementation (no default).
ContainingNamespace: INamespaceSymbol? Gets the namespace that contains this symbol, or null if the symbol is not contained in a namespace. Inherited from ISymbol.ContainingNamespace · Defined by ISymbol.ContainingNamespace · Required implementation (no default).
ContainingSymbol: ISymbol? Gets the symbol that contains this symbol. May be null for root symbols. Inherited from ISymbol.ContainingSymbol · Defined by ISymbol.ContainingSymbol · Required implementation (no default).
ContainingType: INamedTypeSymbol? Gets the named type that contains this symbol, or null if the symbol is not contained in a type. Inherited from ISymbol.ContainingType · Defined by ISymbol.ContainingType · Required implementation (no default).
DeclaredAccessibility: Accessibility Gets the declared accessibility (e.g., public, internal, private) of this symbol. Inherited from ISymbol.DeclaredAccessibility · Defined by ISymbol.DeclaredAccessibility · Required implementation (no default).
DeclaringSyntaxReferences: ImmutableArray<SyntaxReference> Gets the syntax references used to declare this symbol. Inherited from ISymbol.DeclaringSyntaxReferences · Defined by ISymbol.DeclaringSyntaxReferences · Required implementation (no default).
Interfaces: ImmutableArray<INamedTypeSymbol> No summary available. Defined by ITypeSymbol.Interfaces · Required implementation (no default).
IsAlias: bool Gets a value indicating whether this symbol is an alias. Inherited from ISymbol.IsAlias · Defined by ISymbol.IsAlias · Required implementation (no default).
IsImplicitlyDeclared: bool Gets a value indicating whether the symbol was implicitly declared by the compiler. Inherited from ISymbol.IsImplicitlyDeclared · Defined by ISymbol.IsImplicitlyDeclared · Required implementation (no default).
IsInterface: bool No summary available. Defined by ITypeSymbol.IsInterface · Default implementation provided.
IsNamespace: bool No summary available. Inherited from INamespaceOrTypeSymbol.IsNamespace · Defined by INamespaceOrTypeSymbol.IsNamespace · Required implementation (no default).
IsNullable: bool No summary available. Defined by ITypeSymbol.IsNullable · Default implementation provided.
IsReferenceType: bool No summary available. Defined by ITypeSymbol.IsReferenceType · Default implementation provided.
IsStatic: bool Gets a value indicating whether the symbol is static. Inherited from ISymbol.IsStatic · Defined by ISymbol.IsStatic · Required implementation (no default).
IsTupleType: bool No summary available. Defined by ITypeSymbol.IsTupleType · Default implementation provided.
IsType: bool No summary available. Inherited from INamespaceOrTypeSymbol.IsType · Defined by INamespaceOrTypeSymbol.IsType · Required implementation (no default).
IsUnion: bool No summary available. Defined by ITypeSymbol.IsUnion · Default implementation provided.
IsUnionCase: bool No summary available. Defined by ITypeSymbol.IsUnionCase · Default implementation provided.
IsValueType: bool No summary available. Defined by ITypeSymbol.IsValueType · Default implementation provided.
Kind: SymbolKind Gets the kind of symbol (e.g., namespace, type, method). Inherited from ISymbol.Kind · Defined by ISymbol.Kind · Required implementation (no default).
Locations: ImmutableArray<Location> Gets the source or metadata locations associated with this symbol. Inherited from ISymbol.Locations · Defined by ISymbol.Locations · Required implementation (no default).
MetadataName: string Gets the name used in metadata to identify the symbol. Inherited from ISymbol.MetadataName · Defined by ISymbol.MetadataName · Required implementation (no default).
Name: string Gets the name of the symbol. Inherited from ISymbol.Name · Defined by ISymbol.Name · Required implementation (no default).
OriginalDefinition: ITypeSymbol? No summary available. Defined by ITypeSymbol.OriginalDefinition · Required implementation (no default).
SpecialType: SpecialType No summary available. Defined by ITypeSymbol.SpecialType · Required implementation (no default).
TypeKind: TypeKind No summary available. Defined by ITypeSymbol.TypeKind · Required implementation (no default).
UnderlyingSymbol: ISymbol Gets the symbol that this symbol ultimately represents. For non-alias symbols, this returns this. Inherited from ISymbol.UnderlyingSymbol · Defined by ISymbol.UnderlyingSymbol · Required implementation (no default).
UnderlyingUnionType: INamedTypeSymbol? No summary available. Defined by ITypeSymbol.UnderlyingUnionType · Default implementation provided.

Methods

44 items
Accept(visitor: SymbolVisitor) -> () Accepts a symbol visitor to perform an operation on this symbol. Inherited from ISymbol.Accept · Defined by ISymbol.Accept · Required implementation (no default).
Accept<TResult>(visitor: SymbolVisitor<TResult>) -> TResult Accepts a symbol visitor to perform an operation on this symbol and returns a result. Inherited from ISymbol.Accept · Defined by ISymbol.Accept · Required implementation (no default).
Extension member: ContainsErrorType() -> bool No summary available. Extension from SymbolExtensions.ContainsErrorType
Equals(other: ISymbol?, comparer: SymbolEqualityComparer) -> bool Determines whether this symbol is equal to another symbol using the specified symbol equality comparer. Inherited from ISymbol.Equals · Defined by ISymbol.Equals · Required implementation (no default).
Equals(other: ISymbol) -> bool Indicates whether the current object is equal to another object of the same type. Inherited from IEquatable<ISymbol>.Equals · Defined by IEquatable<ISymbol>.Equals · Required implementation (no default).
Extension member: GetAbsoluteBaseType() -> INamedTypeSymbol? No summary available. Extension from SymbolExtensions.GetAbsoluteBaseType
GetAttributes() -> ImmutableArray<AttributeData> Gets the attributes applied to this symbol. Inherited from ISymbol.GetAttributes · Defined by ISymbol.GetAttributes · Required implementation (no default).
GetDocumentationComment() -> DocumentationComment? Gets the documentation comment associated with this symbol, if any. Inherited from ISymbol.GetDocumentationComment · Defined by ISymbol.GetDocumentationComment · Default implementation provided.
Extension member: GetElementType() -> ITypeSymbol? No summary available. Extension from TypeSymbolExtensions2.GetElementType
Extension member: GetExtensionReceiverType() -> ITypeSymbol? No summary available. Extension from SymbolExtensions.GetExtensionReceiverType
GetMembers() -> ImmutableArray<ISymbol> No summary available. Inherited from INamespaceOrTypeSymbol.GetMembers · Defined by INamespaceOrTypeSymbol.GetMembers · Required implementation (no default).
GetMembers(name: string) -> ImmutableArray<ISymbol> No summary available. Inherited from INamespaceOrTypeSymbol.GetMembers · Defined by INamespaceOrTypeSymbol.GetMembers · Required implementation (no default).
Extension member: GetNonNullableType() -> ITypeSymbol Returns the type without Raven's nullable decoration. A type that is not nullable is returned unchanged. Extension from TypeSymbolNullabilityExtensions.GetNonNullableType
Extension member: GetNullableAbiProjection() -> NullableAbiProjection Returns the CLR ABI projection selected for a Raven nullable type. The result is Raven.CodeAnalysis.NullableAbiProjection.None when the type is not nullable. Extension from TypeSymbolNullabilityExtensions.GetNullableAbiProjection
Extension member: GetNullableType() -> ITypeSymbol Returns the nullable form of the type. A type that is already nullable is returned unchanged. Extension from TypeSymbolNullabilityExtensions.GetNullableType
Extension member: GetNullableUnderlyingType() -> ITypeSymbol? No summary available. Extension from SymbolExtensions.GetNullableUnderlyingType
GetTypeMembers() -> ImmutableArray<INamedTypeSymbol> No summary available. Inherited from INamespaceOrTypeSymbol.GetTypeMembers · Defined by INamespaceOrTypeSymbol.GetTypeMembers · Default implementation provided.
GetTypeMembers(name: string) -> ImmutableArray<INamedTypeSymbol> No summary available. Inherited from INamespaceOrTypeSymbol.GetTypeMembers · Defined by INamespaceOrTypeSymbol.GetTypeMembers · Default implementation provided.
IsMemberDefined(name: string, symbol: out ISymbol?) -> bool No summary available. Inherited from INamespaceOrTypeSymbol.IsMemberDefined · Defined by INamespaceOrTypeSymbol.IsMemberDefined · Required implementation (no default).
LookupType(name: string) -> ITypeSymbol? No summary available. Inherited from INamespaceOrTypeSymbol.LookupType · Defined by INamespaceOrTypeSymbol.LookupType · Required implementation (no default).
Extension member: MayBeRefLike() -> bool No summary available. Extension from SemanticFacts.MayBeRefLike
Extension member: MetadataIdentityEquals(right: ITypeSymbol?) -> bool No summary available. Extension from SymbolExtensions.MetadataIdentityEquals
Extension member: ResolveMembers(name: string) -> IEnumerable<ISymbol> No summary available. Extension from SymbolExtensions.ResolveMembers
Extension member: SatisfiesConstructorConstraint() -> bool No summary available. Extension from SemanticFacts.SatisfiesConstructorConstraint
Extension member: SatisfiesNotNullConstraint() -> bool No summary available. Extension from SemanticFacts.SatisfiesNotNullConstraint
Extension member: SatisfiesReferenceTypeConstraint() -> bool No summary available. Extension from SemanticFacts.SatisfiesReferenceTypeConstraint
Extension member: SatisfiesValueTypeConstraint() -> bool No summary available. Extension from SemanticFacts.SatisfiesValueTypeConstraint
Extension member: ToDisplayString(format?: SymbolDisplayFormat?) -> string No summary available. Extension from SymbolExtensions.ToDisplayString
Extension member: ToDisplayStringKeywordAware(format: SymbolDisplayFormat) -> string Legacy name: now just delegates to the central type formatter. Extension from SymbolExtensions.ToDisplayStringKeywordAware
ToFullyQualifiedMetadataName() -> string No summary available. Defined by ITypeSymbol.ToFullyQualifiedMetadataName · Default implementation provided.
Extension member: TryGetNullableUnderlyingType(underlyingType: out ITypeSymbol?) -> bool Attempts to obtain the type wrapped by Raven's nullable decoration. Extension from TypeSymbolNullabilityExtensions.TryGetNullableUnderlyingType
Extension member: UnwrapLiteralType() -> ITypeSymbol? No summary available. Extension from SymbolExtensions.UnwrapLiteralType
Extension member: UnwrapType() -> ITypeSymbol? Unwraps the actual type of a property symbol or local symbol. If the symbol is a type symbol, then return it, otherwise null. Extension from SymbolExtensions.UnwrapType