13 references to DiagnosticDescriptors
Microsoft.AspNetCore.Components.SdkAnalyzers (13)
ComponentInternalUsageDiagnosticAnalzyer.cs (2)
26
_inner = new InternalUsageAnalyzer(IsInInternalNamespace, hasInternalAttribute: null,
DiagnosticDescriptors
.DoNotUseRenderTreeTypes);
29
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
DiagnosticDescriptors
.DoNotUseRenderTreeTypes);
ComponentParameterAnalyzer.cs (8)
21
DiagnosticDescriptors
.ComponentParametersShouldBePublic,
22
DiagnosticDescriptors
.ComponentParameterSettersShouldBePublic,
23
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesMustBeUnique,
24
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesHasWrongType,
79
DiagnosticDescriptors
.ComponentParametersShouldBePublic,
86
DiagnosticDescriptors
.ComponentParameterSettersShouldBePublic,
100
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesHasWrongType,
114
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesMustBeUnique,
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
23
=> ImmutableArray.Create(
DiagnosticDescriptors
.ComponentParametersShouldBePublic.Id);
ComponentParameterUsageAnalyzer.cs (2)
19
DiagnosticDescriptors
.ComponentParametersShouldNotBeSetOutsideOfTheirDeclaredComponent,
106
DiagnosticDescriptors
.ComponentParametersShouldNotBeSetOutsideOfTheirDeclaredComponent,