API Browser

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.
GlobalNamespace: INamespaceSymbol No summary available.
IsSubmission: bool Gets whether this compilation represents a script submission.
LoweringTrace: ILoweringTraceSink? 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.
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
AddMacroSyntaxTrees(syntaxTrees: ...SyntaxTree[]) -> Compilation Adds source trees to the compile-time-only local macro partition.
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…
Equals(obj: object?) -> bool Determines whether the specified object is equal to the current object. Inherited from Object.Equals
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.
GetHashCode() -> int Serves as the default hash function. Inherited from Object.GetHashCode
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.
GetMacroInputSnapshot(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> MacroInputSnapshot Gets the compiler-owned token-and-fragment snapshot for a token-tree macro invocation.
GetMacroSignatureHelp(syntaxTree: SyntaxTree, position: int) -> MacroSignatureHelp? Gets macro signature help at a position in a syntax tree within this compilation.
GetMacroTokens(expression: FreestandingMacroExpressionSyntax, cancellationToken?: CancellationToken) -> ImmutableArray<MacroTokenInfo> Gets the token stream and optional classifications for a token-tree macro invocation.
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.
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
GetType(type: Type) -> ITypeSymbol? No summary available.
ToMetadataReference() -> MetadataReference No summary available.
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString