3 overrides of Compilation
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
65public override CSharpCompilation Compilation
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
125public override CSharpCompilation Compilation => _parentSemanticModel.Compilation;
Compilation\SyntaxTreeSemanticModel.cs (1)
64public 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"/>), 1386if (this.Compilation.ContainsSyntaxTree(syntax.SyntaxTree)) 1670var reduced = extensionMethod.ReduceExtensionMethod(containingType, Compilation); 2027Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo)); 2390if (Compilation.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter) 3449symbols = StaticCast<Symbol>.From(CreateReducedExtensionMethodsFromOriginalsIfNecessary(call, Compilation)); 4277symbols = StaticCast<Symbol>.From(CreateReducedExtensionMethodsFromOriginalsIfNecessary(call, Compilation)); 4793MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type, Compilation); 4808MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type, Compilation); 4928return this.Compilation; 5200if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor)) 5232return 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)
69return _containingPublicSemanticModel.Compilation;