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