3 overrides of Compilation
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
65
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)
23
/// an instance is obtained by a call to <see cref="
Compilation
"/>.<see
36
/// table, (that is, from an <see cref="AssemblySymbol"/> of the <see cref="
Compilation
"/>),
1386
if (this.
Compilation
.ContainsSyntaxTree(syntax.SyntaxTree))
1670
var reduced = extensionMethod.ReduceExtensionMethod(containingType,
Compilation
);
2027
Compilation
.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo));
2390
if (
Compilation
.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter)
3449
symbols = StaticCast<Symbol>.From(CreateReducedExtensionMethodsFromOriginalsIfNecessary(call,
Compilation
));
4277
symbols = StaticCast<Symbol>.From(CreateReducedExtensionMethodsFromOriginalsIfNecessary(call,
Compilation
));
4793
MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type,
Compilation
);
4808
MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type,
Compilation
);
4928
return this.
Compilation
;
5200
if (node.GetInterceptableNameSyntax() is { } nameSyntax &&
Compilation
.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor))
5232
return new InterceptableLocation1(checksum, path,
Compilation
.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed);
5463
=> lazyDefaultState ??= syntaxTree.IsGeneratedCode(
Compilation
.Options.SyntaxTreeOptionsProvider, CancellationToken.None)
5465
:
Compilation
.Options.NullableContextOptions;
Compilation\MemberSemanticModel.cs (1)
69
return _containingPublicSemanticModel.
Compilation
;