3 instantiations of AtsDiagnostic
Aspire.Hosting (3)
Ats\AtsCapabilityInfo.cs (3)
129
new
() { Severity = AtsDiagnosticSeverity.Error, Message = message, Location = location };
135
new
() { Severity = AtsDiagnosticSeverity.Warning, Message = message, Location = location };
141
new
() { Severity = AtsDiagnosticSeverity.Info, Message = message, Location = location };
25 references to AtsDiagnostic
Aspire.Hosting (22)
Ats\AtsCapabilityInfo.cs (3)
128
public static
AtsDiagnostic
Error(string message, string? location = null) =>
134
public static
AtsDiagnostic
Warning(string message, string? location = null) =>
140
public static
AtsDiagnostic
Info(string message, string? location = null) =>
Ats\AtsCapabilityScanner.cs (18)
35
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
118
var allDiagnostics = new List<
AtsDiagnostic
>();
137
allDiagnostics.Add(
AtsDiagnostic
.Error(
254
var diagnostics = new List<
AtsDiagnostic
>();
387
var capability = CreateCapabilityInfo(method, exportAttr, assemblyName, out
var
capabilityDiagnostic);
401
diagnostics.Add(
AtsDiagnostic
.Info(
414
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{type.FullName}.{method.Name}"));
618
List<
AtsDiagnostic
> diagnostics)
627
diagnostics.Add(
AtsDiagnostic
.Warning(
831
private static void FilterMethodNameCollisions(List<AtsCapabilityInfo> capabilities, List<
AtsDiagnostic
> diagnostics)
884
diagnostics.Add(
AtsDiagnostic
.Warning(
992
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
1010
var diagnostics = new List<
AtsDiagnostic
>();
1224
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{fullName}.{property.Name}"));
1376
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{contextType.FullName}.{method.Name}"));
1393
out
AtsDiagnostic
? diagnostic)
1402
diagnostic =
AtsDiagnostic
.Warning(
1459
diagnostic =
AtsDiagnostic
.Warning(
Ats\AtsContext.cs (1)
79
public IReadOnlyList<
AtsDiagnostic
> Diagnostics { get; init; } = [];
Aspire.Hosting.RemoteHost (3)
Ats\CapabilityDispatcher.cs (1)
102
foreach (
var
diagnostic in result.Diagnostics)
AtsContextFactory.cs (1)
36
foreach (
var
diagnostic in result.Diagnostics)
CodeGeneration\CodeGenerationService.cs (1)
138
private static DiagnosticResponse MapDiagnostic(
AtsDiagnostic
d) => new()