Class
Compilation
class Compilation
Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Compilation.Conversions.cs, Compilation.DeclarationAccess.cs, Compilation.DeclaredSymbolState.cs, Compilation.Diagnostics.cs, Compilation.Emit.cs, Compilation.EntryPoint.cs, Compilation.IncrementalState.cs, Compilation.IncrementalStateTransfer.cs, Compilation.LocalMacros.cs, Compilation.NativeSelf.cs, Compilation.RuntimeTypeOf.cs, Compilation.SemanticModel.cs, Compilation.SynthesizedMethodBodies.cs, Compilation.SynthesizedTypes.cs, Compilation.TargetCore.cs, Compilation.TargetInitialization.cs, Compilation.cs
Inheritance: Object → Compilation
Properties
22 items
Assembly: IAssemblySymbol
No summary available.
AssemblyName: string
No summary available.
CoreAssembly: Assembly
No summary available.
ErrorSymbol: ISymbol
No summary available.
ErrorTypeSymbol: ITypeSymbol
No summary available.
GeneratorDiagnostics: ImmutableArray<Diagnostic>
No summary available.
GlobalNamespace: INamespaceSymbol
No summary available.
IsSubmission: bool
Gets whether this compilation represents a script submission.
LoweringTrace: ILoweringTraceSink?
No summary available.
MacroReferences: IEnumerable<MacroReference>
No summary available.
MacroSyntaxTrees: SyntaxTree[]
Gets the syntax trees in the compile-time-only local macro partition.
Module: IModuleSymbol
No summary available.
NullTypeSymbol: ITypeSymbol
No summary available.
Options: CompilationOptions
No summary available.
OverloadResolutionLogger: IOverloadResolutionLogger?
No summary available.
PerformanceInstrumentation: PerformanceInstrumentation
No summary available.
ReferencedAssemblySymbols: IEnumerable<IAssemblySymbol>
No summary available.
References: IEnumerable<MetadataReference>
No summary available.
RuntimeCoreAssembly: Assembly
No summary available.
ScriptCompilationInfo: ScriptCompilationInfo?
Gets information about this compilation's script submission chain, or when this is a regular compilation.
SyntaxTrees: SyntaxTree[]
No summary available.
UnitTypeSymbol: INamedTypeSymbol
No summary available.
Methods
56 items
AddMacroReferences(macroReferences: ...MacroReference[]) -> Compilation
No summary available.
AddMacroSyntaxTrees(syntaxTrees: ...SyntaxTree[]) -> Compilation
Adds source trees to the compile-time-only local macro partition.
AddReferences(references: ...MetadataReference[]) -> Compilation
No summary available.
AddSyntaxTrees(syntaxTrees: ...SyntaxTree[]) -> Compilation
No summary available.
AddSyntaxTreesWithLocalMacros(syntaxTrees: ...SyntaxTree[]) -> Compilation
Adds ordinary source trees and automatically moves direct macro declarations and declarations marked with Raven.CodeAnalysis.Macros.LocalMacroAttribute into the local macro partiti…
ClassifyConversion(source: ITypeSymbol, destination: ITypeSymbol, includeUserDefined?: bool) -> Conversion
No summary available.
ConstructGenericType(genericDefinition: INamedTypeSymbol, typeArgs: ITypeSymbol[]) -> ITypeSymbol
No summary available.
Static member:
Create(assemblyName: string, options?: CompilationOptions?) -> Compilation
No summary available.
Static member:
Create(assemblyName: string, syntaxTrees: SyntaxTree[], options?: CompilationOptions?) -> Compilation
No summary available.
Static member:
Create(assemblyName: string, syntaxTrees: SyntaxTree[], references: MetadataReference[], macroReferences: MacroReference[], options?: CompilationOptions?) -> Compilation
No summary available.
Static member:
Create(assemblyName: string, syntaxTrees: SyntaxTree[], references: MetadataReference[], options?: CompilationOptions?) -> Compilation
No summary available.
CreateArrayTypeSymbol(elementType: ITypeSymbol, rank?: int, fixedLength?: Nullable<int>) -> ITypeSymbol
No summary available.
CreateFunctionTypeSymbol(parameterTypes: ITypeSymbol[], returnType: ITypeSymbol) -> ITypeSymbol
No summary available.
CreatePointerTypeSymbol(pointedAtType: ITypeSymbol) -> ITypeSymbol
No summary available.
Static member:
CreateScriptCompilation(assemblyName: string, syntaxTree: SyntaxTree, references?: MetadataReference[]?, options?: CompilationOptions?, previousScriptCompilation?: Compilation?, previousScriptCompilationReference?: MetadataReference?) -> Compilation
Creates a compilation for one script or interactive submission.
CreateTupleTypeSymbol(elements: IEnumerable<(string?, ITypeSymbol)>) -> ITypeSymbol
No summary available.
Emit(peStream: Stream, pdbStream?: Stream?) -> EmitResult
No summary available.
Emit(peStream: Stream, pdbStream: Stream?, emitOptions: EmitOptions) -> EmitResult
No summary available.
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetAssemblyOrModuleSymbol(metadataReference: MetadataReference) -> ISymbol?
No summary available.
GetCompletions(syntaxTree: SyntaxTree, position: int) -> IEnumerable<CompletionItem>
Gets completion items available at a position in a syntax tree within this compilation.
GetCompletionsAsync(syntaxTree: SyntaxTree, position: int, cancellationToken?: CancellationToken) -> Task<ImmutableArray<CompletionItem>>
Gets completion items available at a position in a syntax tree within this compilation asynchronously.
GetDiagnostics(analyzerOptions?: CompilationWithAnalyzersOptions?, cancellationToken?: CancellationToken) -> ImmutableArray<Diagnostic>
No summary available.
GetDiagnostics(syntaxTree: SyntaxTree, analyzerOptions?: CompilationWithAnalyzersOptions?, cancellationToken?: CancellationToken) -> ImmutableArray<Diagnostic>
No summary available.
GetEntryPoint(cancellationToken?: CancellationToken) -> IMethodSymbol?
No summary available.
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetMacroEmbeddedLanguageProjection(declaration: FreestandingMacroDeclarationSyntax, cancellationToken?: CancellationToken) -> MacroEmbeddedLanguageProjection?
No summary available.
GetMacroEmbeddedLanguageProjection(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> MacroEmbeddedLanguageProjection?
Gets a position-preserving embedded-language projection for a token-tree macro invocation.
GetMacroEmbeddedLanguageProjection(member: FreestandingMacroMemberDeclarationSyntax, cancellationToken?: CancellationToken) -> MacroEmbeddedLanguageProjection?
No summary available.
GetMacroEmbeddedLanguageProjection(syntaxTree: SyntaxTree, position: int, cancellationToken?: CancellationToken) -> MacroEmbeddedLanguageProjection?
Gets the embedded-language projection that owns a position in a syntax tree.
GetMacroFragmentRegions(declaration: FreestandingMacroDeclarationSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroFragmentRegion>
No summary available.
GetMacroFragmentRegions(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroFragmentRegion>
Gets ordinary Raven fragment regions reported for a token-tree macro invocation.
GetMacroFragmentRegions(member: FreestandingMacroMemberDeclarationSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroFragmentRegion>
No summary available.
GetMacroFragmentSemanticInfo(declaration: FreestandingMacroDeclarationSyntax, position: int, cancellationToken?: CancellationToken) -> MacroFragmentSemanticInfo?
No summary available.
GetMacroFragmentSemanticInfo(expression: FreestandingMacroExpressionSyntax, position: int, cancellationToken?: CancellationToken) -> MacroFragmentSemanticInfo?
Gets ordinary Raven semantic information at an authored position inside a fragment reported by a token-tree macro.
GetMacroFragmentSemanticInfo(member: FreestandingMacroMemberDeclarationSyntax, position: int, cancellationToken?: CancellationToken) -> MacroFragmentSemanticInfo?
No summary available.
GetMacroInputSnapshot(declaration: FreestandingMacroDeclarationSyntax, cancellationToken?: CancellationToken) -> MacroInputSnapshot
No summary available.
GetMacroInputSnapshot(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> MacroInputSnapshot
Gets the compiler-owned token-and-fragment snapshot for a token-tree macro invocation.
GetMacroInputSnapshot(member: FreestandingMacroMemberDeclarationSyntax, cancellationToken?: CancellationToken) -> MacroInputSnapshot
No summary available.
GetMacroSignatureHelp(syntaxTree: SyntaxTree, position: int) -> MacroSignatureHelp?
Gets macro signature help at a position in a syntax tree within this compilation.
GetMacroTokens(declaration: FreestandingMacroDeclarationSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroTokenInfo>
No summary available.
GetMacroTokens(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroTokenInfo>
Gets the token stream and optional classifications for a token-tree macro invocation.
GetMacroTokens(member: FreestandingMacroMemberDeclarationSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroTokenInfo>
No summary available.
Extension member:
GetNamespaceSymbol(ns: string?) -> INamespaceSymbol?
No summary available.
Extension from CompilationExtensions.GetNamespaceSymbol
GetSemanticModel(syntaxTree: SyntaxTree, position: int) -> SemanticModel
Gets the semantic model that owns an authored position, including when syntaxTree was split into local macro and consumer projections.
GetSemanticModel(syntaxTree: SyntaxTree) -> SemanticModel
No summary available.
GetSourceGlobalNamespace() -> INamespaceSymbol
No summary available.
GetSpecialType(specialType: SpecialType) -> INamedTypeSymbol
No summary available.
GetSyntaxDiagnostics(syntaxTree: SyntaxTree, analyzerOptions?: CompilationWithAnalyzersOptions?, cancellationToken?: CancellationToken) -> ImmutableArray<Diagnostic>
No summary available.
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
GetType(type: Type) -> ITypeSymbol?
No summary available.
GetTypeByMetadataName(metadataName: string) -> INamedTypeSymbol?
No summary available.
ResolvePredefinedType(predefinedType: PredefinedTypeSyntax) -> ITypeSymbol
No summary available.
ToMetadataReference() -> MetadataReference
No summary available.
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString
WithAssemblyName(assemblyName: string?) -> Compilation
No summary available.