2using System.Diagnostics;
3using System.Reflection;
19 private readonly MethodBase method;
20 private readonly
Type type;
22 private readonly StackTrace trace;
43 public MethodBase
Method => this.method;
58 public StackTrace
Trace => this.trace;
Event arguments for the Assert.UnauthorizedAccess event.
Assembly Assembly
Assembly in which the type is defined.
MethodBase Method
Method being accessed.
UnauthorizedAccessEventArgs(MethodBase Method, Type Type, Assembly Assembly, StackTrace Trace)
Event arguments for the Assert.UnauthorizedAccess event.
StackTrace Trace
StackTrace Trace
Type Type
Type on which the method is defined.
delegate void UnauthorizedAccessEventHandler(object Sender, UnauthorizedAccessEventArgs e)
Delegate for unauthorized access event handlers.