16 references to Diagnostics
Microsoft.AspNetCore.Http.RequestDelegateGenerator (16)
RequestDelegateGenerator.cs (2)
44
foreach (var diagnostic in endpoint.
Diagnostics
)
51
.Where(endpoint => endpoint.
Diagnostics
.Count == 0)
RequestDelegateGeneratorSuppressor.cs (1)
63
if (endpoint.
Diagnostics
.Count == 0)
StaticRouteHandlerModel\Endpoint.cs (5)
31
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.UnableToResolveMethod, Operation.Syntax.GetLocation()));
36
Response.EmitRequiredDiagnostics(
Diagnostics
, Operation.Syntax.GetLocation());
58
parameterSymbol.EmitRequiredDiagnostics(
Diagnostics
, Operation.Syntax.GetLocation());
59
if (
Diagnostics
.Count > 0)
77
Diagnostics
.Add(Diagnostic.Create(
StaticRouteHandlerModel\EndpointParameter.cs (8)
116
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.UnableToResolveParameterDescriptor, location, symbol.Name));
152
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.KeyedAndNotKeyedServiceAttributesNotSupported, location));
167
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersNullable, location, Type.ToDisplayString(SymbolDisplayFormat.CSharpShortErrorMessageFormat)));
175
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersNested, location));
465
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersAbstractType, location, parameterTypeString));
504
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersSignature, location, parameterTypeString));
523
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersSingleConstructorOnly, location, parameterTypeString));
527
endpoint.
Diagnostics
.Add(Diagnostic.Create(DiagnosticDescriptors.InvalidAsParametersNoConstructorFound, location, parameterTypeString));