1 write to IsLangVersion11AndAbove
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
18IsLangVersion11AndAbove = ((CSharpCompilation)compilation).LanguageVersion >= Microsoft.CodeAnalysis.CSharp.LanguageVersion.CSharp11;
3 references to IsLangVersion11AndAbove
Microsoft.Extensions.Options.SourceGeneration (3)
Emitter.cs (1)
44if (!_optionsSourceGenContext.IsLangVersion11AndAbove)
OptionsSourceGenContext.cs (2)
19ClassModifier = IsLangVersion11AndAbove ? "file" : "internal"; 20Suffix = IsLangVersion11AndAbove ? "" : $"_{GetNonRandomizedHashCode(compilation.SourceModule.Name):X8}";