3 instantiations of AtsDiagnostic
Aspire.Hosting (3)
Ats\AtsCapabilityInfo.cs (3)
129new() { Severity = AtsDiagnosticSeverity.Error, Message = message, Location = location }; 135new() { Severity = AtsDiagnosticSeverity.Warning, Message = message, Location = location }; 141new() { Severity = AtsDiagnosticSeverity.Info, Message = message, Location = location };
25 references to AtsDiagnostic
Aspire.Hosting (22)
Ats\AtsCapabilityInfo.cs (3)
128public static AtsDiagnostic Error(string message, string? location = null) => 134public static AtsDiagnostic Warning(string message, string? location = null) => 140public static AtsDiagnostic Info(string message, string? location = null) =>
Ats\AtsCapabilityScanner.cs (18)
33public List<AtsDiagnostic> Diagnostics { get; init; } = []; 116var allDiagnostics = new List<AtsDiagnostic>(); 135allDiagnostics.Add(AtsDiagnostic.Error( 252var diagnostics = new List<AtsDiagnostic>(); 349var capability = CreateCapabilityInfo(method, exportAttr, assemblyName, out var capabilityDiagnostic); 363diagnostics.Add(AtsDiagnostic.Info( 376diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{type.FullName}.{method.Name}")); 567List<AtsDiagnostic> diagnostics) 576diagnostics.Add(AtsDiagnostic.Warning( 775private static void FilterMethodNameCollisions(List<AtsCapabilityInfo> capabilities, List<AtsDiagnostic> diagnostics) 795diagnostics.Add(AtsDiagnostic.Warning( 901public List<AtsDiagnostic> Diagnostics { get; init; } = []; 919var diagnostics = new List<AtsDiagnostic>(); 1130diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{fullName}.{property.Name}")); 1279diagnostics.Add(AtsDiagnostic.Error(ex.Message, $"{contextType.FullName}.{method.Name}")); 1296out AtsDiagnostic? diagnostic) 1305diagnostic = AtsDiagnostic.Warning( 1362diagnostic = AtsDiagnostic.Warning(
Ats\AtsContext.cs (1)
79public IReadOnlyList<AtsDiagnostic> Diagnostics { get; init; } = [];
Aspire.Hosting.RemoteHost (3)
Ats\CapabilityDispatcher.cs (1)
101foreach (var diagnostic in result.Diagnostics)
AtsContextFactory.cs (1)
36foreach (var diagnostic in result.Diagnostics)
CodeGeneration\CodeGenerationService.cs (1)
136private static DiagnosticResponse MapDiagnostic(AtsDiagnostic d) => new()