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)
33
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
116
var allDiagnostics = new List<
AtsDiagnostic
>();
135
allDiagnostics.Add(
AtsDiagnostic
.Error(
252
var diagnostics = new List<
AtsDiagnostic
>();
349
var capability = CreateCapabilityInfo(method, exportAttr, assemblyName, out
var
capabilityDiagnostic);
363
diagnostics.Add(
AtsDiagnostic
.Info(
376
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{type.FullName}.{method.Name}"));
567
List<
AtsDiagnostic
> diagnostics)
576
diagnostics.Add(
AtsDiagnostic
.Warning(
775
private static void FilterMethodNameCollisions(List<AtsCapabilityInfo> capabilities, List<
AtsDiagnostic
> diagnostics)
795
diagnostics.Add(
AtsDiagnostic
.Warning(
901
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
919
var diagnostics = new List<
AtsDiagnostic
>();
1130
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{fullName}.{property.Name}"));
1279
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{contextType.FullName}.{method.Name}"));
1296
out
AtsDiagnostic
? diagnostic)
1305
diagnostic =
AtsDiagnostic
.Warning(
1362
diagnostic =
AtsDiagnostic
.Warning(
Ats\AtsContext.cs (1)
79
public IReadOnlyList<
AtsDiagnostic
> Diagnostics { get; init; } = [];
Aspire.Hosting.RemoteHost (3)
Ats\CapabilityDispatcher.cs (1)
101
foreach (
var
diagnostic in result.Diagnostics)
AtsContextFactory.cs (1)
36
foreach (
var
diagnostic in result.Diagnostics)
CodeGeneration\CodeGenerationService.cs (1)
136
private static DiagnosticResponse MapDiagnostic(
AtsDiagnostic
d) => new()