6 references to KestrelShouldListenOnIPv6AnyInsteadOfIpAny
Microsoft.AspNetCore.App.Analyzers (3)
Kestrel\ListenOnIPv6AnyAnalyzer.cs (3)
17
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => [ DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
];
69
context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
, ipAddressArgumentSyntax.GetLocation()));
94
context.ReportDiagnostic(Diagnostic.Create(DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
, ipAddressArgumentSyntax.GetLocation()));
Microsoft.AspNetCore.App.Analyzers.Test (1)
Kestrel\ListenOnIPv6AnyAnalyzerAndFixerTests.cs (1)
54
= new DiagnosticResult(DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
).WithLocation(0);
Microsoft.AspNetCore.App.CodeFixes (2)
Kestrel\ListenOnIPv6AnyFixer.cs (2)
20
public override ImmutableArray<string> FixableDiagnosticIds => [ DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
.Id ];
73
equivalenceKey: DiagnosticDescriptors.
KestrelShouldListenOnIPv6AnyInsteadOfIpAny
.Id),