1 instantiation of CodeGenerationDiagnostic
Aspire.Hosting.RemoteHost (1)
CodeGeneration\CodeGenerationDiagnostic.cs (1)
187
return new
CodeGenerationDiagnostic
17 references to CodeGenerationDiagnostic
Aspire.Hosting.RemoteHost (5)
CodeGeneration\CodeGenerationDiagnostic.cs (5)
104
/// Builds <see cref="
CodeGenerationDiagnostic
"/> payloads from caught reflection-load
137
/// <see cref="
CodeGenerationDiagnostic
"/> in its <see cref="LocalRpcException.ErrorData"/>.
148
var
diagnostic = BuildDiagnostic(loadException, assemblyLoader, logger);
158
/// Builds a <see cref="
CodeGenerationDiagnostic
"/> from the supplied exception without
161
internal static
CodeGenerationDiagnostic
BuildDiagnostic(Exception exception, AssemblyLoader? assemblyLoader, ILogger? logger = null)
Aspire.Hosting.RemoteHost.Tests (12)
CodeGenerationDiagnosticBuilderTests.cs (12)
36
var
diagnostic = Assert.IsType<
CodeGenerationDiagnostic
>(localRpc.ErrorData);
55
var
diagnostic = Assert.IsType<
CodeGenerationDiagnostic
>(localRpc.ErrorData);
67
var
diagnostic = Assert.IsType<
CodeGenerationDiagnostic
>(localRpc.ErrorData);
81
var
diagnostic = Assert.IsType<
CodeGenerationDiagnostic
>(localRpc.ErrorData);
94
var
diagnostic = Assert.IsType<
CodeGenerationDiagnostic
>(localRpc.ErrorData);
105
var
diagnostic = CodeGenerationDiagnosticBuilder.BuildDiagnostic(
117
var
diagnostic = CodeGenerationDiagnosticBuilder.BuildDiagnostic(