2 references to UnsupportedTypeRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Performance\ConstantExpectedAnalyzer.cs (2)
119
CA1856.
UnsupportedTypeRule
, CA1856.IncompatibleConstantTypeRule,
589
public static ImmutableArray<Diagnostic> ParameterIsInvalid(string expectedTypeName, SyntaxNode attributeSyntax) => ImmutableArray.Create(Diagnostic.Create(CA1856.
UnsupportedTypeRule
, attributeSyntax.GetLocation(), expectedTypeName));