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)) 1670if (extensionMethod.ReduceExtensionMethod(receiverType, Compilation) is { } reduced) 2035Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo)); 2398if (Compilation.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter) 3458symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4286symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4794MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type, Compilation); 4809MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type, Compilation); 4929return this.Compilation; 5201if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor)) 5233return new InterceptableLocation1(checksum, path, Compilation.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed); 5464=> lazyDefaultState ??= syntaxTree.IsGeneratedCode(Compilation.Options.SyntaxTreeOptionsProvider, CancellationToken.None) 5466: Compilation.Options.NullableContextOptions;
Compilation\MemberSemanticModel.cs (1)
69return _containingPublicSemanticModel.Compilation;