18 references to GetMethod
mscorlib (5)
system\diagnostics\contracts\contractsbcl.cs (1)
71
Assembly caller = stack.GetFrame(i).
GetMethod
().DeclaringType.Assembly;
system\diagnostics\stacktrace.cs (1)
655
MethodBase mb = sf.
GetMethod
();
system\exception.cs (1)
400
MethodBase method = sf.
GetMethod
();
system\security\codeaccesspermission.cs (2)
92
Contract.Assert(new StackFrame().
GetMethod
().Name.Equals("Demand"), "This method needs to be named Demand");
120
Contract.Assert(new StackFrame().
GetMethod
().Name.Equals("Assert"), "This method needs to be named Assert");
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
115
MethodBase methodBase = stackFrame.
GetMethod
();
System.Drawing (2)
misc\DbgUtil.cs (2)
306
if( sf == null || sf.
GetMethod
().DeclaringType != typeof(DbgUtil) )
330
MethodBase mi = sf.
GetMethod
();
System.ServiceModel.Internals (1)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
398
string methodName = frame.
GetMethod
().Name;
System.Transactions (1)
System\Transactions\Trace\DiagnosticTrace.cs (1)
739
Type declaringType = stackFrame.
GetMethod
().DeclaringType;
System.Web (5)
ErrorFormatter.cs (1)
1050
MethodBase mb = sf.
GetMethod
();
UI\TemplateControl.cs (2)
622
if (f.
GetMethod
().DeclaringType != typeof(TemplateControl)) {
632
MethodBase m = f.
GetMethod
();
Util\AppVerifier.cs (2)
759
if (thisFrame.
GetMethod
().Module == typeof(AppVerifier).Module
760
&& thisFrame.
GetMethod
().DeclaringType.FullName.StartsWith("System.Web.Util.AppVerifier", StringComparison.Ordinal)) {
System.Windows.Forms (2)
misc\DbgUtil.cs (2)
306
if( sf == null || sf.
GetMethod
().DeclaringType != typeof(DbgUtil) )
330
MethodBase mi = sf.
GetMethod
();
UIAutomationClient (1)
MS\Internal\Automation\ProxyManager.cs (1)
362
MethodBase mb = sf.
GetMethod
();