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"/>), 1388if (this.Compilation.ContainsSyntaxTree(syntax.SyntaxTree)) 1672if (extensionMethod.ReduceExtensionMethod(receiverType, Compilation) is { } reduced) 2037Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo)); 2400if (Compilation.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter) 3460symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4288symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4796MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type, Compilation); 4811MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type, Compilation); 4931return this.Compilation; 5203if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor)) 5235return new InterceptableLocation1(checksum, path, Compilation.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed); 5466=> lazyDefaultState ??= syntaxTree.IsGeneratedCode(Compilation.Options.SyntaxTreeOptionsProvider, CancellationToken.None) 5468: Compilation.Options.NullableContextOptions;
Compilation\MemberSemanticModel.cs (1)
69return _containingPublicSemanticModel.Compilation;