1 write to _compilation
Microsoft.Extensions.Options.SourceGeneration (1)
Parser.cs (1)
39
_compilation
= compilation;
6 references to _compilation
Microsoft.Extensions.Options.SourceGeneration (6)
Parser.cs (6)
101
Location lowerLocationInCompilation = modelTypeLocation is not null && modelTypeLocation.SourceTree is not null &&
_compilation
.ContainsSyntaxTree(modelTypeLocation.SourceTree)
151
if (results.Count > 0 &&
_compilation
is CSharpCompilation { LanguageVersion : LanguageVersion version and < LanguageVersion.CSharp8 })
257
if (SymbolEqualityComparer.Default.Equals(implementingInterface.OriginalDefinition,
_compilation
.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerable_T)))
296
Location location = memberLocation is not null && memberLocation.SourceTree is not null &&
_compilation
.ContainsSyntaxTree(memberLocation.SourceTree)
473
if (!
_compilation
.IsSymbolAccessibleWithin(attributeType, validatorType))
730
var conversion =
_compilation
.ClassifyConversion(source, dest);