System.Text.RegularExpressions.CILCompiler.GetMethod C# (CSharp) Method

GetMethod() private method

private GetMethod ( Type t, string name, MethodInfo &cached ) : MethodInfo
t System.Type
name string
cached System.Reflection.MethodInfo
return System.Reflection.MethodInfo
		private MethodInfo GetMethod (Type t, string name, ref MethodInfo cached) {
			if (cached == null) {
				cached = t.GetMethod (name, BindingFlags.Static|BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic);
				if (cached == null)
					throw new Exception ("Method not found: " + name);
			}
			return cached;
		}

Same methods

CILCompiler::GetMethod ( string name, MethodInfo &cached ) : MethodInfo