2using System.Diagnostics;
3using System.Reflection;
12 private readonly MethodBase method;
13 private readonly
Type type;
15 private readonly StackTrace trace;
25 this.method = Frame.
Method;
26 this.type = Frame.
Type;
34 public MethodBase
Method => this.method;
49 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.
StackTrace Trace
StackTrace Trace
UnauthorizedAccessEventArgs(FrameInformation Frame, StackTrace Trace)
Event arguments for the Assert.UnauthorizedAccess event.
Type Type
Type on which the method is defined.