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