3 overrides of Compilation
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
66public 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)
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"/>), 1389if (this.Compilation.ContainsSyntaxTree(syntax.SyntaxTree)) 1676if (extensionMethod.ReduceExtensionMethod(receiverType, Compilation) is { } reduced) 2028Compilation.Conversions.ClassifyBuiltInConversion(pattern.InputType, pattern.NarrowedType, isChecked: false, ref discardedUseSiteInfo)); 2388if (Compilation.TestOnlyCompilationData is MemberSemanticModel.MemberSemanticBindingCounter counter) 3449symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4282symbols = CreateReducedAndFilteredSymbolsFromOriginals(call, Compilation); 4790MethodSymbol reduced = method.ReduceExtensionMethod(receiver.Type, Compilation); 4805MethodSymbol reduced = method.ReduceExtensionMethod(receiverOpt.Type, Compilation); 4967return this.Compilation; 5239if (node.GetInterceptableNameSyntax() is { } nameSyntax && Compilation.TryGetInterceptor(nameSyntax) is (_, MethodSymbol interceptor)) 5271return new InterceptableLocation1(checksum, path, Compilation.Options.SourceReferenceResolver, nameSyntax.Position, lineNumberOneIndexed, characterNumberOneIndexed); 5502=> lazyDefaultState ??= syntaxTree.IsGeneratedCode(Compilation.Options.SyntaxTreeOptionsProvider, CancellationToken.None) 5504: Compilation.Options.NullableContextOptions;
Compilation\MemberSemanticModel.cs (1)
70return _containingPublicSemanticModel.Compilation;