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