15 references to DiagnosticDescriptors
Microsoft.AspNetCore.Components.Analyzers (15)
ComponentInternalUsageDiagnosticAnalzyer.cs (2)
26
_inner = new InternalUsageAnalyzer(IsInInternalNamespace, hasInternalAttribute: null,
DiagnosticDescriptors
.DoNotUseRenderTreeTypes);
29
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
DiagnosticDescriptors
.DoNotUseRenderTreeTypes);
ComponentParameterAnalyzer.cs (10)
26
DiagnosticDescriptors
.ComponentParametersShouldBePublic,
27
DiagnosticDescriptors
.ComponentParameterSettersShouldBePublic,
28
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesMustBeUnique,
29
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesHasWrongType,
30
DiagnosticDescriptors
.ComponentParametersShouldBeAutoProperties,
85
DiagnosticDescriptors
.ComponentParametersShouldBePublic,
92
DiagnosticDescriptors
.ComponentParameterSettersShouldBePublic,
106
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesHasWrongType,
116
DiagnosticDescriptors
.ComponentParametersShouldBeAutoProperties,
127
DiagnosticDescriptors
.ComponentParameterCaptureUnmatchedValuesMustBeUnique,
ComponentParametersShouldBePublicCodeFixProvider.cs (1)
23
=> ImmutableArray.Create(
DiagnosticDescriptors
.ComponentParametersShouldBePublic.Id);
ComponentParameterUsageAnalyzer.cs (2)
19
DiagnosticDescriptors
.ComponentParametersShouldNotBeSetOutsideOfTheirDeclaredComponent,
106
DiagnosticDescriptors
.ComponentParametersShouldNotBeSetOutsideOfTheirDeclaredComponent,