Open
Description
Background and motivation
In .NET, IsFullyTrusted
has no meaning and always returns true
.
API Proposal
namespace System.Reflection;
public abstract class Assembly
{
+ [Obsolete("Assembly.IsFullyTrusted has been deprecated and is not supported.", DiagnosticId= /*SYSLIB...*/)]
public bool IsFullyTrusted { get; }
}
API Usage
var assembly = Assembly.Load(...);
Console.WriteLine(assembly.IsFullyTrusted); // always true
Alternative Designs
No response
Risks
No response