4 writes to Url
System.Reflection.Context (4)
System\Reflection\Context\Delegation\DelegatingAssembly.cs (4)
26
[RequiresAssemblyFiles("Calling 'System.Reflection.Assembly.Location' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'",
Url
= "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3000")]
114
[RequiresAssemblyFiles("Calling 'System.Reflection.Assembly.GetFile(string)' will throw for assemblies embedded in a single-file app",
Url
= "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3001")]
120
[RequiresAssemblyFiles("Calling 'System.Reflection.Assembly.GetFiles()' will throw for assemblies embedded in a single-file app",
Url
= "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3001")]
126
[RequiresAssemblyFiles("Calling 'System.Reflection.Assembly.GetFiles(bool)' will throw for assemblies embedded in a single-file app",
Url
= "https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/il3001")]