3 overrides of Compilation
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
66
public override CSharpCompilation
Compilation
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
125
public override CSharpCompilation
Compilation
=> _parentSemanticModel.Compilation;
Compilation\SyntaxTreeSemanticModel.cs (1)
64
public override CSharpCompilation
Compilation
16 references to Compilation
Microsoft.CodeAnalysis.CSharp (16)
Compilation\CSharpSemanticModel.cs (15)
24
/// an instance is obtained by a call to <see cref="
Compilation
"/>.<see
37
/// table, (that is, from an <see cref="AssemblySymbol"/> of the <see cref="
Compilation
"/>),
1402
if (this.
Compilation
.ContainsSyntaxTree(syntax.SyntaxTree))
1689
if (extensionMethod.ReduceExtensionMethod(receiverType,
Compilation
) is { } reduced)
2041
Compilation
.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
2401
if (
Compilation
.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter)
3462
symbols = CreateReducedAndFilteredSymbolsFromOriginals(call,
Compilation
);
4295
symbols = CreateReducedAndFilteredSymbolsFromOriginals(call,
Compilation
);
4803
MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type,
Compilation
);
4818
MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type,
Compilation
);
4980
return this.
Compilation
;
5254
if (node.GetInterceptableNameSyntax() is { } nameSyntax &&
Compilation
.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor))
5286
return new InterceptableLocation1(checksum, path,
Compilation
.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed);
5517
=> lazyDefaultState ??= syntaxTree.IsGeneratedCode(
Compilation
.Options.SyntaxTreeOptionsProvider, CancellationToken.None)
5519
:
Compilation
.Options.NullableContextOptions;
Compilation\MemberSemanticModel.cs (1)
70
return _containingPublicSemanticModel.
Compilation
;