1 instantiation of OptionsContextType
Microsoft.Gen.ContextualOptions (1)
Parser.cs (1)
18.Select(type => new OptionsContextType(type.Key, type.Value.ToImmutableArray(), GetContextProperties(type.Key)))
14 references to OptionsContextType
Microsoft.Gen.ContextualOptions (14)
ContextualOptionsGenerator.cs (2)
46var list = new List<OptionsContextType>(); 47foreach (var type in Parser.GetContextualOptionTypes(typeDeclarations))
Emitter.cs (3)
16public string Emit(IEnumerable<OptionsContextType> list) 18foreach (var optionsContextType in list) 30private static FormattableString FormatClass(OptionsContextType optionsContextType) =>
Parser.cs (9)
16public static IEnumerable<OptionsContextType> GetContextualOptionTypes(Dictionary<INamedTypeSymbol, List<TypeDeclarationSyntax>> types) => 24private static OptionsContextType CheckInstantiable(OptionsContextType type) 38private static OptionsContextType CheckRefLikeType(OptionsContextType type) 52private static OptionsContextType CheckPartial(OptionsContextType type) 63private static OptionsContextType CheckHasProperties(OptionsContextType type)