3 references to IsType
Microsoft.AspNetCore.App.Analyzers (3)
Mvc\MvcAnalyzer.cs (2)
99
if (attribute.AttributeClass is null || !wellKnownTypes.
IsType
(attribute.AttributeClass, RouteAttributeTypes, out var match))
124
if (attribute.AttributeClass is null || !wellKnownTypes.
IsType
(attribute.AttributeClass, RouteAttributeTypes, out var match))
src\Shared\RoslynUtils\WellKnownTypes.cs (1)
116
public bool IsType(ITypeSymbol type, WellKnownTypeData.WellKnownType[] wellKnownTypes) =>
IsType
(type, wellKnownTypes, out var _);