4 references to ValidateAssemblyLoadContext
Microsoft.Build.CommandLine.UnitTests (4)
ValidateAssemblyLoadContext.cs (4)
19
var thisLoadContext = AssemblyLoadContext.GetLoadContext(typeof(
ValidateAssemblyLoadContext
).Assembly);
28
if (!thisLoadContext.Name.EndsWith(typeof(
ValidateAssemblyLoadContext
).Assembly.GetName().Name + ".dll"))
30
Log.LogError($"Unexpected AssemblyLoadContext name: \"{thisLoadContext.Name}\", but the current executing assembly was {typeof(
ValidateAssemblyLoadContext
).Assembly.GetName().Name}");
34
Log.LogMessage(MessageImportance.High, $"Task {nameof(
ValidateAssemblyLoadContext
)} loaded in AssemblyLoadContext named {thisLoadContext.Name}");