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)
46
var list = new List<
OptionsContextType
>();
47
foreach (
var
type in Parser.GetContextualOptionTypes(typeDeclarations))
Emitter.cs (3)
16
public string Emit(IEnumerable<
OptionsContextType
> list)
18
foreach (
var
optionsContextType in list)
30
private static FormattableString FormatClass(
OptionsContextType
optionsContextType) =>
Parser.cs (9)
16
public static IEnumerable<
OptionsContextType
> GetContextualOptionTypes(Dictionary<INamedTypeSymbol, List<TypeDeclarationSyntax>> types) =>
24
private static
OptionsContextType
CheckInstantiable(
OptionsContextType
type)
38
private static
OptionsContextType
CheckRefLikeType(
OptionsContextType
type)
52
private static
OptionsContextType
CheckPartial(
OptionsContextType
type)
63
private static
OptionsContextType
CheckHasProperties(
OptionsContextType
type)