2 instantiations of AtsDiagnostic
Aspire.Hosting (2)
Ats\AtsCapabilityInfo.cs (2)
124
new
() { Severity = AtsDiagnosticSeverity.Error, Message = message, Location = location };
130
new
() { Severity = AtsDiagnosticSeverity.Warning, Message = message, Location = location };
21 references to AtsDiagnostic
Aspire.Hosting (19)
Ats\AtsCapabilityInfo.cs (2)
123
public static
AtsDiagnostic
Error(string message, string? location = null) =>
129
public static
AtsDiagnostic
Warning(string message, string? location = null) =>
Ats\AtsCapabilityScanner.cs (16)
33
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
116
var allDiagnostics = new List<
AtsDiagnostic
>();
243
var diagnostics = new List<
AtsDiagnostic
>();
340
var capability = CreateCapabilityInfo(method, exportAttr, assemblyName, out
var
capabilityDiagnostic);
360
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{type.FullName}.{method.Name}"));
556
List<
AtsDiagnostic
> diagnostics)
565
diagnostics.Add(
AtsDiagnostic
.Warning(
764
private static void FilterMethodNameCollisions(List<AtsCapabilityInfo> capabilities, List<
AtsDiagnostic
> diagnostics)
784
diagnostics.Add(
AtsDiagnostic
.Warning(
890
public List<
AtsDiagnostic
> Diagnostics { get; init; } = [];
908
var diagnostics = new List<
AtsDiagnostic
>();
1115
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{fullName}.{property.Name}"));
1262
diagnostics.Add(
AtsDiagnostic
.Error(ex.Message, $"{contextType.FullName}.{method.Name}"));
1279
out
AtsDiagnostic
? diagnostic)
1288
diagnostic =
AtsDiagnostic
.Warning(
1345
diagnostic =
AtsDiagnostic
.Warning(
Ats\AtsContext.cs (1)
79
public IReadOnlyList<
AtsDiagnostic
> Diagnostics { get; init; } = [];
Aspire.Hosting.RemoteHost (2)
Ats\CapabilityDispatcher.cs (1)
101
foreach (
var
diagnostic in result.Diagnostics)
AtsContextFactory.cs (1)
36
foreach (
var
diagnostic in result.Diagnostics)