1 write to internalDiagnosticsMessageSink
xunit.console (1)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (1)
48
this.
internalDiagnosticsMessageSink
= internalDiagnosticsMessageSink;
19 references to internalDiagnosticsMessageSink
xunit.console (19)
common\AssemblyResolution\DependencyContextAssemblyCache.cs (19)
132
if (
internalDiagnosticsMessageSink
!= null)
133
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.GetFallbackRuntime] Could not find runtime '{runtime}', falling back to '{result}'"));
167
if (
internalDiagnosticsMessageSink
!= null)
170
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.LoadManagedDll] Resolution for '{assemblyName}' failed, passed down to next resolver"));
172
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.LoadManagedDll] Resolved '{assemblyName}' to '{resolvedAssemblyPath}'"));
194
if (needDiagnostics &&
internalDiagnosticsMessageSink
!= null)
196
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.LoadUnmanagedLibrary] Resolved '{unmanagedLibraryName}' to '{resolvedAssemblyPath}'"));
200
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.LoadUnmanagedLibrary] Resolving '{unmanagedLibraryName}', found assembly path '{resolvedAssemblyPath}' but the assembly would not load"));
202
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.LoadUnmanagedLibrary] Resolution for '{unmanagedLibraryName}' failed, passed down to next resolver"));
247
if (
internalDiagnosticsMessageSink
!= null)
248
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveManagedAssembly] Resolving '{assemblyName}', found assembly path '{resolvedAssemblyPath}' but the assembly would not load"));
252
if (
internalDiagnosticsMessageSink
!= null)
253
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveManagedAssembly] Resolving '{assemblyName}', found a resolved path, but could not map a filename in [{string.Join(",", assemblies.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]"));
258
if (
internalDiagnosticsMessageSink
!= null)
259
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveManagedAssembly] Resolving '{assemblyName}', found in dependency map, but unable to resolve a path in [{string.Join(",", assetGroup.AssetPaths.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]"));
285
if (
internalDiagnosticsMessageSink
!= null)
286
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveUnmanagedLibrary] Found a resolved path, but could not map a filename in [{string.Join(",", assemblies.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]"));
290
if (
internalDiagnosticsMessageSink
!= null)
291
internalDiagnosticsMessageSink
.OnMessage(new _DiagnosticMessage($"[DependencyContextAssemblyCache.ResolveUnmanagedLibrary] Found in dependency map, but unable to resolve a path in [{string.Join(",", assetGroup.AssetPaths.OrderBy(k => k, StringComparer.OrdinalIgnoreCase).Select(k => $"'{k}'"))}]"));