1 instantiation of OptionsSourceGenContext
Microsoft.Extensions.Options.SourceGeneration (1)
Generator.cs (1)
46OptionsSourceGenContext optionsSourceGenContext = new(compilation);
7 references to OptionsSourceGenContext
Microsoft.Extensions.Options.SourceGeneration (7)
Emitter.cs (2)
35private readonly OptionsSourceGenContext _optionsSourceGenContext; 40public Emitter(Compilation compilation, SymbolHolder symbolHolder, OptionsSourceGenContext optionsSourceGenContext, bool emitPreamble = true) : base(emitPreamble)
Generator.cs (1)
46OptionsSourceGenContext optionsSourceGenContext = new(compilation);
Parser.cs (4)
28private readonly OptionsSourceGenContext _optionsSourceGenContext; 36OptionsSourceGenContext optionsSourceGenContext, 644if (OptionsSourceGenContext.IsConvertibleBasicType(typeSymbol)) 664if (OptionsSourceGenContext.IsConvertibleBasicType(namedTypeSymbol) && typeSymbol.SpecialType == namedTypeSymbol.SpecialType)