12 references to WellKnownType
Aspire.Hosting.Analyzers (12)
AppHostAnalyzer.cs (3)
99
var modelNameParameter = wellKnownTypes.Get(WellKnownTypeData.
WellKnownType
.Aspire_Hosting_ApplicationModel_IModelNameParameter);
100
var resourceNameAttribute = wellKnownTypes.Get(WellKnownTypeData.
WellKnownType
.Aspire_Hosting_ApplicationModel_ResourceNameAttribute);
101
var endpointNameAttribute = wellKnownTypes.Get(WellKnownTypeData.
WellKnownType
.Aspire_Hosting_ApplicationModel_EndpointNameAttribute);
Infrastructure\WellKnownTypes.cs (9)
31
var
typeId = (WellKnownTypeData.
WellKnownType
)i;
58
public INamedTypeSymbol Get(WellKnownTypeData.
WellKnownType
type)
111
public bool IsType(ITypeSymbol type, WellKnownTypeData.
WellKnownType
[] wellKnownTypes) => IsType(type, wellKnownTypes, out var _);
113
public bool IsType(ITypeSymbol type, WellKnownTypeData.
WellKnownType
[] wellKnownTypes, [NotNullWhen(true)] out WellKnownTypeData.
WellKnownType
? match)
115
foreach (
var
wellKnownType in wellKnownTypes)
128
public bool Implements(ITypeSymbol type, WellKnownTypeData.
WellKnownType
[] interfaceWellKnownTypes)
130
foreach (
var
wellKnownType in interfaceWellKnownTypes)