17 types derived from MethodInfo
mscorlib (7)
system\reflection\emit\dynamicmethod.cs (2)
24public sealed class DynamicMethod : MethodInfo 853internal class RTDynamicMethod : MethodInfo {
system\reflection\emit\methodbuilder.cs (1)
27public sealed class MethodBuilder : MethodInfo, _MethodBuilder
system\reflection\emit\methodbuilderinstantiation.cs (1)
17internal sealed class MethodBuilderInstantiation : MethodInfo
system\reflection\emit\symbolmethod.cs (1)
17internal sealed class SymbolMethod : MethodInfo
system\reflection\emit\xxxontypebuilderinstantiation.cs (1)
18internal sealed class MethodOnTypeBuilderInstantiation : MethodInfo
system\reflection\methodinfo.cs (1)
130internal sealed class RuntimeMethodInfo : MethodInfo, ISerializable, IRuntimeMethodInfo
System (1)
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
40private class MyMethodInfo : MethodInfo {
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1934private class MetadataMethodInfo : MethodInfo
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1934private class MetadataMethodInfo : MethodInfo
System.Workflow.Activities (3)
Rules\RuleValidation.cs (3)
169internal class ExtensionMethodInfo : MethodInfo 314internal abstract class BaseMethodInfo : MethodInfo 545internal class EnumOperationMethodInfo : MethodInfo
System.Workflow.ComponentModel (3)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (1)
146internal class DesignTimeMethodInfo : MethodInfo
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (1)
214private sealed class PropertyMethodInfo : MethodInfo
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
1056private class RTMethodInfoWrapper : MethodInfo
System.WorkflowServices (1)
System\Workflow\Activities\ContractMethodInfo.cs (1)
16internal sealed class ContractMethodInfo : MethodInfo
3796 references to MethodInfo
ComSvcConfig (5)
ComplusTypeValidator.cs (5)
119MethodInfo[] methods = typeOfInterface.GetMethods(); 130foreach (MethodInfo method in methods) 187MethodInfo[] methods = typeOfInterface.GetMethods(); 239MethodInfo[] methods = typeOfInterface.GetMethods(); 253foreach (MethodInfo method in methods)
mscorlib (422)
system\__filters.cs (1)
57attr = ((MethodInfo) m).Attributes;
system\attribute.cs (2)
99MethodInfo propAccessor = property.GetGetMethod(true); 172MethodInfo add = ev.GetAddMethod(true);
system\delegate.cs (13)
172if (_methodBase == null || d._methodBase == null || !(_methodBase is MethodInfo) || !(d._methodBase is MethodInfo)) 223public MethodInfo Method 232protected virtual MethodInfo GetMethodImpl() 234if ((_methodBase == null) || !(_methodBase is MethodInfo)) 277MethodInfo invoke = this.GetType().GetMethod("Invoke"); 282_methodBase = (MethodInfo)RuntimeType.GetMethodBase(declaringType, method); 284return (MethodInfo)_methodBase; 484public static Delegate CreateDelegate(Type type, MethodInfo method, bool throwOnBindFailure) 527public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method) 535public static Delegate CreateDelegate(Type type, Object firstArgument, MethodInfo method, bool throwOnBindFailure) 641internal static Delegate CreateDelegateNoSecurityCheck(RuntimeType type, Object firstArgument, MethodInfo method) 677public static Delegate CreateDelegate(Type type, MethodInfo method)
system\delegateserializationholder.cs (6)
23SerializationInfo info, Type delegateType, Object target, MethodInfo method, int targetIndex) 116private MethodInfo[] m_methods; 159MethodInfo[] methods = new MethodInfo[count]; 164methods[i] = (MethodInfo)info.GetValueNoThrow(methodInfoName, typeof(MethodInfo));
system\diagnostics\eventing\eventsource.cs (4)
3288MethodInfo[] methods = eventSourceType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); 3359MethodInfo method = methods[i]; 3704EventMetadata[] eventData, MethodInfo method, EventAttribute eventAttribute, 3790static private int GetHelperCallFirstArg(MethodInfo method)
System\Diagnostics\Eventing\TraceLogging\EnumHelper.cs (1)
21private static readonly MethodInfo IdentityInfo =
System\Diagnostics\Eventing\TraceLogging\PropertyAccessor.cs (1)
78private readonly MethodInfo getterInfo;
System\Diagnostics\Eventing\TraceLogging\PropertyAnalysis.cs (2)
17internal readonly MethodInfo getterInfo; 23MethodInfo getterInfo,
System\Diagnostics\Eventing\TraceLogging\Statics.cs (6)
397public static MethodInfo GetGetMethod(PropertyInfo propInfo) 399MethodInfo result; 408public static MethodInfo GetDeclaredStaticMethod(Type declaringType, string name) 410MethodInfo result; 536public static Delegate CreateDelegate(Type delegateType, MethodInfo methodInfo) 568var getInstanceInfo = Statics.GetDeclaredStaticMethod(
System\Diagnostics\Eventing\TraceLogging\TypeAnalysis.cs (1)
45MethodInfo getterInfo = Statics.GetGetMethod(propertyInfo);
system\diagnostics\stackframe.cs (3)
256if (method is MethodInfo && ((MethodInfo)method).IsGenericMethod) 258Type[] typars = ((MethodInfo)method).GetGenericArguments();
system\diagnostics\stacktrace.cs (4)
149MethodInfo symbolsMethodInfo = symbolsType.GetMethod("GetSourceLineInfoWithoutCasAssert", 676if (mb is MethodInfo && ((MethodInfo)mb).IsGenericMethod) 678Type[] typars = ((MethodInfo)mb).GetGenericArguments();
system\exception.cs (1)
497Contract.Assert(methBase is MethodInfo, "[Exception.GetExceptionMethodString]methBase is MethodInfo");
system\io\stream.cs (1)
1214foreach (var method in methods)
system\multicastdelegate.cs (7)
61MethodInfo method = Method; 81MethodInfo method = d.Method; 250internal void StoreDynamicMethod(MethodInfo dynamicMethod) 561protected override MethodInfo GetMethodImpl() 583if ((_methodBase == null) || !(_methodBase is MethodInfo)) 595_methodBase = (MethodInfo)RuntimeType.GetMethodBase(declaringType, method); 597return (MethodInfo)_methodBase;
system\reflection\assembly.cs (3)
733public virtual MethodInfo EntryPoint 1464public override MethodInfo EntryPoint 1474return (MethodInfo)RuntimeType.GetMethodBase(methodHandle);
system\reflection\Associates.cs (4)
26internal static bool IncludeAccessor(MethodInfo associate, bool nonPublic) 130out MethodInfo[] other, 147List<MethodInfo> otherList = null; 204otherList = new List<MethodInfo>(cAssociates);
system\reflection\cominterfaces.cs (23)
78MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers); 79MethodInfo GetMethod(String name, BindingFlags bindingAttr); 80MethodInfo[] GetMethods(BindingFlags bindingAttr); 105MethodInfo GetMethod(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers); 106MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers); 107MethodInfo GetMethod(String name, Type[] types); 108MethodInfo GetMethod(String name); 109MethodInfo[] GetMethods(); 192MethodInfo EntryPoint { get; } 345[TypeLibImportClassAttribute(typeof(System.Reflection.MethodInfo))] 400MethodInfo GetBaseDefinition(); 565MethodInfo[] GetAccessors(bool nonPublic); 566MethodInfo GetGetMethod(bool nonPublic); 567MethodInfo GetSetMethod(bool nonPublic); 572MethodInfo[] GetAccessors(); 573MethodInfo GetGetMethod(); 574MethodInfo GetSetMethod(); 614MethodInfo GetAddMethod(bool nonPublic); 615MethodInfo GetRemoveMethod(bool nonPublic); 616MethodInfo GetRaiseMethod(bool nonPublic); 618MethodInfo GetAddMethod(); 619MethodInfo GetRemoveMethod(); 620MethodInfo GetRaiseMethod();
system\reflection\emit\assemblybuilder.cs (4)
1268public override MethodInfo EntryPoint 1599MethodInfo entryMethod) 1607MethodInfo entryMethod, // entry method for the assembly. We use this to determine the entry module 1617MethodInfo entryMethod, // entry method for the assembly. We use this to determine the entry module
system\reflection\emit\assemblybuilderdata.cs (1)
494internal MethodInfo m_entryPointMethod;
system\reflection\emit\dynamicilgenerator.cs (3)
93public override void Emit(OpCode opcode, MethodInfo meth) 313public override void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) 1000internal override MethodInfo GetDynamicMethod()
system\reflection\emit\dynamicmethod.cs (3)
619public override MethodInfo GetBaseDefinition() { return this; } 841internal MethodInfo GetMethodInfo() { 908public override MethodInfo GetBaseDefinition() {
system\reflection\emit\enumbuilder.cs (2)
149protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 158public override MethodInfo[] GetMethods(BindingFlags bindingAttr)
system\reflection\emit\generictypeparameterbuilder.cs (2)
126protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 128public override MethodInfo[] GetMethods(BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\ilgenerator.cs (10)
95internal MethodInfo m_methodBuilder; 118internal ILGenerator(MethodInfo methodBuilder) : this(methodBuilder, 64) 122internal ILGenerator(MethodInfo methodBuilder, int size) 486public virtual void Emit(OpCode opcode, MethodInfo meth) 607public virtual void EmitCall(OpCode opcode, MethodInfo methodInfo, Type[] optionalParameterTypes) 1188MethodInfo mi = typeof(Console).GetMethod("WriteLine", parameterTypes); 1205MethodInfo prop = typeof(Console).GetMethod("get_Out"); 1214MethodInfo mi = typeof(TextWriter).GetMethod("WriteLine", parameterTypes); 1237MethodInfo prop = typeof(Console).GetMethod("get_Out"); 1252MethodInfo mi = typeof(TextWriter).GetMethod("WriteLine", parameterTypes);
system\reflection\emit\localbuilder.cs (4)
22private MethodInfo m_methodBuilder; 28internal LocalBuilder(int localIndex, Type localType, MethodInfo methodBuilder) 30internal LocalBuilder(int localIndex, Type localType, MethodInfo methodBuilder, bool isPinned) 44internal MethodInfo GetMethodBuilder()
system\reflection\emit\methodbuilder.cs (7)
359MethodInfo mi = null; 362if ( (mi = method as MethodInfo) != null ) 619public override MethodInfo GetBaseDefinition() 638MethodInfo rmi = m_containingType.GetMethod(m_strName, m_parameterTypes); 650MethodInfo rmi = m_containingType.GetMethod(m_strName, m_parameterTypes); 683public override MethodInfo GetGenericMethodDefinition() { if (!IsGenericMethod) throw new InvalidOperationException(); return this; } 689public override MethodInfo MakeGenericMethod(params Type[] typeArguments)
system\reflection\emit\methodbuilderinstantiation.cs (7)
20internal static MethodInfo MakeGenericMethod(MethodInfo method, Type[] inst) 32internal MethodInfo m_method; 37internal MethodBuilderInstantiation(MethodInfo method, Type[] inst) 73public override MethodInfo GetGenericMethodDefinition() { return m_method; } 92public override MethodInfo MakeGenericMethod(params Type[] arguments) 112public override MethodInfo GetBaseDefinition() { throw new NotSupportedException(); }
system\reflection\emit\modulebuilder.cs (14)
683MethodInfo masmi = method as MethodInfo; 1086public override MethodInfo[] GetMethods(BindingFlags bindingFlags) 1091protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 1800public MethodToken GetMethodToken(MethodInfo method) 1809internal MethodToken GetMethodTokenInternal(MethodInfo method) 1822private MethodToken GetMethodTokenNoLock(MethodInfo method, bool getGenericTypeDefinition) 1947public MethodToken GetMethodToken(MethodInfo method, IEnumerable<Type> optionalParameterTypes) 1972MethodInfo methodInfo = method as MethodInfo; 1980MethodInfo methodInfoUnbound = methodInfo; 2082public MethodInfo GetArrayMethod(Type arrayClass, String methodName, CallingConventions callingConvention, 2357public void SetUserEntryPoint(MethodInfo entryPoint) 2366private void SetUserEntryPointNoLock(MethodInfo entryPoint)
system\reflection\emit\propertybuilder.cs (5)
201public override MethodInfo[] GetAccessors(bool nonPublic) 206public override MethodInfo GetGetMethod(bool nonPublic) 216public override MethodInfo GetSetMethod(bool nonPublic) 303private MethodInfo m_getMethod; 304private MethodInfo m_setMethod;
system\reflection\emit\symbolmethod.cs (1)
149public override MethodInfo GetBaseDefinition()
system\reflection\emit\symboltype.cs (2)
432protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 438public override MethodInfo[] GetMethods(BindingFlags bindingAttr)
system\reflection\emit\typebuilder.cs (8)
97public static MethodInfo GetMethod(Type type, MethodInfo method) 1145protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 1162public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 1618public void DefineMethodOverride(MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration) 1627private void DefineMethodOverrideNoLock(MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration)
system\reflection\emit\typebuilderinstantiation.cs (2)
175protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { throw new NotSupportedException(); } 176public override MethodInfo[] GetMethods(BindingFlags bindingAttr) { throw new NotSupportedException(); }
system\reflection\emit\xxxontypebuilderinstantiation.cs (7)
21internal static MethodInfo GetMethod(MethodInfo method, TypeBuilderInstantiation type) 28internal MethodInfo m_method; 33internal MethodOnTypeBuilderInstantiation(MethodInfo method, TypeBuilderInstantiation type) 86public override MethodInfo GetGenericMethodDefinition() { return m_method; } 89public override MethodInfo MakeGenericMethod(params Type[] typeArgs) 106public override MethodInfo GetBaseDefinition() { throw new NotSupportedException(); }
system\reflection\eventinfo.cs (23)
69public virtual MethodInfo[] GetOtherMethods(bool nonPublic) 74public abstract MethodInfo GetAddMethod(bool nonPublic); 76public abstract MethodInfo GetRemoveMethod(bool nonPublic); 78public abstract MethodInfo GetRaiseMethod(bool nonPublic); 84public virtual MethodInfo AddMethod 92public virtual MethodInfo RemoveMethod 100public virtual MethodInfo RaiseMethod 108public MethodInfo[] GetOtherMethods() { return GetOtherMethods(false); } 110public MethodInfo GetAddMethod() { return GetAddMethod(false); } 112public MethodInfo GetRemoveMethod() { return GetRemoveMethod(false); } 114public MethodInfo GetRaiseMethod() { return GetRaiseMethod(false); } 120MethodInfo addMethod = GetAddMethod(); 140MethodInfo removeMethod = GetRemoveMethod(); 163MethodInfo m = GetAddMethod(true); 241private MethodInfo[] m_otherMethod; 397public override MethodInfo[] GetOtherMethods(bool nonPublic) 399List<MethodInfo> ret = new List<MethodInfo>(); 402return new MethodInfo[0]; 406if (Associates.IncludeAccessor((MethodInfo)m_otherMethod[i], nonPublic)) 413public override MethodInfo GetAddMethod(bool nonPublic) 421public override MethodInfo GetRemoveMethod(bool nonPublic) 429public override MethodInfo GetRaiseMethod(bool nonPublic)
system\reflection\interfacemapping.cs (2)
27public MethodInfo[] TargetMethods; // The methods implementing the interface 29public MethodInfo[] InterfaceMethods; // The methods defined on the interface
system\reflection\ireflect.cs (3)
33MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 39MethodInfo GetMethod(String name,BindingFlags bindingAttr); 41MethodInfo[] GetMethods(BindingFlags bindingAttr);
system\reflection\memberinfoserializationholder.cs (4)
202MethodInfo methodInfo = null; 209MethodInfo[] methods = m_reflectedType.GetMember(m_memberName, MemberTypes.Method, bindingFlags) as MethodInfo[]; 242MethodInfo candidateMethod = methods[i].MakeGenericMethod(genericArguments);
system\reflection\methodbase.cs (3)
109MethodInfo method1, method2; 112if ((method1 = left as MethodInfo) != null && (method2 = right as MethodInfo) != null)
system\reflection\methodbody.cs (1)
78m_methodBody.m_methodBase is MethodInfo ? m_methodBody.m_methodBase.GetGenericArguments() : null);
system\reflection\methodinfo.cs (14)
45public static bool operator ==(MethodInfo left, MethodInfo right) 58public static bool operator !=(MethodInfo left, MethodInfo right) 85public abstract MethodInfo GetBaseDefinition(); 91public virtual MethodInfo GetGenericMethodDefinition() { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 93public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments) { throw new NotSupportedException(Environment.GetResourceString("NotSupported_SubclassOverride")); } 827public override MethodInfo GetBaseDefinition() 849return(MethodInfo)RuntimeType.GetMethodBase(baseDeclaringType, baseMethodHandle); 917public override MethodInfo MakeGenericMethod(params Type[] methodInstantiation) 954MethodInfo ret = null; 959RuntimeMethodHandle.GetStubIfNeeded(new RuntimeMethodHandleInternal(this.m_handle), m_declaringType, methodInstantionRuntimeType)) as MethodInfo; 986public override MethodInfo GetGenericMethodDefinition() 992return RuntimeType.GetMethodBase(m_declaringType, RuntimeMethodHandle.StripMethodInstantiation(this)) as MethodInfo;
system\reflection\module.cs (10)
421public MethodInfo[] GetMethods() 426public virtual MethodInfo[] GetMethods(BindingFlags bindingFlags) 438public MethodInfo GetMethod( 457public MethodInfo GetMethod(String name, Type[] types) 475public MethodInfo GetMethod(String name) 485protected virtual MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 957protected override MethodInfo GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, 963internal MethodInfo GetMethodInternal(String name, BindingFlags bindingAttr, Binder binder, 1172public override MethodInfo[] GetMethods(BindingFlags bindingFlags) 1175return new MethodInfo[0];
system\reflection\parameterinfo.cs (2)
235return ((MethodInfo)MemberImpl).ReturnParameter; 492internal RuntimeParameterInfo(MethodInfo owner, String name, Type parameterType, int position)
system\reflection\propertyinfo.cs (18)
86public abstract MethodInfo[] GetAccessors(bool nonPublic); 88public abstract MethodInfo GetGetMethod(bool nonPublic); 90public abstract MethodInfo GetSetMethod(bool nonPublic); 136public MethodInfo[] GetAccessors() { return GetAccessors(false); } 138public virtual MethodInfo GetMethod 146public virtual MethodInfo SetMethod 154public MethodInfo GetGetMethod() { return GetGetMethod(false); } 156public MethodInfo GetSetMethod() { return GetSetMethod(false); } 203private MethodInfo[] m_otherMethod; 486public override MethodInfo[] GetAccessors(bool nonPublic) 488List<MethodInfo> accessorList = new List<MethodInfo>(); 500if (Associates.IncludeAccessor(m_otherMethod[i] as MethodInfo, nonPublic)) 512public override MethodInfo GetGetMethod(bool nonPublic) 520public override MethodInfo GetSetMethod(bool nonPublic) 555MethodInfo m = GetGetMethod(true); 627MethodInfo m = GetGetMethod(true); 650MethodInfo m = GetSetMethod(true);
system\reflection\RuntimeReflectionExtensions.cs (6)
16private static void CheckAndThrow(MethodInfo m) 33public static IEnumerable<MethodInfo> GetRuntimeMethods(this Type type) 55public static MethodInfo GetRuntimeMethod(this Type type, string name, Type[] parameters) 65public static MethodInfo GetRuntimeBaseDefinition(this MethodInfo method){ 78public static MethodInfo GetMethodInfo(this Delegate del)
system\reflection\typedelegator.cs (2)
100protected override MethodInfo GetMethodImpl(String name,BindingFlags bindingAttr,Binder binder, 111public override MethodInfo[] GetMethods(BindingFlags bindingAttr)
system\reflection\typeinfo.cs (4)
93public virtual MethodInfo GetDeclaredMethod(String name) 98public virtual IEnumerable<MethodInfo> GetDeclaredMethods(String name) 100foreach (MethodInfo method in GetMethods(Type.DeclaredOnlyLookup)) 158public virtual IEnumerable<MethodInfo> DeclaredMethods
system\rttype.cs (37)
1429MethodInfo associateMethod = propertyInfo.GetGetMethod(); 1813internal MethodInfo GetGenericMethodInfo(RuntimeMethodHandleInternal genericMethod) 2465MethodInfo methodInfo = memberInfo as MethodInfo; 2803private ListBuilder<MethodInfo> GetMethodCandidates( 2813ListBuilder<MethodInfo> candidates = new ListBuilder<MethodInfo>(cache.Length); 3052public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 3120ListBuilder<MethodInfo> methods = GetMethodCandidates(null, bindingAttr, CallingConventions.Any, null, false); 3179im.InterfaceMethods = new MethodInfo[ifaceInstanceMethodCount]; 3180im.TargetMethods = new MethodInfo[ifaceInstanceMethodCount]; 3189im.InterfaceMethods[i] = (MethodInfo)ifaceMethodBase; 3202im.TargetMethods[i] = (MethodInfo)rtTypeMethodBase; 3210protected override MethodInfo GetMethodImpl( 3214ListBuilder<MethodInfo> candidates = GetMethodCandidates(name, bindingAttr, callConv, types, false); 3221MethodInfo firstCandidate = candidates[0]; 3231MethodInfo methodInfo = candidates[j]; 3239return System.DefaultBinder.FindMostDerivedNewSlotMeth(candidates.ToArray(), candidates.Count) as MethodInfo; 3246return binder.SelectMethod(bindingAttr, candidates.ToArray(), types, modifiers) as MethodInfo; 3462ListBuilder<MethodInfo> methods = new ListBuilder<MethodInfo>(); 4829MethodInfo[] finalists = null; 4830MethodInfo finalist = null; 4836MethodInfo[] semiFinalists = GetMember(name, MemberTypes.Method, bindingFlags) as MethodInfo[]; 4837List<MethodInfo> results = null; 4841MethodInfo semiFinalist = semiFinalists[i]; 4855results = new List<MethodInfo>(semiFinalists.Length); 4866finalists = new MethodInfo[results.Count]; 4880List<MethodInfo> results = null; 4884MethodInfo semiFinalist = null; 4909results = new List<MethodInfo>(semiFinalists.Length); 4920finalists = new MethodInfo[results.Count]; 4942finalists = new MethodInfo[] { finalist }; 4961Object result = ((MethodInfo)invokeMethod).Invoke(target, bindingFlags, binder, providedArgs, culture); 5618MethodInfo meth = (MethodInfo)reqMsg.GetMethodBase();
system\runtime\interopservices\ComTypes\iexpando.cs (1)
29MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\ComTypes\ireflect.cs (3)
28MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 31MethodInfo GetMethod(String name,BindingFlags bindingAttr); 33MethodInfo[] GetMethods(
system\runtime\interopservices\expando\iexpando.cs (1)
37MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\marshal.cs (3)
858public static void Prelink(MethodInfo m) 884MethodInfo[] mi = c.GetMethods(); 898public static int NumParamBytes(MethodInfo m)
system\runtime\interopservices\registrationservices.cs (2)
1009MethodInfo[] aMethods = currType.GetMethods(BindingFlags.Instance|BindingFlags.Public|BindingFlags.NonPublic|BindingFlags.Static); 1015MethodInfo CurrentMethod = aMethods[cMethods];
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (23)
67MethodInfo[] aMethods = TCEAdapterGenerator.GetNonPropertyMethods(m_SrcItfType); 94private MethodBuilder DefineAddEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo SrcItfMethod, Type SinkHelperClass, FieldBuilder fbSinkHelperArray, FieldBuilder fbEventCP, MethodBuilder mbInitSrcItf ) 111MethodInfo CPAdviseMethod = typeof(IConnectionPoint).GetMethod( "Advise" ); 117MethodInfo ArrayListAddMethod = typeof(ArrayList).GetMethod( "Add", aParamTypes, null ); 121MethodInfo MonitorEnterMethod = typeof(Monitor).GetMethod( "Enter", MonitorEnterParamTypes, null ); 126MethodInfo MonitorExitMethod = typeof(Monitor).GetMethod( "Exit", aParamTypes, null ); 237private MethodBuilder DefineRemoveEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo SrcItfMethod, Type SinkHelperClass, FieldBuilder fbSinkHelperArray, FieldBuilder fbEventCP ) 252MethodInfo ArrayListRemoveMethod = typeof(ArrayList).GetMethod( "RemoveAt", aParamTypes, null ); 258MethodInfo ArrayListItemGetMethod = ArrayListItemProperty.GetGetMethod(); 264MethodInfo ArrayListSizeGetMethod = ArrayListSizeProperty.GetGetMethod(); 269MethodInfo DelegateEqualsMethod = typeof(Delegate).GetMethod( "Equals", aParamTypes, null ); 273MethodInfo MonitorEnterMethod = typeof(Monitor).GetMethod("Enter", MonitorEnterParamTypes, null); 278MethodInfo MonitorExitMethod = typeof(Monitor).GetMethod( "Exit", aParamTypes, null ); 282MethodInfo CPUnadviseMethod = typeof(IConnectionPoint).GetMethod( "Unadvise" ); 286MethodInfo ReleaseComObjectMethod = typeof(Marshal).GetMethod( "ReleaseComObject" ); 479MethodInfo CPCFindCPMethod = typeof(IConnectionPointContainer).GetMethod( "FindConnectionPoint" ); 593MethodInfo ArrayListItemGetMethod = ArrayListItemProperty.GetGetMethod(); 599MethodInfo ArrayListSizeGetMethod = ArrayListSizeProperty.GetGetMethod(); 603MethodInfo CPUnadviseMethod = typeof(IConnectionPoint).GetMethod( "Unadvise" ); 607MethodInfo ReleaseComObjectMethod = typeof(Marshal).GetMethod( "ReleaseComObject" ); 611MethodInfo MonitorEnterMethod = typeof(Monitor).GetMethod("Enter", MonitorEnterParamTypes, null); 617MethodInfo MonitorExitMethod = typeof(Monitor).GetMethod( "Exit", aParamTypes, null ); 746MethodInfo SuppressFinalizeMethod = typeof(GC).GetMethod("SuppressFinalize");
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (7)
50MethodInfo[] pMethods = TCEAdapterGenerator.GetPropertyMethods(m_InputType); 51foreach (MethodInfo method in pMethods) 57MethodInfo[] aMethods = TCEAdapterGenerator.GetNonPropertyMethods(m_InputType); 67MethodInfo AddMeth = m_EventItfType.GetMethod( "add_" + aMethods[cMethods].Name ); 97private void DefineBlankMethod(TypeBuilder OutputTypeBuilder, MethodInfo Method) 119private void DefineEventMethod( TypeBuilder OutputTypeBuilder, MethodInfo Method, Type DelegateCls, FieldBuilder fbDelegate ) 122MethodInfo DelegateInvokeMethod = DelegateCls.GetMethod( "Invoke" );
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (13)
88internal static MethodInfo[] GetNonPropertyMethods(Type type) 90MethodInfo[] aMethods = type.GetMethods(); 97MethodInfo[] accessors = prop.GetAccessors(); 98foreach (MethodInfo accessor in accessors) 102if ((MethodInfo)methods[i] == accessor) 108MethodInfo[] retMethods = new MethodInfo[methods.Count]; 114internal static MethodInfo[] GetPropertyMethods(Type type) 116MethodInfo[] aMethods = type.GetMethods(); 123MethodInfo[] accessors = prop.GetAccessors(); 124foreach (MethodInfo accessor in accessors) 130MethodInfo[] retMethods = new MethodInfo[methods.Count];
system\runtime\interopservices\ucomiexpando.cs (1)
31MethodInfo AddMethod(String name, Delegate method);
system\runtime\interopservices\ucomireflect.cs (3)
29MethodInfo GetMethod(String name,BindingFlags bindingAttr,Binder binder, 32MethodInfo GetMethod(String name,BindingFlags bindingAttr); 34MethodInfo[] GetMethods(
system\runtime\interopservices\windowsruntime\custompropertyimpl.cs (1)
109MethodInfo accessor = getValue ? m_property.GetGetMethod(true) : m_property.GetSetMethod(true);
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (5)
224ConditionalWeakTable<object, Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>>> s_eventRegistrations = 225new ConditionalWeakTable<object, Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>>>(); 269Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>> instanceMap = null; 272instanceMap = new Dictionary<MethodInfo, Dictionary<object, EventRegistrationTokenList>>(); 375internal MethodInfo method;
system\runtime\remoting\channelservices.cs (3)
625static bool IsMethodReallyPublic(MethodInfo mi) 710MethodInfo method = (MethodInfo)mcm.MethodBase;
system\runtime\remoting\channelsinkstacks.cs (3)
254private MethodInfo _asyncEnd = null; 416MethodInfo syncMI = (MethodInfo)_msg.MethodBase;
system\runtime\remoting\message.cs (10)
3184MethodInfo mi = (MethodInfo)methods[i]; 3203MethodInfo[] matches = new MethodInfo[candidates]; 3205matches[i] = (MethodInfo)methods[i]; 3251MI = ((MethodInfo)MI).MakeGenericMethod(instArgs); 4256MethodInfo mi = MI as MethodInfo; 4422MethodInfo mi = MI as MethodInfo;
system\runtime\remoting\remotingattributes.cs (2)
491MethodInfo mi = RI as MethodInfo;
system\runtime\remoting\remotingproxy.cs (3)
22using MethodInfo = System.Reflection.MethodInfo; 30private static MethodInfo _getTypeMethod = typeof(System.Object).GetMethod("GetType"); 31private static MethodInfo _getHashCodeMethod = typeof(System.Object).GetMethod("GetHashCode");
system\runtime\remoting\remotingservices.cs (5)
2045internal static bool FindAsyncMethodVersion(MethodInfo method, 2046out MethodInfo beginMethod, 2047out MethodInfo endMethod) 2087MethodInfo[] methods = type.GetMethods(); 2089foreach (MethodInfo mi in methods)
system\runtime\remoting\remotingsurrogateselector.cs (1)
301Type retType = ((MethodInfo)mb).ReturnType;
system\runtime\remoting\soap.cs (2)
179MethodInfo[] methods = type.GetMethods(); 180foreach (MethodInfo mi in methods)
system\runtime\serialization\serializationeventscache.cs (14)
27private List<MethodInfo> m_OnSerializingMethods = null; 28private List<MethodInfo> m_OnSerializedMethods = null; 29private List<MethodInfo> m_OnDeserializingMethods = null; 30private List<MethodInfo> m_OnDeserializedMethods = null; 32private List<MethodInfo> GetMethodsWithAttribute(Type attribute, Type t) 34List<MethodInfo> mi = new List<MethodInfo>(); 41MethodInfo[] mis = baseType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 45foreach(MethodInfo m in mis) 102foreach(MethodInfo m in m_OnSerializingMethods) 121foreach(MethodInfo m in m_OnDeserializingMethods) 140foreach(MethodInfo m in m_OnDeserializedMethods) 156foreach(MethodInfo m in m_OnSerializedMethods) 172foreach(MethodInfo m in m_OnDeserializedMethods)
system\runtimehandles.cs (1)
2263internal abstract MethodInfo GetDynamicMethod();
system\security\cryptography\utils.cs (1)
1061MethodInfo method = t.GetMethod(methodName, BindingFlags.Public | BindingFlags.Instance, null, parameterTypes, null);
system\security\permissiontoken.cs (2)
162MethodInfo method = cls.GetMethod( "GetTokenIndex", BindingFlags.Static | BindingFlags.NonPublic ); 250MethodInfo method = cls.GetMethod( "GetTokenIndex", BindingFlags.Static | BindingFlags.NonPublic );
system\security\securityexception.cs (6)
88MethodInfo method = null; 272public SecurityException(string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence) 306public SecurityException(string message, Object deny, Object permitOnly, MethodInfo method, Object demanded, IPermission permThatFailed) 497private MethodInfo getMethod() 499return (MethodInfo)ByteArrayToObject(m_serializedMethodInfo); 503public MethodInfo Method
system\security\securityruntime.cs (2)
44internal static MethodInfo GetMethodInfo(RuntimeMethodHandleInternal rmh) 56return (System.RuntimeType.GetMethodBase(RuntimeMethodHandle.GetDeclaringType(rmh), rmh) as MethodInfo);
system\type.cs (10)
474public MethodInfo GetMethod(String name, 492public MethodInfo GetMethod(String name, 509public MethodInfo GetMethod(String name, Type[] types, ParameterModifier[] modifiers) 522public MethodInfo GetMethod(String name,Type[] types) 535public MethodInfo GetMethod(String name, BindingFlags bindingAttr) 543public MethodInfo GetMethod(String name) 551abstract protected MethodInfo GetMethodImpl(String name, 561public MethodInfo[] GetMethods() { 565abstract public MethodInfo[] GetMethods(BindingFlags bindingAttr); 794MethodInfo[] m = null;
PresentationBuildTasks (38)
Base\System\Windows\Markup\TypeConverterHelper.cs (2)
53MethodInfo methodInfo; 81if ((methodInfo = dpOrPiOrMi as MethodInfo) != null)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
1790if (desc.MemberInfo is MethodInfo) 1792MethodInfo mi = (MethodInfo)desc.MemberInfo; 1849MethodInfo mi = (MethodInfo)memberInfo; 1985MethodInfo methodInvoke = eventHandlerType.GetMethod("Invoke");
Framework\System\Windows\Markup\BamlRecords.cs (1)
4952Debug.Assert((propertyMember is MethodInfo) || (propertyMember is PropertyInfo)
Framework\System\Windows\Markup\XamlReaderHelper.cs (5)
3213else if (dynamicObject is MethodInfo) 3215MethodInfo methodInfo = (MethodInfo)dynamicObject; 3523MethodInfo methodInfo = propertyMember as MethodInfo;
Framework\System\Windows\Markup\XamlTypeMapper.cs (22)
1066MethodInfo mi = ei.GetAddMethod(true); 1074MethodInfo mi = pi.GetSetMethod(true); 1082MethodInfo mi = pi.GetGetMethod(true); 1090MethodInfo mi = pi.GetGetMethod(true); 1137private bool IsAllowedMethod(MethodInfo mi, bool checkProtected) 1253MethodInfo mi = ei.GetAddMethod(true); 1376MethodInfo mi = memberInfo as MethodInfo; 1452if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 2) 1463if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 1) 1470if (tryInternal && memberInfo != null && !IsAllowedMethod(memberInfo as MethodInfo, false)) 1539MethodInfo mi = memberInfo as MethodInfo; 1612if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 2) 1623if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 1) 1630if (tryInternal && memberInfo != null && !IsAllowedMethod(memberInfo as MethodInfo, true)) 2150MethodInfo methodInfo = propertyMember as MethodInfo; 2194MethodInfo methodInfo = propertyMember as MethodInfo; 4305public PropertyAndType (MethodInfo dpSetter, 4321public MethodInfo Setter;
Framework\System\Windows\Markup\XmlAttributeProperties.cs (2)
345internal static MethodInfo XmlSpaceSetter 362private static MethodInfo _xmlSpaceSetter = null;
PresentationCore (5)
Core\CSharp\System\Windows\CultureInfoConverter.cs (1)
144MethodInfo method = typeof(CultureInfo).GetMethod(
Core\CSharp\System\Windows\FontStretchConverter.cs (1)
117MethodInfo mi = typeof(FontStretch).GetMethod("FromOpenTypeStretch", new Type[]{typeof(int)});
Core\CSharp\System\Windows\FontWeightConverter.cs (1)
117MethodInfo mi = typeof(FontWeight).GetMethod("FromOpenTypeWeight", new Type[]{typeof(int)});
Core\CSharp\System\Windows\Markup\XmlLanguageConverter.cs (1)
137MethodInfo method = typeof(XmlLanguage).GetMethod(
Core\CSharp\System\Windows\Media\ColorConverter.cs (1)
121MethodInfo mi = typeof(Color).GetMethod("FromArgb", new Type[]{typeof(byte), typeof(byte), typeof(byte), typeof(byte)});
PresentationFramework (86)
parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
87MethodInfo m = returnDelegate.Method;
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
211MethodInfo mi;
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (2)
502MethodInfo mi = srcType.GetMethod("IndexOf", new Type[] {typeof(object)}); 723private MethodInfo _reflectedIndexOf;
src\Framework\MS\Internal\Data\IndexerPropertyInfo.cs (3)
48public override MethodInfo[] GetAccessors(bool nonPublic) 53public override MethodInfo GetGetMethod(bool nonPublic) 63public override MethodInfo GetSetMethod(bool nonPublic)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1664MethodInfo setter = null;
src\Framework\MS\Internal\Data\StaticPropertyChangedEventManager.cs (2)
274static MethodInfo OnStaticPropertyChangedMethodInfo 603static MethodInfo OnStaticPropertyChangedMethodInfo
src\Framework\MS\Internal\Data\ViewManager.cs (1)
437MethodInfo _callbackMethod;
src\Framework\MS\Internal\Helper.cs (3)
665Debug.Assert(targetMember is PropertyInfo || targetMember is MethodInfo, 676MethodInfo methodInfo = (MethodInfo)targetMember;
src\Framework\MS\Internal\Interop\InternalDispatchObject.cs (8)
65private Dictionary<int, MethodInfo> _dispId2MethodMap; 75MethodInfo[] methods = typeof(IDispInterface).GetMethods(); 76_dispId2MethodMap = new Dictionary<int, MethodInfo>(methods.Length); 77foreach (MethodInfo method in methods) 100MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) 104MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) 108MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) 140MethodInfo method;
src\Framework\System\Windows\Markup\Baml2006\WpfKnownMemberInvoker.cs (1)
13MethodInfo _shouldSerializeMethod = null;
src\Framework\System\Windows\Markup\Baml2006\WpfMemberInvoker.cs (1)
13MethodInfo _shouldSerializeMethod = null;
src\Framework\System\Windows\Markup\Baml2006\WpfXamlMember.cs (7)
44MethodInfo getter, 45MethodInfo setter, 67MethodInfo setter, 192protected override MethodInfo LookupUnderlyingSetter() 195MethodInfo setter = base.LookupUnderlyingSetter(); 207protected override MethodInfo LookupUnderlyingGetter() 210MethodInfo getter = base.LookupUnderlyingGetter();
src\Framework\System\Windows\Markup\Baml2006\WpfXamlType.cs (2)
101foreach (MethodInfo method in map.TargetMethods) 390return new WpfXamlMember(re, (MethodInfo)memberFromBase.UnderlyingMember, SchemaContext, UseV3Rules);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (6)
3699MethodInfo attachedPropertySetter = null; // postpone allocating a reflection data until necessary 3870Debug.Assert(memberInfo is MethodInfo); 3871MethodInfo methodInfo = (MethodInfo)memberInfo; 5849public MethodInfo AttachedPropertyGetter 5867public MethodInfo AttachedPropertySetter
src\Framework\System\Windows\Markup\BamlRecords.cs (6)
4916MethodInfo methodInfo = AttachedPropertySetter; 4952Debug.Assert((propertyMember is MethodInfo) || (propertyMember is PropertyInfo) 5090internal MethodInfo AttachedPropertySetter 5104internal MethodInfo AttachedPropertyGetter 5203MethodInfo _smi = null; 5204MethodInfo _gmi = null;
src\Framework\System\Windows\Markup\BamlWriter.cs (7)
658MethodInfo mi = GetMi(assemblyName, ownerTypeFullName, propName, out ownerType); 1225private MethodInfo GetMi(Type ownerType, string propName) 1227MethodInfo memberInfo = null; 1233if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 2) 1245if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 1) 1253private MethodInfo GetMi( 1259MethodInfo mi = null;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (4)
220MethodInfo shouldSerializeMethod; 341private static bool TryGetShouldSerializeMethod(ShouldSerializeKey key, out MethodInfo methodInfo) 352methodInfo = value as MethodInfo; 357private static void CacheShouldSerializeMethod(ShouldSerializeKey key, MethodInfo methodInfo)
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (21)
948MethodInfo attachedPropertyInfo = null; 1197MethodInfo mi = pi.GetSetMethod(true); 1205MethodInfo mi = pi.GetGetMethod(true); 1213MethodInfo mi = pi.GetSetMethod(true); 1226MethodInfo mi = pi.GetGetMethod(true); 1239MethodInfo mi = ei.GetAddMethod(true); 1253MethodInfo mi = ei.GetAddMethod(true); 1376MethodInfo mi = memberInfo as MethodInfo; 1452if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 2) 1463if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 1) 1539MethodInfo mi = memberInfo as MethodInfo; 1612if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 2) 1623if (memberInfo != null && ((MethodInfo)memberInfo).GetParameters().Length != 1) 2150MethodInfo methodInfo = propertyMember as MethodInfo; 2194MethodInfo methodInfo = propertyMember as MethodInfo; 4305public PropertyAndType (MethodInfo dpSetter, 4321public MethodInfo Setter;
src\Framework\System\Windows\Markup\XmlAttributeProperties.cs (2)
345internal static MethodInfo XmlSpaceSetter 362private static MethodInfo _xmlSpaceSetter = null;
src\Framework\System\Windows\PropertyPath.cs (1)
173MethodInfo mi;
src\Shared\MS\Internal\WindowsRuntime\ReflectionHelper.cs (5)
60MethodInfo method; 93MethodInfo method; 142MethodInfo method; 175MethodInfo method; 229MethodInfo method;
System (69)
compmod\system\codedom\compiler\CodeCompiler.cs (1)
561MethodInfo methodInfo = typeof(Assembly).GetMethod("LoadImageSkipIntegrityCheck", BindingFlags.NonPublic | BindingFlags.Static);
compmod\system\componentmodel\design\serialization\InstanceDescriptor.cs (6)
67else if (member is MethodInfo) { 68MethodInfo mi = (MethodInfo)member; 81MethodInfo mi = pi.GetGetMethod(); 140else if (member is MethodInfo) { 141return ((MethodInfo)member).Invoke(null, translatedArguments);
compmod\system\componentmodel\EnumConverter.cs (1)
185MethodInfo method = typeof(Enum).GetMethod("ToObject", new Type[] {typeof(Type), underlyingType});
compmod\system\componentmodel\MemberDescriptor.cs (3)
422protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType) { 431protected static MethodInfo FindMethod(Type componentClass, string name, Type[] args, Type returnType, bool publicOnly) { 432MethodInfo result = null;
compmod\system\componentmodel\ReflectEventDescriptor.cs (3)
77private MethodInfo addMethod; // the method to use when adding an event 78private MethodInfo removeMethod; // the method to use when removing an event 376private void FillSingleMethodAttribute(MethodInfo realMethodInfo, IList attributes) {
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (14)
87MethodInfo getMethod; // the property get method 88MethodInfo setMethod; // the property set method 89MethodInfo shouldSerializeMethod; // the should serialize method 90MethodInfo resetMethod; // the reset property method 126public ReflectPropertyDescriptor(Type componentClass, string name, Type type, PropertyInfo propInfo, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs) : this(componentClass, name, type, attrs) { 139public ReflectPropertyDescriptor(Type componentClass, string name, Type type, Type receiverType, MethodInfo getMethod, MethodInfo setMethod, Attribute[] attrs) : this(componentClass, name, type, attrs) { 338private MethodInfo GetMethodValue { 407private MethodInfo ResetMethodValue { 446private MethodInfo SetMethodValue { 510private MethodInfo ShouldSerializeMethodValue { 581MethodInfo reset = ResetMethodValue; 583MethodInfo shouldSerialize = ShouldSerializeMethodValue;
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (6)
1050MethodInfo addMethod = eventInfo.GetAddMethod(); 1051MethodInfo removeMethod = eventInfo.GetRemoveMethod(); 1150MethodInfo getMethod = providerType.GetMethod("Get" + provideAttr.PropertyName, new Type[] {receiverType}); 1154MethodInfo setMethod = providerType.GetMethod("Set" + provideAttr.PropertyName, new Type[] {receiverType, getMethod.ReturnType}); 1254MethodInfo getMethod = propertyInfo.GetGetMethod(); 1255MethodInfo setMethod = propertyInfo.GetSetMethod();
compmod\system\componentmodel\TimeSpanConverter.cs (1)
84MethodInfo method = typeof(TimeSpan).GetMethod("Parse", new Type[] {typeof(string)});
compmod\system\componentmodel\TypeListConverter.cs (1)
96MethodInfo method = typeof(Type).GetMethod("GetType", new Type[] {typeof(string)});
misc\SecurityUtils.cs (2)
184private static bool GenericArgumentsAreVisible(MethodInfo method) { 215internal static object MethodInfoInvoke(MethodInfo method, object target, object[] args) {
net\System\Net\_AutoWebProxyScriptHelper.cs (5)
182public override MethodInfo GetBaseDefinition() { 196MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { 200MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) { 204MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { 206return new MethodInfo[0];
net\System\Net\HttpWebRequest.cs (1)
5455MethodInfo methodInfo = callback.Method;
net\System\Net\WebRequest.cs (4)
1194var mi1 = fest.GetMethod("BeginGetResponse", bindingFlags, null, beginParamTypes, null); 1195var mi2 = fest.GetMethod("EndGetResponse", bindingFlags, null, new Type[] { typeof(object), typeof(bool), typeof(bool), typeof(int) }, null); 1196var mi3 = fest.GetMethod("BeginGetRequestStream", bindingFlags, null, beginParamTypes, null); 1197var mi4 = fest.GetMethod("EndGetRequestStream", bindingFlags, null, new Type[] { typeof(object), typeof(bool), typeof(bool) }, null);
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
regex\system\text\regularexpressions\RegexCompiler.cs (20)
55internal static MethodInfo _ensurestorageM; 56internal static MethodInfo _captureM; 57internal static MethodInfo _transferM; 58internal static MethodInfo _uncaptureM; 59internal static MethodInfo _ismatchedM; 60internal static MethodInfo _matchlengthM; 61internal static MethodInfo _matchindexM; 62internal static MethodInfo _isboundaryM; 63internal static MethodInfo _isECMABoundaryM; 64internal static MethodInfo _chartolowerM; 65internal static MethodInfo _getcharM; 66internal static MethodInfo _crawlposM; 67internal static MethodInfo _charInSetM; 68internal static MethodInfo _getCurrentCulture; 69internal static MethodInfo _getInvariantCulture; 70internal static MethodInfo _checkTimeoutM; 184private static MethodInfo RegexRunnerMethod(String methname) { 540internal void Callvirt(MethodInfo mt) { 547internal void Call(MethodInfo mt) { 3316MethodInfo addMethod = typeof(Hashtable).GetMethod("Add", BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic);
System.Activities (157)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (3)
157MethodInfo genericCompileMethod = typeof(VisualBasicHelper).GetMethod("Compile", new Type[] { typeof(LocationReferenceEnvironment) }); 272MethodInfo genericCompileMethod = typeof(VisualBasicHelper).GetMethod("Compile", new Type[] { typeof(LocationReferenceEnvironment) }); 524MethodInfo method = methodCall.Method;
System\Activities\Debugger\State.cs (2)
133internal MethodInfo GetMethodInfo(bool withPriming) 135MethodInfo methodInfo = this.type.GetMethod(withPriming ? StateManager.MethodWithPrimingPrefix + this.methodName : this.methodName);
System\Activities\Debugger\StateManager.cs (8)
39static MethodInfo islandWorkerMethodInfo = threadWorkerControllerType.GetMethod("IslandWorker", BindingFlags.Static | BindingFlags.Public); 222MethodInfo methodInfo = this.dynamicModuleManager.GetIsland(state, this.IsPriming); 441Dictionary<State, MethodInfo> islands; 444Dictionary<State, MethodInfo> islandsWithPriming; 458this.islands = new Dictionary<State, MethodInfo>(); 459this.islandsWithPriming = new Dictionary<State, MethodInfo>(); 734public MethodInfo GetIsland(State state, bool isPriming) 736MethodInfo island = null;
System\Activities\Debugger\XamlDebuggerXmlReader.cs (10)
42private static readonly MethodInfo startLineGetterMethodInfo = attachingType.GetMethod("GetStartLine", BindingFlags.Public | BindingFlags.Static); 43private static readonly MethodInfo startLineSetterMethodInfo = attachingType.GetMethod("SetStartLine", BindingFlags.Public | BindingFlags.Static); 44private static readonly MethodInfo startColumnGetterMethodInfo = attachingType.GetMethod("GetStartColumn", BindingFlags.Public | BindingFlags.Static); 45private static readonly MethodInfo startColumnSetterMethodInfo = attachingType.GetMethod("SetStartColumn", BindingFlags.Public | BindingFlags.Static); 46private static readonly MethodInfo endLineGetterMethodInfo = attachingType.GetMethod("GetEndLine", BindingFlags.Public | BindingFlags.Static); 47private static readonly MethodInfo endLineSetterMethodInfo = attachingType.GetMethod("SetEndLine", BindingFlags.Public | BindingFlags.Static); 48private static readonly MethodInfo endColumnGetterMethodInfo = attachingType.GetMethod("GetEndColumn", BindingFlags.Public | BindingFlags.Static); 49private static readonly MethodInfo endColumnSetterMethodInfo = attachingType.GetMethod("SetEndColumn", BindingFlags.Public | BindingFlags.Static); 657private XamlMember CreateAttachableMember(MethodInfo getter, MethodInfo setter, SourceLocationMemberType memberType)
System\Activities\Debugger\XamlMemberExtensions.cs (6)
19UnitTestUtility.Assert(originalXamlMember.UnderlyingMember is MethodInfo, "Guaranteed by XamlMember."); 20return new XamlMember(originalXamlMember.Name, originalXamlMember.UnderlyingMember as MethodInfo, schemaContext, newInvoker); 40MethodInfo attachablePropertyMethod = originalXamlMember.UnderlyingMember as MethodInfo; 43return new XamlMember(originalXamlMember.Name, null, originalXamlMember.UnderlyingMember as MethodInfo, schemaContext, newInvoker); 47return new XamlMember(originalXamlMember.Name, originalXamlMember.UnderlyingMember as MethodInfo, null, schemaContext, newInvoker);
System\Activities\Expressions\ExpressionServices.cs (14)
20static MethodInfo TryConvertBinaryExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertBinaryExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 21static MethodInfo TryConvertUnaryExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertUnaryExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 22static MethodInfo TryConvertMemberExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertMemberExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 23static MethodInfo TryConvertArgumentExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertArgumentExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 24static MethodInfo TryConvertReferenceMemberExpressionHandle = typeof(ExpressionServices).GetMethod("TryConvertReferenceMemberExpressionWorker", BindingFlags.NonPublic | BindingFlags.Static); 25static MethodInfo TryConvertIndexerReferenceHandle = typeof(ExpressionServices).GetMethod("TryConvertIndexerReferenceWorker", BindingFlags.NonPublic | BindingFlags.Static); 82MethodInfo calledMethod = methodCallExpressionBody.Method; 196MethodInfo calledMethod = methodCallExpressionBody.Method; 254MethodInfo specializedHandle = TryConvertIndexerReferenceHandle.MakeGenericMethod(methodCallExpressionBody.Object.Type, typeof(TResult)); 776MethodInfo specializedHandle = TryConvertBinaryExpressionHandle.MakeGenericMethod(leftType, rightType, typeof(TResult)); 960MethodInfo specializedHandle = TryConvertUnaryExpressionHandle.MakeGenericMethod(operandType, typeof(TResult)); 1020MethodInfo specializedHandle = TryConvertMemberExpressionHandle.MakeGenericMethod(operandType, typeof(TResult)); 1083MethodInfo specializedHandle = TryConvertReferenceMemberExpressionHandle.MakeGenericMethod(operandType, typeof(TResult)); 1236MethodInfo methodInfo = methodCallExpression.Method;
System\Activities\Expressions\IndexerHelper.cs (2)
29public static void CacheMethod<TOperand, TItem>(Collection<InArgument> indices, ref MethodInfo getMethod, ref MethodInfo setMethod)
System\Activities\Expressions\IndexerReference.cs (12)
20MethodInfo getMethod; 21MethodInfo setMethod; 25static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 26new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity); 63MethodInfo oldGetMethod = this.getMethod; 64MethodInfo oldSetMethod = this.setMethod; 126MethodInfo getMethod; 128MethodInfo setMethod; 133public IndexerLocation(TOperand operand, object[] indices, MethodInfo getMethod, MethodInfo setMethod, 208internal MethodInfo SerializedGetMethod 215internal MethodInfo SerializedSetMethod
System\Activities\Expressions\InvokeMethod.cs (2)
28static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 29new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity);
System\Activities\Expressions\MethodCallExpressionHelper.cs (8)
62static MethodCallExpression PrepareForCallExpression(MethodInfo methodInfo, ParameterExpression targetInstance, Collection<ParameterExpression> variables) 76static MethodCallExpression PrepareForCallExpression(MethodInfo methodInfo, ParameterExpression targetInstance, 146static Expression ComposeLinqExpression(MethodInfo methodInfo, ParameterExpression targetInstance, ParameterExpression objectArray, Type returnType, bool valueTypeReference) 160expression = PrepareForCallExpression((MethodInfo)methodInfo, targetInstance, variables, out tempInstance, out assignTempInstanceExpression); 168expression = PrepareForCallExpression((MethodInfo)methodInfo, targetInstance, variables); 195static Func<object, object[], object> GetFunc(CodeActivityMetadata metadata, MethodInfo methodInfo, bool valueTypeReference = false) 251internal static Func<object, object[], object> GetFunc(CodeActivityMetadata metadata, MethodInfo methodInfo, 252MruCache<MethodInfo, Func<object, object[], object>> cache, ReaderWriterLockSlim locker, bool valueTypeReference = false)
System\Activities\Expressions\OperatorPermissionHelper.cs (1)
29internal static Expression InjectReflectionPermissionIfNecessary(MethodInfo method, Expression expression)
System\Activities\Expressions\PropertyReference.cs (6)
18MethodInfo getMethod; 19MethodInfo setMethod; 21static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 22new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity); 40MethodInfo oldGetMethod = this.getMethod; 41MethodInfo oldSetMethod = this.setMethod;
System\Activities\Expressions\PropertyValue.cs (2)
66MethodInfo getMethod = propertyInfo.GetGetMethod(); 67MethodInfo setMethod = propertyInfo.GetSetMethod();
System\Activities\Expressions\ValueTypeIndexerReference.cs (12)
20MethodInfo getMethod; 21MethodInfo setMethod; 26static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 27new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity); 64MethodInfo oldGetMethod = this.getMethod; 65MethodInfo oldSetMethod = this.setMethod; 120MethodInfo getMethod; 122MethodInfo setMethod; 127public IndexerLocation(Location<TOperand> operandLocation, object[] indices, MethodInfo getMethod, MethodInfo setMethod, 208internal MethodInfo SerializedGetMethod 215internal MethodInfo SerializedSetMethod
System\Activities\Expressions\ValueTypePropertyReference.cs (6)
21MethodInfo getMethod; 22MethodInfo setMethod; 24static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 25new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity); 44MethodInfo oldGetMethod = this.getMethod; 45MethodInfo oldSetMethod = this.setMethod;
System\Activities\ExpressionUtilities.cs (23)
23static MethodInfo createLocationFactoryGenericMethod = typeof(ExpressionUtilities).GetMethod("CreateLocationFactory"); 24static MethodInfo propertyDescriptorGetValue; // PropertyDescriptor.GetValue 42static MethodInfo activityContextGetValueGenericMethod = typeof(ActivityContext).GetMethod("GetValue", new Type[] { typeof(LocationReference) }); 43static MethodInfo activityContextGetLocationGenericMethod = typeof(ActivityContext).GetMethod("GetLocation", new Type[] { typeof(LocationReference) }); 44static MethodInfo locationReferenceGetLocationMethod = typeof(LocationReference).GetMethod("GetLocation", new Type[] { typeof(ActivityContext) }); 45static MethodInfo argumentGetLocationMethod = typeof(Argument).GetMethod("GetLocation", new Type[] { typeof(ActivityContext) }); 46static MethodInfo variableGetMethod = typeof(Variable).GetMethod("Get", new Type[] { typeof(ActivityContext) }); 47static MethodInfo delegateArgumentGetMethod = typeof(DelegateArgument).GetMethod("Get", new Type[] { typeof(ActivityContext) }); 49static MethodInfo PropertyDescriptorGetValue 122MethodInfo method = callExpression.Method; 188MethodInfo method = callExpression.Method; 250MethodInfo typedMethod = createLocationFactoryGenericMethod.MakeGenericMethod(expression.Type); 487MethodInfo getItemMethod; 489MethodInfo setItemMethod; 562MethodInfo getItemMethod; 564MethodInfo setItemMethod; 570public IndexerLocation(string indexerName, MethodInfo getItemMethod, MethodInfo setItemMethod, 626internal MethodInfo SerializedGetItemMethod 633internal MethodInfo SerializedSetItemMethod 804MethodInfo getMethodInfo = this.propertyInfo.GetGetMethod(); 825MethodInfo setMethodInfo = this.propertyInfo.GetSetMethod(); 1818MethodInfo targetMethod = methodCall.Method;
System\Activities\Runtime\CallbackWrapper.cs (8)
156MethodInfo FindMatchingGenericMethod(Type declaringType, Type[] parameterTypes, Type genericParameter) 158MethodInfo[] potentialMatches = declaringType.GetMethods(bindingFlags); 161MethodInfo potentialMatch = potentialMatches[i]; 202MethodInfo methodInfo = GetMatchingMethod(parameterTypes, out declaringType); 226MethodInfo methodInfo = GetMatchingMethod(parameters, out unusedDeclaringType); 234MethodInfo GetMatchingMethod(Type[] parameters, out Type declaringType) 268Delegate RecreateCallback(Type delegateType, MethodInfo callbackMethod) 309MethodInfo method = this.callback.Method;
System\Activities\Statements\InvokeMethod.cs (2)
28static MruCache<MethodInfo, Func<object, object[], object>> funcCache = 29new MruCache<MethodInfo, Func<object, object[], object>>(MethodCallExpressionHelper.FuncCacheCapacity);
System\Activities\Statements\MethodExecutor.cs (1)
60protected object[] EvaluateAndPackParameters(CodeActivityContext context, MethodInfo method,
System\Activities\Statements\MethodResolver.cs (29)
26MethodInfo syncMethod; 27MethodInfo beginMethod; 28MethodInfo endMethod; 181public void DetermineMethodInfo(CodeActivityMetadata metadata, MruCache<MethodInfo, Func<object, object[], object>> funcCache, ReaderWriterLockSlim locker, 284MethodInfo result; 342MethodInfo Resolve(Type targetType, string methodName, BindingFlags bindingFlags, 345MethodInfo method; 373static MethodInfo Instantiate(MethodInfo method, Type[] genericTypeArguments) 380return ((MethodInfo)method).MakeGenericMethod(genericTypeArguments); 456MethodInfo instantiatedMethod = Instantiate((MethodInfo)method, this.genericTypeArguments); 504MethodInfo methodInfo = method as MethodInfo; 563MethodInfo syncMethod; 566public SyncMethodExecutor(CodeActivityMetadata metadata, MethodInfo syncMethod, Activity invokingActivity, 569MruCache<MethodInfo, Func<object, object[], object>> funcCache, 586public bool IsTheSame(MethodInfo newMethod) 614MethodInfo beginMethod; 615MethodInfo endMethod; 619public AsyncPatternMethodExecutor(CodeActivityMetadata metadata, MethodInfo beginMethod, MethodInfo endMethod, 622MruCache<MethodInfo, Func<object, object[], object>> funcCache, 645public bool IsTheSame(MethodInfo newBeginMethod, MethodInfo newEndMethod) 679MethodInfo asyncMethod; 682public AsyncWaitCallbackMethodExecutor(CodeActivityMetadata metadata, MethodInfo asyncMethod, Activity invokingActivity, 685MruCache<MethodInfo, Func<object, object[], object>> funcCache, 705public bool IsTheSame(MethodInfo newMethodInfo)
System.Activities.Core.Presentation (8)
System\Activities\Core\Presentation\GenericFlowSwitchHelper.cs (8)
18static readonly MethodInfo genericCopy = typeof(GenericFlowSwitchHelper).GetMethod("GenericCopy"); 19static readonly MethodInfo genericCreateGenericFlowSwitchLink = typeof(GenericFlowSwitchHelper).GetMethod("CreateGenericFlowSwitchLink"); 20static readonly MethodInfo genericGetCaseName = typeof(GenericFlowSwitchHelper).GetMethod("GenericGetCaseName"); 21static readonly MethodInfo genericRemapFlowSwitch = typeof(GenericFlowSwitchHelper).GetMethod("GenericRemapFlowSwitch"); 52MethodInfo copy = genericCopy.MakeGenericMethod(new Type[] { genericType }); 93MethodInfo copy = genericRemapFlowSwitch.MakeGenericMethod(new Type[] { genericType }); 165MethodInfo method = genericCreateGenericFlowSwitchLink.MakeGenericMethod(genericType); 185MethodInfo method = genericGetCaseName.MakeGenericMethod(type);
System.Activities.Presentation (41)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (8)
22static readonly MethodInfo GetViewStateManager = typeof(WorkflowViewState).GetMethod("GetViewStateManager"); 23static readonly MethodInfo SetViewStateManager = typeof(WorkflowViewState).GetMethod("SetViewStateManager"); 24static readonly MethodInfo GetIdRef = typeof(WorkflowViewState).GetMethod("GetIdRef"); 25static readonly MethodInfo SetIdRef = typeof(WorkflowViewState).GetMethod("SetIdRef"); 39static readonly MethodInfo GetOriginalDefinition = typeof(DynamicUpdateInfo).GetMethod("GetOriginalDefinition"); 40static readonly MethodInfo SetOriginalDefinition = typeof(DynamicUpdateInfo).GetMethod("SetOriginalDefinition"); 43static readonly MethodInfo GetOriginalActivityBuilder = typeof(DynamicUpdateInfo).GetMethod("GetOriginalActivityBuilder"); 44static readonly MethodInfo SetOriginalActivityBuilder = typeof(DynamicUpdateInfo).GetMethod("SetOriginalActivityBuilder");
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (2)
226MethodInfo methodInfo = info as MethodInfo;
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (24)
1332protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 1334MethodInfo info; 1356public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 1358MethodInfo[] infos = _baseReflectionType.GetMethods(bindingAttr); 1658MethodInfo m; 1662if ((m = info as MethodInfo) != null) 1697private MethodInfo MergeMethod(MethodInfo info) 1715MethodInfo newInfo = new MetadataMethodInfo(info, this); 1721info = (MethodInfo)cache; 1731private MethodInfo[] MergeMethods(MethodInfo[] infos) 1818public override MethodInfo[] GetAccessors(bool nonPublic) { return _info.GetAccessors(nonPublic); } 1819public override MethodInfo GetGetMethod(bool nonPublic) { return _info.GetGetMethod(nonPublic); } 1821public override MethodInfo GetSetMethod(bool nonPublic) { return _info.GetSetMethod(nonPublic); } 1893public override MethodInfo[] GetOtherMethods(bool nonPublic) { return _info.GetOtherMethods(nonPublic); } 1898public override MethodInfo GetAddMethod(bool nonPublic) { return _info.GetAddMethod(nonPublic); } 1899public override MethodInfo GetRaiseMethod(bool nonPublic) { return _info.GetRaiseMethod(nonPublic); } 1900public override MethodInfo GetRemoveMethod(bool nonPublic) { return _info.GetRemoveMethod(nonPublic); } 1937private MethodInfo _info; 1941internal MetadataMethodInfo(MethodInfo info, MetadataType type) 1963public override MethodInfo GetBaseDefinition() { return _info.GetBaseDefinition(); } 1965public override MethodInfo GetGenericMethodDefinition() { return _info.GetGenericMethodDefinition(); } 1969public override MethodInfo MakeGenericMethod(params Type[] typeArguments) { return _info.MakeGenericMethod(typeArguments); }
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
305MethodInfo initMethod = type.GetMethod("InitializeTypeProperties", BindingFlags.Static | BindingFlags.Public);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
1027MethodInfo addMethod; 1028MethodInfo removeMethod; 1029MethodInfo clearMethod; 1030MethodInfo getEnumeratorMethod;
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
526MethodInfo getPropertyValueMethodInfo = typeof(ModelItemImpl).GetMethod("GetPropertyValue"); 527MethodInfo setPropertyValueMethodInfo = typeof(ModelItemImpl).GetMethod("SetPropertyValue");
System.ComponentModel.DataAnnotations (6)
DataAnnotations\CustomValidationAttribute.cs (3)
52private MethodInfo _methodInfo; 131MethodInfo methodInfo = this._methodInfo; 224MethodInfo methodInfo = this._validatorType.GetMethod(this._method, BindingFlags.Public | BindingFlags.Static);
DataAnnotations\LocalizableString.cs (1)
124MethodInfo getter = property.GetGetMethod();
DataAnnotations\ValidationAttribute.cs (1)
242MethodInfo propertyGetter = property.GetGetMethod(true /*nonPublic*/);
parent\parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System.Configuration (7)
System\Configuration\CallbackValidatorAttribute.cs (1)
36MethodInfo methodInfo = _type.GetMethod(_callbackMethodName, BindingFlags.Public | BindingFlags.Static);
System\Configuration\ClientConfigPaths.cs (1)
484MethodInfo entryPoint = exeAssembly.EntryPoint;
System\Configuration\TypeUtil.cs (5)
147static internal Delegate CreateDelegateRestricted(Type callingType, Type delegateType, MethodInfo targetMethod) { 160DynamicMethod dm = CreateDynamicMethod(callingType, returnType: typeof(Delegate), parameterTypes: new Type[] { typeof(Type), typeof(MethodInfo) }); 166ilGen.Emit(OpCodes.Call, typeof(Delegate).GetMethod("CreateDelegate", new Type[] { typeof(Type), typeof(MethodInfo) })); // stack = { retVal } 169var createDelegateDel = (Func<Type, MethodInfo, Delegate>)dm.CreateDelegate(typeof(Func<Type, MethodInfo, Delegate>));
System.Core (324)
Microsoft\Scripting\Actions\CallSite.cs (8)
111MethodInfo method = null; 263MethodInfo invoke = target.GetMethod("Invoke"); 267MethodInfo method = null; 268MethodInfo noMatchMethod = null; 310private static Delegate CreateDelegateHelper(Type delegateType, MethodInfo method) { 314private static bool IsSimpleSignature(MethodInfo invoke, out Type[] sig) { 337private T CreateCustomNoMatchDelegate(MethodInfo invoke) { 358private T CreateCustomUpdateDelegate(MethodInfo invoke) {
Microsoft\Scripting\Actions\CallSiteBinder.cs (1)
73MethodInfo invoke = target.GetMethod("Invoke");
Microsoft\Scripting\Actions\DynamicObject.cs (1)
716foreach (MethodInfo mi in methods) {
Microsoft\Scripting\Ast\BinaryExpression.cs (128)
96public MethodInfo Method { 100internal virtual MethodInfo GetMethod() { 317MethodInfo method = GetMethod(); 340internal static Expression Create(ExpressionType nodeType, Expression left, Expression right, Type type, MethodInfo method, LambdaExpression conversion) { 362MethodInfo method = GetMethod(); 378MethodInfo method = GetMethod(); 421MethodInfo opTrueFalse = TypeUtils.GetBooleanOperator(Method.DeclaringType, opName); 519internal OpAssignMethodConversionBinaryExpression(ExpressionType nodeType, Expression left, Expression right, Type type, MethodInfo method, LambdaExpression conversion) 553private readonly MethodInfo _method; 555internal MethodBinaryExpression(ExpressionType nodeType, Expression left, Expression right, Type type, MethodInfo method) 560internal override MethodInfo GetMethod() { 593MethodInfo method = GetUserDefinedBinaryOperator(binaryType, left.Type, right.Type, name); 614private static BinaryExpression GetMethodBasedBinaryOperator(ExpressionType binaryType, Expression left, Expression right, MethodInfo method, bool liftToNull) { 640private static BinaryExpression GetMethodBasedAssignOperator(ExpressionType binaryType, Expression left, Expression right, MethodInfo method, LambdaExpression conversion, bool liftToNull) { 683private static MethodInfo GetUserDefinedBinaryOperator(ExpressionType binaryType, Type leftType, Type rightType, string name) { 690MethodInfo method = nnLeftType.GetMethodValidated(name, flags, null, types, null); 702private static bool IsLiftingConditionalLogicalOperator(Type left, Type right, MethodInfo method, ExpressionType binaryType) { 725private static void ValidateOperator(MethodInfo method) { 735private static void ValidateMethodInfo(MethodInfo method) { 769private static void ValidateUserDefinedConditionalLogicOperator(ExpressionType nodeType, Type left, Type right, MethodInfo method) { 792MethodInfo opTrue = TypeUtils.GetBooleanOperator(method.DeclaringType, "op_True"); 793MethodInfo opFalse = TypeUtils.GetBooleanOperator(method.DeclaringType, "op_False"); 802private static void VerifyOpTrueFalse(ExpressionType nodeType, Type left, MethodInfo opTrue) { 840public static BinaryExpression MakeBinary(ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method) { 856public static BinaryExpression MakeBinary(ExpressionType binaryType, Expression left, Expression right, bool liftToNull, MethodInfo method, LambdaExpression conversion) { 960/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 965public static BinaryExpression Equal(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1008/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1012public static BinaryExpression NotEqual(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1086/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1091public static BinaryExpression GreaterThan(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1117/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1122public static BinaryExpression LessThan(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1148/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1153public static BinaryExpression GreaterThanOrEqual(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1179/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1184public static BinaryExpression LessThanOrEqual(Expression left, Expression right, bool liftToNull, MethodInfo method) { 1226/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1230public static BinaryExpression AndAlso(Expression left, Expression right, MethodInfo method) { 1272/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1276public static BinaryExpression OrElse(Expression left, Expression right, MethodInfo method) { 1340MethodInfo method = delegateType.GetMethod("Invoke"); 1404/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1408public static BinaryExpression Add(Expression left, Expression right, MethodInfo method) { 1437/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1441public static BinaryExpression AddAssign(Expression left, Expression right, MethodInfo method) { 1450/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1457public static BinaryExpression AddAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1474private static void ValidateOpAssignConversionLambda(LambdaExpression conversion, Expression left, MethodInfo method, ExpressionType nodeType) { 1477MethodInfo mi = delegateType.GetMethod("Invoke"); 1513/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1517public static BinaryExpression AddAssignChecked(Expression left, Expression right, MethodInfo method) { 1526/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1532public static BinaryExpression AddAssignChecked(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1567/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1571public static BinaryExpression AddChecked(Expression left, Expression right, MethodInfo method) { 1600/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1604public static BinaryExpression Subtract(Expression left, Expression right, MethodInfo method) { 1633/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1637public static BinaryExpression SubtractAssign(Expression left, Expression right, MethodInfo method) { 1646/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1652public static BinaryExpression SubtractAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1686/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1690public static BinaryExpression SubtractAssignChecked(Expression left, Expression right, MethodInfo method) { 1699/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1705public static BinaryExpression SubtractAssignChecked(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1739/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1743public static BinaryExpression SubtractChecked(Expression left, Expression right, MethodInfo method) { 1772/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1776public static BinaryExpression Divide(Expression left, Expression right, MethodInfo method) { 1805/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1809public static BinaryExpression DivideAssign(Expression left, Expression right, MethodInfo method) { 1818/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1824public static BinaryExpression DivideAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1858/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1862public static BinaryExpression Modulo(Expression left, Expression right, MethodInfo method) { 1891/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1895public static BinaryExpression ModuloAssign(Expression left, Expression right, MethodInfo method) { 1904/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1910public static BinaryExpression ModuloAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 1944/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1948public static BinaryExpression Multiply(Expression left, Expression right, MethodInfo method) { 1977/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1981public static BinaryExpression MultiplyAssign(Expression left, Expression right, MethodInfo method) { 1990/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 1996public static BinaryExpression MultiplyAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2030/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2034public static BinaryExpression MultiplyAssignChecked(Expression left, Expression right, MethodInfo method) { 2043/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2049public static BinaryExpression MultiplyAssignChecked(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2083/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2087public static BinaryExpression MultiplyChecked(Expression left, Expression right, MethodInfo method) { 2129/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2133public static BinaryExpression LeftShift(Expression left, Expression right, MethodInfo method) { 2163/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2167public static BinaryExpression LeftShiftAssign(Expression left, Expression right, MethodInfo method) { 2176/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2182public static BinaryExpression LeftShiftAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2217/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2221public static BinaryExpression RightShift(Expression left, Expression right, MethodInfo method) { 2251/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2255public static BinaryExpression RightShiftAssign(Expression left, Expression right, MethodInfo method) { 2264/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2270public static BinaryExpression RightShiftAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2305/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2309public static BinaryExpression And(Expression left, Expression right, MethodInfo method) { 2338/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2342public static BinaryExpression AndAssign(Expression left, Expression right, MethodInfo method) { 2351/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2357public static BinaryExpression AndAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2391/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2395public static BinaryExpression Or(Expression left, Expression right, MethodInfo method) { 2424/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2428public static BinaryExpression OrAssign(Expression left, Expression right, MethodInfo method) { 2437/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2443public static BinaryExpression OrAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2476/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2480public static BinaryExpression ExclusiveOr(Expression left, Expression right, MethodInfo method) { 2508/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2512public static BinaryExpression ExclusiveOrAssign(Expression left, Expression right, MethodInfo method) { 2521/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2527public static BinaryExpression ExclusiveOrAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) { 2560/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2564public static BinaryExpression Power(Expression left, Expression right, MethodInfo method) { 2594/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2598public static BinaryExpression PowerAssign(Expression left, Expression right, MethodInfo method) { 2607/// <param name="method">A <see cref="MethodInfo"/> to set the <see cref="P:BinaryExpression.Method"/> property equal to.</param> 2613public static BinaryExpression PowerAssign(Expression left, Expression right, MethodInfo method, LambdaExpression conversion) {
Microsoft\Scripting\Ast\DynamicExpression.cs (7)
708var method = GetValidMethodForDynamic(delegateType); 734var method = GetValidMethodForDynamic(delegateType); 763var method = GetValidMethodForDynamic(delegateType); 795var method = GetValidMethodForDynamic(delegateType); 830var method = GetValidMethodForDynamic(delegateType); 846private static MethodInfo GetValidMethodForDynamic(Type delegateType) { 847var method = delegateType.GetMethod("Invoke");
Microsoft\Scripting\Ast\ElementInit.cs (9)
36private MethodInfo _addMethod; 39internal ElementInit(MethodInfo addMethod, ReadOnlyCollection<Expression> arguments) { 44/// Gets the <see cref="MethodInfo"/> used to add elements to the object. 46public MethodInfo AddMethod { 95/// <param name="addMethod">The <see cref="MethodInfo"/> for the list's Add method.</param> 98public static ElementInit ElementInit(MethodInfo addMethod, params Expression[] arguments) { 105/// <param name="addMethod">The <see cref="MethodInfo"/> for the list's Add method.</param> 108public static ElementInit ElementInit(MethodInfo addMethod, IEnumerable<Expression> arguments) { 120private static void ValidateElementInitAddMethodInfo(MethodInfo addMethod) {
Microsoft\Scripting\Ast\Expression.cs (2)
43private static readonly CacheDict<Type, MethodInfo> _LambdaDelegateCache = new CacheDict<Type, MethodInfo>(40);
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (4)
46public MethodInfo Method { get { return _node.Method; } } 310public MethodInfo Method { get { return _node.Method; } } 395public MethodInfo Comparison { get { return _node.Comparison; } } 446public MethodInfo Method { get { return _node.Method; } }
Microsoft\Scripting\Ast\ExpressionStringBuilder.cs (1)
780var toString = node.GetType().GetMethod("ToString", flags, null, Type.EmptyTypes, null);
Microsoft\Scripting\Ast\IndexExpression.cs (5)
293MethodInfo mi; 366MethodInfo getter = property.GetGetMethod(true); 372MethodInfo setter = property.GetSetMethod(true); 400private static void ValidateAccessor(Expression instance, MethodInfo method, ParameterInfo[] indexes, ref ReadOnlyCollection<Expression> arguments) { 416private static void ValidateAccessorArgumentTypes(MethodInfo method, ParameterInfo[] indexes, ref ReadOnlyCollection<Expression> arguments) {
Microsoft\Scripting\Ast\InvocationExpression.cs (2)
183var mi = GetInvokeMethod(expression); 192internal static MethodInfo GetInvokeMethod(Expression expression) {
Microsoft\Scripting\Ast\LambdaExpression.cs (2)
266MethodInfo create = null; 528MethodInfo mi;
Microsoft\Scripting\Ast\ListInitExpression.cs (5)
154MethodInfo addMethod = FindMethod(newExpression.Type, "Add", null, new Expression[] { initializerlist[0] }, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 162/// <param name="addMethod">A <see cref="MethodInfo"/> that represents an instance method named "Add" (case insensitive), that adds an element to a collection. </param> 165public static ListInitExpression ListInit(NewExpression newExpression, MethodInfo addMethod, params Expression[] initializers) { 178/// <param name="addMethod">A <see cref="MethodInfo"/> that represents an instance method named "Add" (case insensitive), that adds an element to a collection. </param> 181public static ListInitExpression ListInit(NewExpression newExpression, MethodInfo addMethod, IEnumerable<Expression> initializers) {
Microsoft\Scripting\Ast\MemberAssignment.cs (1)
87public static MemberAssignment Bind(MethodInfo propertyAccessor, Expression expression) {
Microsoft\Scripting\Ast\MemberExpression.cs (5)
261MethodInfo mi = property.GetGetMethod(true) ?? property.GetSetMethod(true); 285public static MemberExpression Property(Expression expression, MethodInfo propertyAccessor) { 291private static PropertyInfo GetProperty(MethodInfo mi) { 307private static bool CheckMethod(MethodInfo method, MethodInfo propertyMethod) {
Microsoft\Scripting\Ast\MemberListBinding.cs (2)
110public static MemberListBinding ListBind(MethodInfo propertyAccessor, params ElementInit[] initializers) { 124public static MemberListBinding ListBind(MethodInfo propertyAccessor, IEnumerable<ElementInit> initializers) {
Microsoft\Scripting\Ast\MemberMemberBinding.cs (2)
109public static MemberMemberBinding MemberBind(MethodInfo propertyAccessor, params MemberBinding[] bindings) { 124public static MemberMemberBinding MemberBind(MethodInfo propertyAccessor, IEnumerable<MemberBinding> bindings) {
Microsoft\Scripting\Ast\MethodCallExpression.cs (44)
40private readonly MethodInfo _method; 42internal MethodCallExpression(MethodInfo method) { 68/// Gets the <see cref="MethodInfo" /> for the method to be called. 70public MethodInfo Method { 145public MethodCallExpressionN(MethodInfo method, IList<Expression> args) 176public InstanceMethodCallExpressionN(MethodInfo method, Expression instance, IList<Expression> args) 211public MethodCallExpression1(MethodInfo method, Expression arg0) 249public MethodCallExpression2(MethodInfo method, Expression arg0, Expression arg1) 288public MethodCallExpression3(MethodInfo method, Expression arg0, Expression arg1, Expression arg2) 329public MethodCallExpression4(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3) 372public MethodCallExpression5(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4) 419public InstanceMethodCallExpression2(MethodInfo method, Expression instance, Expression arg0, Expression arg1) 466public InstanceMethodCallExpression3(MethodInfo method, Expression instance, Expression arg0, Expression arg1, Expression arg2) 522public static MethodCallExpression Call(MethodInfo method, Expression arg0) { 542public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1) { 565public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2) { 591public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3) { 621public static MethodCallExpression Call(MethodInfo method, Expression arg0, Expression arg1, Expression arg2, Expression arg3, Expression arg4) { 645/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 648public static MethodCallExpression Call(MethodInfo method, params Expression[] arguments) { 655/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 658public static MethodCallExpression Call(MethodInfo method, IEnumerable<Expression> arguments) { 666/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 668public static MethodCallExpression Call(Expression instance, MethodInfo method) { 676/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 679public static MethodCallExpression Call(Expression instance, MethodInfo method, params Expression[] arguments) { 687/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 691public static MethodCallExpression Call(Expression instance, MethodInfo method, Expression arg0, Expression arg1) { 714/// <param name="method">The <see cref="MethodInfo" /> that represents the target method.</param> 719public static MethodCallExpression Call(Expression instance, MethodInfo method, Expression arg0, Expression arg1, Expression arg2) { 792public static MethodCallExpression Call(Expression instance, MethodInfo method, IEnumerable<Expression> arguments) { 808private static ParameterInfo[] ValidateMethodAndGetParameters(Expression instance, MethodInfo method) { 815private static void ValidateStaticOrInstanceMethod(Expression instance, MethodInfo method) { 828private static void ValidateCallInstanceType(Type instanceType, MethodInfo method) { 931private static MethodInfo FindMethod(Type type, string methodName, Type[] typeArgs, Expression[] args, BindingFlags flags) { 936MethodInfo method; 938var methodInfos = members.Map(t => (MethodInfo)t); 953private static int FindBestMethod(IEnumerable<MethodInfo> methods, Type[] typeArgs, Expression[] args, out MethodInfo method) { 956foreach (MethodInfo mi in methods) { 957MethodInfo moo = ApplyTypeArgs(mi, typeArgs); 993private static MethodInfo ApplyTypeArgs(MethodInfo m, Type[] typeArgs) { 1046MethodInfo mi = array.Type.GetMethod("Get", BindingFlags.Public | BindingFlags.Instance);
Microsoft\Scripting\Ast\NewExpression.cs (2)
318MethodInfo method = member as MethodInfo;
Microsoft\Scripting\Ast\SwitchExpression.cs (7)
43private readonly MethodInfo _comparison; 45internal SwitchExpression(Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, ReadOnlyCollection<SwitchCase> cases) { 94public MethodInfo Comparison { 162public static SwitchExpression Switch(Expression switchValue, Expression defaultBody, MethodInfo comparison, params SwitchCase[] cases) { 175public static SwitchExpression Switch(Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, params SwitchCase[] cases) { 187public static SwitchExpression Switch(Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable<SwitchCase> cases) { 200public static SwitchExpression Switch(Type type, Expression switchValue, Expression defaultBody, MethodInfo comparison, IEnumerable<SwitchCase> cases) {
Microsoft\Scripting\Ast\TypeUtils.cs (9)
440internal static MethodInfo GetUserDefinedCoercionMethod(Type convertFrom, Type convertToType, bool implicitOnly) { 445MethodInfo[] eMethods = nnExprType.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); 446MethodInfo method = FindConversionOperator(eMethods, convertFrom, convertToType, implicitOnly); 450MethodInfo[] cMethods = nnConvType.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic); 469internal static MethodInfo FindConversionOperator(MethodInfo[] methods, Type typeFrom, Type typeTo, bool implicitOnly) { 470foreach (MethodInfo mi in methods) { 669internal static MethodInfo GetBooleanOperator(Type type, string name) { 671MethodInfo result = type.GetMethodValidated(name, AnyStatic, null, new Type[] { type }, null);
Microsoft\Scripting\Ast\UnaryExpression.cs (28)
40private readonly MethodInfo _method; 44internal UnaryExpression(ExpressionType nodeType, Expression expression, Type type, MethodInfo method) { 78/// <returns>The <see cref="MethodInfo"/> that represents the implementing method.</returns> 79public MethodInfo Method { 312/// <param name="method">The <see cref="MethodInfo"></see> that represents the implementing method.</param> 317public static UnaryExpression MakeUnary(ExpressionType unaryType, Expression operand, Type type, MethodInfo method) { 378MethodInfo method = nnOperandType.GetMethodValidated(name, flags, null, types, null); 393private static UnaryExpression GetMethodBasedUnaryOperator(ExpressionType unaryType, Expression operand, MethodInfo method) { 422MethodInfo method = TypeUtils.GetUserDefinedCoercionMethod(expression.Type, convertToType, false); 430private static UnaryExpression GetMethodBasedCoercionOperator(ExpressionType unaryType, Expression operand, Type convertToType, MethodInfo method) { 464/// <param name="method">A <see cref="MethodInfo"></see> to set the <see cref="P:UnaryExpression.Method"></see> property equal to.</param> 469public static UnaryExpression Negate(Expression expression, MethodInfo method) { 495/// <param name="method">A <see cref="MethodInfo"></see> to set the <see cref="UnaryExpression.Method"></see> property equal to.</param> 500public static UnaryExpression UnaryPlus(Expression expression, MethodInfo method) { 531public static UnaryExpression NegateChecked(Expression expression, MethodInfo method) { 562public static UnaryExpression Not(Expression expression, MethodInfo method) { 592public static UnaryExpression IsFalse(Expression expression, MethodInfo method) { 618public static UnaryExpression IsTrue(Expression expression, MethodInfo method) { 644public static UnaryExpression OnesComplement(Expression expression, MethodInfo method) { 711public static UnaryExpression Convert(Expression expression, Type type, MethodInfo method) { 748public static UnaryExpression ConvertChecked(Expression expression, Type type, MethodInfo method) { 856public static UnaryExpression Increment(Expression expression, MethodInfo method) { 882public static UnaryExpression Decrement(Expression expression, MethodInfo method) { 911public static UnaryExpression PreIncrementAssign(Expression expression, MethodInfo method) { 932public static UnaryExpression PreDecrementAssign(Expression expression, MethodInfo method) { 953public static UnaryExpression PostIncrementAssign(Expression expression, MethodInfo method) { 974public static UnaryExpression PostDecrementAssign(Expression expression, MethodInfo method) { 978private static UnaryExpression MakeOpAssignUnary(ExpressionType kind, Expression expression, MethodInfo method) {
Microsoft\Scripting\Compiler\ILGen.cs (5)
40Debug.Assert(methodBase is MethodInfo || methodBase is ConstructorInfo); 45il.Emit(opcode, (MethodInfo)methodBase); 867MethodInfo mi = nullableType.GetMethod("get_HasValue", BindingFlags.Instance | BindingFlags.Public); 874MethodInfo mi = nullableType.GetMethod("get_Value", BindingFlags.Instance | BindingFlags.Public); 881MethodInfo mi = nullableType.GetMethod("GetValueOrDefault", System.Type.EmptyTypes);
Microsoft\Scripting\Compiler\LambdaCompiler.Address.cs (2)
173MethodInfo mi = node.Object.Type.GetMethod("Address", BindingFlags.Public | BindingFlags.Instance); 192var address = node.Object.Type.GetMethod("Address", BindingFlags.Public | BindingFlags.Instance);
Microsoft\Scripting\Compiler\LambdaCompiler.cs (1)
53private readonly MethodInfo _method;
Microsoft\Scripting\Compiler\LambdaCompiler.Expressions.cs (10)
275var method = node.Indexer.GetGetMethod(true); 289var method = node.Indexer.GetSetMethod(true); 314private void EmitMethodCall(Expression obj, MethodInfo method, IArgumentProvider methodCallExpr) { 318private void EmitMethodCall(Expression obj, MethodInfo method, IArgumentProvider methodCallExpr, CompilationFlags flags) { 334private void EmitMethodCall(MethodInfo mi, IArgumentProvider args, Type objectType) { 339private void EmitMethodCall(MethodInfo mi, IArgumentProvider args, Type objectType, CompilationFlags flags) { 368private static bool MethodHasByRefParameter(MethodInfo mi) { 377private void EmitCall(Type objectType, MethodInfo method) { 389private static bool UseVirtual(MethodInfo mi) { 490var invoke = node.DelegateType.GetMethod("Invoke");
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (3)
97_boundConstants.EmitConstant(this, dynamicMethod, typeof(MethodInfo)); 104_ilg.Emit(OpCodes.Callvirt, typeof(MethodInfo).GetMethod("CreateDelegate", new Type[] { typeof(Type), typeof(object) })); 110_ilg.Emit(OpCodes.Ldftn, (MethodInfo)inner._method);
Microsoft\Scripting\Compiler\LambdaCompiler.Logical.cs (2)
283MethodInfo opFalse = TypeUtils.GetBooleanOperator(b.Method.DeclaringType, "op_False"); 410MethodInfo opTrue = TypeUtils.GetBooleanOperator(b.Method.DeclaringType, "op_True");
Microsoft\Scripting\Compiler\LambdaCompiler.Statements.cs (1)
585MethodInfo add = typeof(Dictionary<string, int>).GetMethod("Add", new[] { typeof(string), typeof(int) });
Microsoft\Scripting\Utils\TypeExtensions.cs (5)
29internal static Delegate CreateDelegate(this MethodInfo methodInfo, Type delegateType, object target) { 41return (mi.IsConstructor) ? mi.DeclaringType : ((MethodInfo)mi).ReturnType; 72internal static MethodInfo GetMethodValidated( 80var method = type.GetMethod(name, bindingAttr, binder, types, modifiers); 95private static bool MatchesArgumentTypes(this MethodInfo mi, Type[] argTypes) {
System\Linq\IQueryable.cs (6)
45private static MethodInfo GetMethodInfo<T1, T2>(Func<T1, T2> f, T1 unused1) { 49private static MethodInfo GetMethodInfo<T1, T2, T3>(Func<T1, T2, T3> f, T1 unused1, T2 unused2) { 53private static MethodInfo GetMethodInfo<T1, T2, T3, T4>(Func<T1, T2, T3, T4> f, T1 unused1, T2 unused2, T3 unused3) { 57private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5>(Func<T1, T2, T3, T4, T5> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4) { 61private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5, T6>(Func<T1, T2, T3, T4, T5, T6> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4, T5 unused5) { 65private static MethodInfo GetMethodInfo<T1, T2, T3, T4, T5, T6, T7>(Func<T1, T2, T3, T4, T5, T6, T7> f, T1 unused1, T2 unused2, T3 unused3, T4 unused4, T5 unused5, T6 unused6) {
System\Linq\SequenceQuery.cs (10)
207MethodInfo seqMethod = FindEnumerableMethod(m.Method.Name, args, typeArgs); 214MethodInfo method = FindMethod(m.Method.DeclaringType, m.Method.Name, args, typeArgs, flags); 222private ReadOnlyCollection<Expression> FixupQuotedArgs(MethodInfo mi, ReadOnlyCollection<Expression> argList) { 312private static volatile ILookup<string, MethodInfo> _seqMethods; 313static MethodInfo FindEnumerableMethod(string name, ReadOnlyCollection<Expression> args, params Type[] typeArgs) { 317MethodInfo mi = _seqMethods[name].FirstOrDefault(m => ArgsMatch(m, args, typeArgs)); 325internal static MethodInfo FindMethod(Type type, string name, ReadOnlyCollection<Expression> args, Type[] typeArgs, BindingFlags flags) { 326MethodInfo[] methods = type.GetMethods(flags).Where(m => m.Name == name).ToArray(); 329MethodInfo mi = methods.FirstOrDefault(m => ArgsMatch(m, args, typeArgs)); 337private static bool ArgsMatch(MethodInfo m, ReadOnlyCollection<Expression> args, Type[] typeArgs) {
System\Runtime\InteropServices\ComAwareEventInfo.cs (4)
71public override System.Reflection.MethodInfo GetAddMethod(bool nonPublic) { 75public override System.Reflection.MethodInfo GetRaiseMethod(bool nonPublic) { 79public override System.Reflection.MethodInfo GetRemoveMethod(bool nonPublic) { 126System.Reflection.MethodInfo methodInfo = sourceItf.GetMethod(eventInfo.Name);
System.Data (59)
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\ViewStateXamlHelper.cs (8)
22static readonly MethodInfo GetViewStateManager = typeof(WorkflowViewState).GetMethod("GetViewStateManager"); 23static readonly MethodInfo SetViewStateManager = typeof(WorkflowViewState).GetMethod("SetViewStateManager"); 24static readonly MethodInfo GetIdRef = typeof(WorkflowViewState).GetMethod("GetIdRef"); 25static readonly MethodInfo SetIdRef = typeof(WorkflowViewState).GetMethod("SetIdRef"); 39static readonly MethodInfo GetOriginalDefinition = typeof(DynamicUpdateInfo).GetMethod("GetOriginalDefinition"); 40static readonly MethodInfo SetOriginalDefinition = typeof(DynamicUpdateInfo).GetMethod("SetOriginalDefinition"); 43static readonly MethodInfo GetOriginalActivityBuilder = typeof(DynamicUpdateInfo).GetMethod("GetOriginalActivityBuilder"); 44static readonly MethodInfo SetOriginalActivityBuilder = typeof(DynamicUpdateInfo).GetMethod("SetOriginalActivityBuilder");
cdf\src\NetFx40\Tools\Microsoft.Tools.Common\Microsoft\VisualStudio\Activities\WorkflowDesignerExtensionManager.cs (4)
18private static MethodInfo internalGetExtensionMethodInfo; 19private static MethodInfo internalGetExtensionsMethodInfo; 33private static MethodInfo InternalGetExtensionMethodInfo 47private static MethodInfo InternalGetExtensionsMethodInfo
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\Metadata\AttributeDataCache.cs (2)
226MethodInfo methodInfo = info as MethodInfo;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (24)
1332protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 1334MethodInfo info; 1356public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 1358MethodInfo[] infos = _baseReflectionType.GetMethods(bindingAttr); 1658MethodInfo m; 1662if ((m = info as MethodInfo) != null) 1697private MethodInfo MergeMethod(MethodInfo info) 1715MethodInfo newInfo = new MetadataMethodInfo(info, this); 1721info = (MethodInfo)cache; 1731private MethodInfo[] MergeMethods(MethodInfo[] infos) 1818public override MethodInfo[] GetAccessors(bool nonPublic) { return _info.GetAccessors(nonPublic); } 1819public override MethodInfo GetGetMethod(bool nonPublic) { return _info.GetGetMethod(nonPublic); } 1821public override MethodInfo GetSetMethod(bool nonPublic) { return _info.GetSetMethod(nonPublic); } 1893public override MethodInfo[] GetOtherMethods(bool nonPublic) { return _info.GetOtherMethods(nonPublic); } 1898public override MethodInfo GetAddMethod(bool nonPublic) { return _info.GetAddMethod(nonPublic); } 1899public override MethodInfo GetRaiseMethod(bool nonPublic) { return _info.GetRaiseMethod(nonPublic); } 1900public override MethodInfo GetRemoveMethod(bool nonPublic) { return _info.GetRemoveMethod(nonPublic); } 1937private MethodInfo _info; 1941internal MetadataMethodInfo(MethodInfo info, MetadataType type) 1963public override MethodInfo GetBaseDefinition() { return _info.GetBaseDefinition(); } 1965public override MethodInfo GetGenericMethodDefinition() { return _info.GetGenericMethodDefinition(); } 1969public override MethodInfo MakeGenericMethod(params Type[] typeArguments) { return _info.MakeGenericMethod(typeArguments); }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
305MethodInfo initMethod = type.GetMethod("InitializeTypeProperties", BindingFlags.Static | BindingFlags.Public);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (4)
1027MethodInfo addMethod; 1028MethodInfo removeMethod; 1029MethodInfo clearMethod; 1030MethodInfo getEnumeratorMethod;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
526MethodInfo getPropertyValueMethodInfo = typeof(ModelItemImpl).GetMethod("GetPropertyValue"); 527MethodInfo setPropertyValueMethodInfo = typeof(ModelItemImpl).GetMethod("SetPropertyValue");
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
104System.Reflection.MethodInfo method = typeof(Type).GetMethod("GetType", new Type[] {typeof(string)}); // change done for security review
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
134MethodInfo createSqlReaderMethodInfo = typeof(System.Xml.XmlReader).GetMethod("CreateSqlReader", BindingFlags.Static | BindingFlags.NonPublic);
fx\src\data\System\Data\SqlClient\SqlUtil.cs (9)
1853private static readonly Lazy<MethodInfo> _enlistPromotableSinglePhase = new Lazy<MethodInfo>(() => 1856private static readonly Lazy<MethodInfo> _setDistributedTransactionIdentifier = new Lazy<MethodInfo>(() => 1859private static readonly Lazy<MethodInfo> _getPromotedToken = new Lazy<MethodInfo>(() => 1866public static MethodInfo EnlistPromotableSinglePhase { 1877public static MethodInfo SetDistributedTransactionIdentifier { 1887public static MethodInfo GetPromotedToken {
fx\src\data\System\Data\SQLTypes\SqlXml.cs (3)
46 private MethodInfo createSqlReaderMethodInfo; 51private static MethodInfo s_createSqlReaderMethodInfo; 137private static MethodInfo CreateSqlReaderMethodInfo {
System.Data.Entity (584)
System\Data\Common\CommandTrees\DbLambda.cs (1)
690private static DbVariableReferenceExpression[] CreateVariables(MethodInfo lambdaMethod, params TypeUsage[] argumentTypes)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
1740private static string ExtractAlias(MethodInfo method) 1748internal static string[] ExtractAliases(MethodInfo method)
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (3)
310private static readonly MethodInfo s_userMaterializationFuncInvokeMethod = typeof(Func<DbDataReader, object[], object>).GetMethod("Invoke"); 489var method = m.Method; 539private static bool IsUserExpressionMethod(MethodInfo method)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
838MethodInfo readerMethod = Translator.GetReaderMethod(typeof(T), out isNullable);
System\Data\Common\Internal\Materialization\Translator.cs (61)
267MethodInfo compile = Translator_Compile.MakeGenericMethod(resultType); 519MethodInfo createMethod = Translator_TypedCreateInlineDelegate.MakeGenericMethod(delegateReturnType); 537private static readonly MethodInfo DbDataReader_GetValue = typeof(DbDataReader).GetMethod("GetValue"); 538private static readonly MethodInfo DbDataReader_GetString = typeof(DbDataReader).GetMethod("GetString"); 539private static readonly MethodInfo DbDataReader_GetInt16 = typeof(DbDataReader).GetMethod("GetInt16"); 540private static readonly MethodInfo DbDataReader_GetInt32 = typeof(DbDataReader).GetMethod("GetInt32"); 541private static readonly MethodInfo DbDataReader_GetInt64 = typeof(DbDataReader).GetMethod("GetInt64"); 542private static readonly MethodInfo DbDataReader_GetBoolean = typeof(DbDataReader).GetMethod("GetBoolean"); 543private static readonly MethodInfo DbDataReader_GetDecimal = typeof(DbDataReader).GetMethod("GetDecimal"); 544private static readonly MethodInfo DbDataReader_GetFloat = typeof(DbDataReader).GetMethod("GetFloat"); 545private static readonly MethodInfo DbDataReader_GetDouble = typeof(DbDataReader).GetMethod("GetDouble"); 546private static readonly MethodInfo DbDataReader_GetDateTime = typeof(DbDataReader).GetMethod("GetDateTime"); 547private static readonly MethodInfo DbDataReader_GetGuid = typeof(DbDataReader).GetMethod("GetGuid"); 548private static readonly MethodInfo DbDataReader_GetByte = typeof(DbDataReader).GetMethod("GetByte"); 549private static readonly MethodInfo DbDataReader_IsDBNull = typeof(DbDataReader).GetMethod("IsDBNull"); 554private static readonly MethodInfo IEntityKeyWithKey_EntityKey = typeof(System.Data.Objects.DataClasses.IEntityWithKey).GetProperty("EntityKey").GetSetMethod(); 556private static readonly MethodInfo IEqualityComparerOfString_Equals = typeof(IEqualityComparer<String>).GetMethod("Equals", new Type[] { typeof(string), typeof(string) }); 563private static readonly MethodInfo RecordState_GatherData = typeof(RecordState).GetMethod("GatherData", BindingFlags.NonPublic | BindingFlags.Instance); 564private static readonly MethodInfo RecordState_SetNullRecord = typeof(RecordState).GetMethod("SetNullRecord", BindingFlags.NonPublic | BindingFlags.Instance); 566private static readonly MethodInfo Shaper_Discriminate = typeof(Shaper).GetMethod("Discriminate"); 567private static readonly MethodInfo Shaper_GetPropertyValueWithErrorHandling = typeof(Shaper).GetMethod("GetPropertyValueWithErrorHandling"); 568private static readonly MethodInfo Shaper_GetColumnValueWithErrorHandling = typeof(Shaper).GetMethod("GetColumnValueWithErrorHandling"); 569private static readonly MethodInfo Shaper_GetGeographyColumnValue = typeof(Shaper).GetMethod("GetGeographyColumnValue"); 570private static readonly MethodInfo Shaper_GetGeometryColumnValue = typeof(Shaper).GetMethod("GetGeometryColumnValue"); 571private static readonly MethodInfo Shaper_GetSpatialColumnValueWithErrorHandling = typeof(Shaper).GetMethod("GetSpatialColumnValueWithErrorHandling"); 572private static readonly MethodInfo Shaper_GetSpatialPropertyValueWithErrorHandling = typeof(Shaper).GetMethod("GetSpatialPropertyValueWithErrorHandling"); 573private static readonly MethodInfo Shaper_HandleEntity = typeof(Shaper).GetMethod("HandleEntity"); 574private static readonly MethodInfo Shaper_HandleEntityAppendOnly = typeof(Shaper).GetMethod("HandleEntityAppendOnly"); 575private static readonly MethodInfo Shaper_HandleEntityNoTracking = typeof(Shaper).GetMethod("HandleEntityNoTracking"); 576private static readonly MethodInfo Shaper_HandleFullSpanCollection = typeof(Shaper).GetMethod("HandleFullSpanCollection"); 577private static readonly MethodInfo Shaper_HandleFullSpanElement = typeof(Shaper).GetMethod("HandleFullSpanElement"); 578private static readonly MethodInfo Shaper_HandleIEntityWithKey = typeof(Shaper).GetMethod("HandleIEntityWithKey"); 579private static readonly MethodInfo Shaper_HandleRelationshipSpan = typeof(Shaper).GetMethod("HandleRelationshipSpan"); 580private static readonly MethodInfo Shaper_SetColumnValue = typeof(Shaper).GetMethod("SetColumnValue"); 581private static readonly MethodInfo Shaper_SetEntityRecordInfo = typeof(Shaper).GetMethod("SetEntityRecordInfo"); 582private static readonly MethodInfo Shaper_SetState = typeof(Shaper).GetMethod("SetState"); 583private static readonly MethodInfo Shaper_SetStatePassthrough = typeof(Shaper).GetMethod("SetStatePassthrough"); 585private static readonly MethodInfo Translator_BinaryEquals = typeof(Translator).GetMethod("BinaryEquals", BindingFlags.NonPublic | BindingFlags.Static); 586private static readonly MethodInfo Translator_CheckedConvert = typeof(Translator).GetMethod("CheckedConvert", BindingFlags.NonPublic | BindingFlags.Static); 587private static readonly MethodInfo Translator_Compile = typeof(Translator).GetMethod("Compile", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(Expression) }, null); 588private static readonly MethodInfo Translator_MultipleDiscriminatorPolymorphicColumnMapHelper = typeof(Translator).GetMethod("MultipleDiscriminatorPolymorphicColumnMapHelper", BindingFlags.NonPublic | BindingFlags.Instance); 589private static readonly MethodInfo Translator_TypedCreateInlineDelegate = typeof(Translator).GetMethod("TypedCreateInlineDelegate", BindingFlags.NonPublic | BindingFlags.Instance); 593private static readonly MethodInfo EntityProxyTypeInfo_SetEntityWrapper = typeof(EntityProxyTypeInfo).GetMethod("SetEntityWrapper", BindingFlags.NonPublic | BindingFlags.Instance); 601private static readonly MethodInfo EntityWrapperFactory_GetPocoPropertyAccessorStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetPocoPropertyAccessorStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 602private static readonly MethodInfo EntityWrapperFactory_GetNullPropertyAccessorStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetNullPropertyAccessorStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 603private static readonly MethodInfo EntityWrapperFactory_GetEntityWithChangeTrackerStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetEntityWithChangeTrackerStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 604private static readonly MethodInfo EntityWrapperFactory_GetSnapshotChangeTrackingStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetSnapshotChangeTrackingStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 605private static readonly MethodInfo EntityWrapperFactory_GetEntityWithKeyStrategyStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetEntityWithKeyStrategyStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 606private static readonly MethodInfo EntityWrapperFactory_GetPocoEntityKeyStrategyFunc = typeof(EntityWrapperFactory).GetMethod("GetPocoEntityKeyStrategyFunc", BindingFlags.NonPublic | BindingFlags.Static); 724MethodInfo checkedConvertMethod = Translator_CheckedConvert.MakeGenericMethod(input.Type, type); 1364MethodInfo propertyAccessor; 1401private static PropertyInfo GetProperty(MethodInfo setterMethod, Type declaringType) 1482MethodInfo multipleDiscriminatorPolymorphicColumnMapHelper = Translator_MultipleDiscriminatorPolymorphicColumnMapHelper.MakeGenericMethod(arg.RequestedType); 1518MethodInfo shaperDiscriminateOfT = Shaper_Discriminate.MakeGenericMethod(typeof(TElement)); 1748MethodInfo handleFullSpanCollectionMethod = Shaper_HandleFullSpanCollection.MakeGenericMethod(arg.RequestedType, elementType); 1756MethodInfo handleRelationshipSpanMethod = Shaper_HandleRelationshipSpan.MakeGenericMethod(arg.RequestedType); 1762MethodInfo handleFullSpanElementMethod = Shaper_HandleFullSpanElement.MakeGenericMethod(arg.RequestedType, spannedResultReader.Type); 1865MethodInfo getElementsExpression = typeof(Coordinator<>).MakeGenericType(elementType).GetMethod("GetElements", BindingFlags.NonPublic | BindingFlags.Instance); 2085MethodInfo readerMethod = GetReaderMethod(type, out needsNullableCheck); 2137internal static MethodInfo GetReaderMethod(Type type, out bool isNullable) 2141MethodInfo result;
System\Data\Metadata\AspProxy.cs (2)
156MethodInfo miMapPath = hostingEnvType.GetMethod("MapPath"); 225MethodInfo getRefAssembliesMethod = buildManager.GetMethod(
System\Data\Metadata\Edm\EdmProperty.cs (1)
67System.Reflection.MethodInfo method;
System\Data\Metadata\Edm\ItemCollection.cs (2)
220MethodInfo mi = typeof(ItemCollection).GetMethod("GenericGetItems", BindingFlags.NonPublic | BindingFlags.Static); 221MethodInfo genericMi = mi.MakeGenericMethod(type);
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (8)
111MethodInfo mi = navigationProperty.GetSetMethod(true); 194var mi = (MethodInfo)MethodBase.GetMethodFromHandle(rmh, entityDeclaringType); 309MethodInfo mi; 394internal static void ValidateSetterProperty(RuntimeTypeHandle entityDeclaringType, RuntimeMethodHandle setterMethodHandle, out MethodInfo setterMethodInfo, out Type realType) 402setterMethodInfo = (MethodInfo)MethodBase.GetMethodFromHandle(setterMethodHandle, entityDeclaringType); 475MethodInfo genericCreateRelatedEndMethod = typeof(LightweightCodeGenerator).GetMethod("CreateGetRelatedEndMethod", BindingFlags.NonPublic | BindingFlags.Static, null, new Type[] { typeof(AssociationEndMember), typeof(AssociationEndMember), typeof(NavigationPropertyAccessor), typeof(NavigationPropertyAccessor) }, null); 478MethodInfo createRelatedEndMethod = genericCreateRelatedEndMethod.MakeGenericMethod(sourceEntityType.ClrType, targetEntityType.ClrType);
System\Data\Metadata\Edm\NavigationProperty.cs (1)
50System.Reflection.MethodInfo method;
System\Data\Objects\ELinq\ELinqQueryState.cs (1)
242MethodInfo includeMethod = sourceQuery.GetType().GetMethod("Include", BindingFlags.Public | BindingFlags.Instance);
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1531MethodInfo methodInfo = ((MethodCallExpression)Expression).Method; 1552MethodInfo methodInfo = ((MethodCallExpression)Expression).Method;
System\Data\Objects\ELinq\InitializerFacet.cs (3)
33internal static readonly MethodInfo UserExpressionMarker = typeof(InitializerMetadata).GetMethod("MarkAsUserExpression", BindingFlags.NonPublic | BindingFlags.Static); 466private static readonly MethodInfo s_createEntityCollectionMethod = typeof(EntityCollectionInitializerMetadata).GetMethod("CreateEntityCollection", 475MethodInfo createEntityCollectionMethod = s_createEntityCollectionMethod.MakeGenericMethod(elementType);
System\Data\Objects\ELinq\LinqExpressionNormalizer.cs (4)
289MethodInfo containsMethod; 292MethodInfo enumerableContainsMethod = containsMethod.MakeGenericMethod(declaringType.GetGenericArguments()); 423private static readonly MethodInfo s_relationalOperatorPlaceholderMethod = typeof(LinqExpressionNormalizer).GetMethod("RelationalOperatorPlaceholder", BindingFlags.Static | BindingFlags.NonPublic); 453MethodInfo relationalOperatorPlaceholderMethod = s_relationalOperatorPlaceholderMethod.MakeGenericMethod(left.Type, right.Type);
System\Data\Objects\ELinq\MethodCallTranslator.cs (46)
95private static readonly Dictionary<MethodInfo, CallTranslator> s_methodTranslators = InitializeMethodTranslators(); 101private static Dictionary<MethodInfo, CallTranslator> InitializeMethodTranslators() 104Dictionary<MethodInfo, CallTranslator> methodTranslators = new Dictionary<MethodInfo, CallTranslator>(); 107foreach (MethodInfo method in translator.Methods) 151private static bool TryGetCallTranslator(MethodInfo methodInfo, out CallTranslator callTranslator) 181foreach (MethodInfo method in translator.Methods) 321private readonly IEnumerable<MethodInfo> _methods; 322protected CallTranslator(params MethodInfo[] methods) { _methods = methods; } 323protected CallTranslator(IEnumerable<MethodInfo> methods) { _methods = methods; } 324internal IEnumerable<MethodInfo> Methods { get { return _methods; } } 333internal static bool IsCandidateMethod(MethodInfo method) 523MethodInfo suggestedMethodInfo; 533private static readonly Dictionary<MethodInfo, MethodInfo> s_alternativeMethods = InitializeAlternateMethodInfos(); 543private static bool TryGetAlternativeMethod(MethodInfo originalMethodInfo, out MethodInfo suggestedMethodInfo) 572private static Dictionary<MethodInfo, MethodInfo> InitializeAlternateMethodInfos() 574return new Dictionary<MethodInfo, MethodInfo>(1); 817private static IEnumerable<MethodInfo> GetMethods() 819var result = new List<MethodInfo> 880protected AsUnicodeNonUnicodeBaseFunctionTranslator(IEnumerable<MethodInfo> methods, bool isUnicode) 917private static IEnumerable<MethodInfo> GetMethods() 928private static IEnumerable<MethodInfo> GetMethods() 978private static IEnumerable<MethodInfo> GetMethods() 1008private static IEnumerable<MethodInfo> GetMethods() 1030private static IEnumerable<MethodInfo> GetMethods() 1061private static IEnumerable<MethodInfo> GetMethods() 1094private static IEnumerable<MethodInfo> GetMethods() 1133private static IEnumerable<MethodInfo> GetMethods() 1215private static IEnumerable<MethodInfo> GetMethods() 1258private static IEnumerable<MethodInfo> GetMethods() 1287private static IEnumerable<MethodInfo> GetMethods() 1316protected TrimBaseTranslator(IEnumerable<MethodInfo> methods, string canonicalFunctionName) 1363private static IEnumerable<MethodInfo> GetMethods() 1373private static IEnumerable<MethodInfo> GetMethods() 1383private static IEnumerable<MethodInfo> GetMethods() 1399private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly) 1430private static readonly Dictionary<MethodInfo, string> s_methodNameMap = new Dictionary<MethodInfo, string>(4); 1435private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly) 1445private static MethodInfo GetMethod(Type declaringType, string methodName, string canonicalFunctionName, Type[] argumentTypes) 1447MethodInfo methodInfo = declaringType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static, null, argumentTypes, null); 1483private static IEnumerable<MethodInfo> GetMethods(Assembly vbAssembly)
System\Data\Objects\ELinq\ReflectionUtil.cs (9)
24private static readonly Dictionary<MethodInfo, SequenceMethod> s_methodMap; 25private static readonly Dictionary<SequenceMethod, MethodInfo> s_inverseMap; 342s_methodMap = new Dictionary<MethodInfo, SequenceMethod>(); 343s_inverseMap = new Dictionary<SequenceMethod, MethodInfo>(); 344foreach (MethodInfo method in GetAllLinqOperators()) 363internal static bool TryIdentifySequenceMethod(MethodInfo method, out SequenceMethod sequenceMethod) 411internal static bool TryLookupMethod(SequenceMethod sequenceMethod, out MethodInfo method) 427internal static string GetCanonicalMethodDescription(MethodInfo method) 496internal static IEnumerable<MethodInfo> GetAllLinqOperators()
System\Data\Objects\ELinq\SpatialMethodCallTranslator.cs (11)
36private static readonly Dictionary<MethodInfo, string> methodFunctionRenames = GetRenamedMethodFunctions(); 43private static MethodInfo GetStaticMethod<TResult>(Expression<Func<TResult>> lambda) 45MethodInfo method = ((MethodCallExpression)lambda.Body).Method; 52private static MethodInfo GetInstanceMethod<T, TResult>(Expression<Func<T, TResult>> lambda) 54MethodInfo method = ((MethodCallExpression)lambda.Body).Method; 62private static IEnumerable<MethodInfo> GetSupportedMethods() 141private static Dictionary<MethodInfo, string> GetRenamedMethodFunctions() 143Dictionary<MethodInfo, string> result = new Dictionary<MethodInfo, string>(); 229MethodInfo method = (MethodInfo)call.Method;
System\Data\Objects\ELinq\Translator.cs (1)
385MethodInfo countMethod;
System\Data\Objects\ELinq\TypeSystem.cs (8)
23private static readonly MethodInfo s_getDefaultMethod = typeof(TypeSystem).GetMethod( 37MethodInfo getDefaultMethod = s_getDefaultMethod.MakeGenericMethod(type); 134MethodInfo method = (MethodInfo)member; 206internal static bool IsImplementationOfGenericInterfaceMethod(this MethodInfo test, Type match, out Type[] genericTypeArguments) 262MethodInfo getInterfaceProp = interfaceProp.GetGetMethod(); 272MethodInfo[] targetMethods = interfaceMap.TargetMethods; 277MethodInfo getPropertyMethod = propertyInfo.GetGetMethod();
System\Data\Objects\EntityFunctions.cs (64)
40return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 54return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 68return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 82return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 96return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 110return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 124return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 138return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 152return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 166return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 180return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 194return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 208return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 222return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 236return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 250return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 264return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 278return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 292return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 306return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 320return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 334return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 348return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 362return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 376return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 390return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 404return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 418return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 432return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 446return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 460return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection))); 474return ((IQueryable)objectQuerySource).Provider.Execute<System.Double?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(collection)));
System\Data\Objects\Internal\EntityProxyFactory.cs (29)
580private static bool CanProxyMethod(MethodInfo method) 738MethodInfo baseGetter = baseProperty.GetGetMethod(true); 759MethodInfo baseSetter = baseProperty.GetSetMethod(true); ; 874MethodInfo baseGetter = baseProperty.GetGetMethod(true); 889MethodInfo interceptorInvoke = TypeBuilder.GetMethod(interceptorType, typeof(Func<,,>).GetMethod("Invoke")); 979static readonly MethodInfo s_StringEquals = typeof(string).GetMethod("op_Equality", new Type[] { typeof(string), typeof(string) }); 1051static readonly MethodInfo s_EntityMemberChanging = typeof(IEntityChangeTracker).GetMethod("EntityMemberChanging", new Type[] { typeof(string) }); 1052static readonly MethodInfo s_EntityMemberChanged = typeof(IEntityChangeTracker).GetMethod("EntityMemberChanged", new Type[] { typeof(string) }); 1053static readonly MethodInfo s_CreateRelationshipManager = typeof(RelationshipManager).GetMethod("Create", new Type[] { typeof(IEntityWithRelationships) }); 1054static readonly MethodInfo s_GetRelationshipManager = typeof(IEntityWithRelationships).GetProperty("RelationshipManager").GetGetMethod(); 1055static readonly MethodInfo s_GetRelatedReference = typeof(RelationshipManager).GetMethod("GetRelatedReference", new Type[] { typeof(string), typeof(string) }); 1056static readonly MethodInfo s_GetRelatedCollection = typeof(RelationshipManager).GetMethod("GetRelatedCollection", new Type[] { typeof(string), typeof(string) }); 1057static readonly MethodInfo s_GetRelatedEnd = typeof(RelationshipManager).GetMethod("GetRelatedEnd", new Type[] { typeof(string), typeof(string) }); 1058static readonly MethodInfo s_ObjectEquals = typeof(object).GetMethod("Equals", new Type[] { typeof(object), typeof(object) }); 1060static readonly MethodInfo s_IEntityWrapper_GetEntity = typeof(IEntityWrapper).GetProperty("Entity").GetGetMethod(); 1061static readonly MethodInfo s_Action_Invoke = typeof(Action<object>).GetMethod("Invoke", new Type[] { typeof(object) }); 1062static readonly MethodInfo s_Func_object_object_bool_Invoke = typeof(Func<object, object, bool>).GetMethod("Invoke", new Type[] { typeof(object), typeof(object) }); 1175MethodInfo getRelatedCollection = s_GetRelatedCollection.MakeGenericMethod(EntityUtil.GetCollectionElementType(navProperty.Value.PropertyType)); 1226MethodInfo baseSetter = baseProperty.GetSetMethod(true); 1238MethodInfo baseGetter = baseProperty.GetGetMethod(true); 1278MethodInfo op_inequality = propertyType.GetMethod("op_Inequality", new Type[] { propertyType, propertyType }); 1348MethodInfo baseSetter = baseProperty.GetSetMethod(true); ; 1351MethodInfo specificGetRelatedReference = s_GetRelatedReference.MakeGenericMethod(baseProperty.PropertyType); 1352MethodInfo specificEntityReferenceSetValue = typeof(EntityReference<>).MakeGenericType(baseProperty.PropertyType).GetMethod("set_Value"); ; 1372MethodInfo baseSetter = baseProperty.GetSetMethod(true); ; 1559private readonly MethodInfo _getObjectDataMethod; 1617MethodInfo getTypeFromHandle = typeof(Type).GetMethod("GetTypeFromHandle", new Type[] { typeof(RuntimeTypeHandle) }); 1618MethodInfo addValue = typeof(SerializationInfo).GetMethod("AddValue", new Type[] { typeof(string), typeof(object), typeof(Type) }); 1619MethodInfo getValue = typeof(SerializationInfo).GetMethod("GetValue", new Type[] { typeof(string), typeof(Type) });
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (2)
113MethodInfo baseGetterMethod = proxyType.GetMethod("GetBasePropertyValue", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string) }, null); 122MethodInfo baseSetterMethod = proxyType.GetMethod("SetBasePropertyValue", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { typeof(string), typeof(object) }, null);
System\Data\Objects\Internal\EntityWrapperFactory.cs (1)
89MethodInfo createDelegate;
System\Data\Objects\Internal\ObjectQueryState.cs (1)
314MethodInfo createMethod = typeof(ObjectQueryState).GetMethod("CreateObjectQuery", BindingFlags.Static | BindingFlags.Public);
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (4)
23private static readonly MethodInfo s_AddToCollectionGeneric = typeof(PocoPropertyAccessorStrategy).GetMethod("AddToCollection", BindingFlags.NonPublic | BindingFlags.Static); 24private static readonly MethodInfo s_RemoveFromCollectionGeneric = typeof(PocoPropertyAccessorStrategy).GetMethod("RemoveFromCollection", BindingFlags.NonPublic | BindingFlags.Static); 187MethodInfo addToCollection = s_AddToCollectionGeneric.MakeGenericMethod(elementType); 247MethodInfo removeFromCollection = s_RemoveFromCollectionGeneric.MakeGenericMethod(elementType);
System\Data\Objects\ObjectQuery_TResultType.cs (2)
133MethodInfo mergeAsMethod = objectQueryType.GetMethod("MergeAs", BindingFlags.Instance | BindingFlags.NonPublic); 141MethodInfo includeSpanMethod = objectQueryType.GetMethod("IncludeSpan", BindingFlags.Instance | BindingFlags.NonPublic);
System\Data\Objects\SqlClient\SqlFunctions.cs (4)
40return ((IQueryable)objectQuerySource).Provider.Execute<System.Int32?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(arg))); 54return ((IQueryable)objectQuerySource).Provider.Execute<System.Int32?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(arg)));
System\Data\SqlClient\SqlSpatialDataReader.cs (1)
91var readMethod = spatialType.GetMethod("Read", BindingFlags.Public | BindingFlags.Instance, null, new[] { typeof(System.IO.BinaryReader) }, null);
System\Data\SqlClient\SqlSpatialServices.cs (4)
257private MethodInfo FindSqlGeographyMethod(string methodName, params Type[] argTypes) 262private MethodInfo FindSqlGeographyStaticMethod(string methodName, params Type[] argTypes) 272private MethodInfo FindSqlGeometryStaticMethod(string methodName, params Type[] argTypes) 277private MethodInfo FindSqlGeometryMethod(string methodName, params Type[] argTypes)
System\Data\SqlClient\SqlSpatialServices.Generated.cs (303)
932private Singleton<MethodInfo> smi_SqlGeography_Parse; 934private Singleton<MethodInfo> smi_SqlGeography_STGeomFromText; 936private Singleton<MethodInfo> smi_SqlGeography_STPointFromText; 938private Singleton<MethodInfo> smi_SqlGeography_STLineFromText; 940private Singleton<MethodInfo> smi_SqlGeography_STPolyFromText; 942private Singleton<MethodInfo> smi_SqlGeography_STMPointFromText; 944private Singleton<MethodInfo> smi_SqlGeography_STMLineFromText; 946private Singleton<MethodInfo> smi_SqlGeography_STMPolyFromText; 948private Singleton<MethodInfo> smi_SqlGeography_STGeomCollFromText; 950private Singleton<MethodInfo> smi_SqlGeography_STGeomFromWKB; 952private Singleton<MethodInfo> smi_SqlGeography_STPointFromWKB; 954private Singleton<MethodInfo> smi_SqlGeography_STLineFromWKB; 956private Singleton<MethodInfo> smi_SqlGeography_STPolyFromWKB; 958private Singleton<MethodInfo> smi_SqlGeography_STMPointFromWKB; 960private Singleton<MethodInfo> smi_SqlGeography_STMLineFromWKB; 962private Singleton<MethodInfo> smi_SqlGeography_STMPolyFromWKB; 964private Singleton<MethodInfo> smi_SqlGeography_STGeomCollFromWKB; 966private Singleton<MethodInfo> smi_SqlGeography_GeomFromGml; 970private Singleton<MethodInfo> imi_SqlGeography_STGeometryType; 972private Singleton<MethodInfo> imi_SqlGeography_STDimension; 974private Singleton<MethodInfo> imi_SqlGeography_STAsBinary; 976private Singleton<MethodInfo> imi_SqlGeography_AsGml; 978private Singleton<MethodInfo> imi_SqlGeography_STAsText; 980private Singleton<MethodInfo> imi_SqlGeography_STIsEmpty; 982private Singleton<MethodInfo> imi_SqlGeography_STEquals; 984private Singleton<MethodInfo> imi_SqlGeography_STDisjoint; 986private Singleton<MethodInfo> imi_SqlGeography_STIntersects; 988private Singleton<MethodInfo> imi_SqlGeography_STBuffer; 990private Singleton<MethodInfo> imi_SqlGeography_STDistance; 992private Singleton<MethodInfo> imi_SqlGeography_STIntersection; 994private Singleton<MethodInfo> imi_SqlGeography_STUnion; 996private Singleton<MethodInfo> imi_SqlGeography_STDifference; 998private Singleton<MethodInfo> imi_SqlGeography_STSymDifference; 1000private Singleton<MethodInfo> imi_SqlGeography_STNumGeometries; 1002private Singleton<MethodInfo> imi_SqlGeography_STGeometryN; 1012private Singleton<MethodInfo> imi_SqlGeography_STLength; 1014private Singleton<MethodInfo> imi_SqlGeography_STStartPoint; 1016private Singleton<MethodInfo> imi_SqlGeography_STEndPoint; 1018private Singleton<MethodInfo> imi_SqlGeography_STIsClosed; 1020private Singleton<MethodInfo> imi_SqlGeography_STNumPoints; 1022private Singleton<MethodInfo> imi_SqlGeography_STPointN; 1024private Singleton<MethodInfo> imi_SqlGeography_STArea; 1026private Singleton<MethodInfo> smi_SqlGeometry_Parse; 1028private Singleton<MethodInfo> smi_SqlGeometry_STGeomFromText; 1030private Singleton<MethodInfo> smi_SqlGeometry_STPointFromText; 1032private Singleton<MethodInfo> smi_SqlGeometry_STLineFromText; 1034private Singleton<MethodInfo> smi_SqlGeometry_STPolyFromText; 1036private Singleton<MethodInfo> smi_SqlGeometry_STMPointFromText; 1038private Singleton<MethodInfo> smi_SqlGeometry_STMLineFromText; 1040private Singleton<MethodInfo> smi_SqlGeometry_STMPolyFromText; 1042private Singleton<MethodInfo> smi_SqlGeometry_STGeomCollFromText; 1044private Singleton<MethodInfo> smi_SqlGeometry_STGeomFromWKB; 1046private Singleton<MethodInfo> smi_SqlGeometry_STPointFromWKB; 1048private Singleton<MethodInfo> smi_SqlGeometry_STLineFromWKB; 1050private Singleton<MethodInfo> smi_SqlGeometry_STPolyFromWKB; 1052private Singleton<MethodInfo> smi_SqlGeometry_STMPointFromWKB; 1054private Singleton<MethodInfo> smi_SqlGeometry_STMLineFromWKB; 1056private Singleton<MethodInfo> smi_SqlGeometry_STMPolyFromWKB; 1058private Singleton<MethodInfo> smi_SqlGeometry_STGeomCollFromWKB; 1060private Singleton<MethodInfo> smi_SqlGeometry_GeomFromGml; 1064private Singleton<MethodInfo> imi_SqlGeometry_STGeometryType; 1066private Singleton<MethodInfo> imi_SqlGeometry_STDimension; 1068private Singleton<MethodInfo> imi_SqlGeometry_STEnvelope; 1070private Singleton<MethodInfo> imi_SqlGeometry_STAsBinary; 1072private Singleton<MethodInfo> imi_SqlGeometry_AsGml; 1074private Singleton<MethodInfo> imi_SqlGeometry_STAsText; 1076private Singleton<MethodInfo> imi_SqlGeometry_STIsEmpty; 1078private Singleton<MethodInfo> imi_SqlGeometry_STIsSimple; 1080private Singleton<MethodInfo> imi_SqlGeometry_STBoundary; 1082private Singleton<MethodInfo> imi_SqlGeometry_STIsValid; 1084private Singleton<MethodInfo> imi_SqlGeometry_STEquals; 1086private Singleton<MethodInfo> imi_SqlGeometry_STDisjoint; 1088private Singleton<MethodInfo> imi_SqlGeometry_STIntersects; 1090private Singleton<MethodInfo> imi_SqlGeometry_STTouches; 1092private Singleton<MethodInfo> imi_SqlGeometry_STCrosses; 1094private Singleton<MethodInfo> imi_SqlGeometry_STWithin; 1096private Singleton<MethodInfo> imi_SqlGeometry_STContains; 1098private Singleton<MethodInfo> imi_SqlGeometry_STOverlaps; 1100private Singleton<MethodInfo> imi_SqlGeometry_STRelate; 1102private Singleton<MethodInfo> imi_SqlGeometry_STBuffer; 1104private Singleton<MethodInfo> imi_SqlGeometry_STDistance; 1106private Singleton<MethodInfo> imi_SqlGeometry_STConvexHull; 1108private Singleton<MethodInfo> imi_SqlGeometry_STIntersection; 1110private Singleton<MethodInfo> imi_SqlGeometry_STUnion; 1112private Singleton<MethodInfo> imi_SqlGeometry_STDifference; 1114private Singleton<MethodInfo> imi_SqlGeometry_STSymDifference; 1116private Singleton<MethodInfo> imi_SqlGeometry_STNumGeometries; 1118private Singleton<MethodInfo> imi_SqlGeometry_STGeometryN; 1128private Singleton<MethodInfo> imi_SqlGeometry_STLength; 1130private Singleton<MethodInfo> imi_SqlGeometry_STStartPoint; 1132private Singleton<MethodInfo> imi_SqlGeometry_STEndPoint; 1134private Singleton<MethodInfo> imi_SqlGeometry_STIsClosed; 1136private Singleton<MethodInfo> imi_SqlGeometry_STIsRing; 1138private Singleton<MethodInfo> imi_SqlGeometry_STNumPoints; 1140private Singleton<MethodInfo> imi_SqlGeometry_STPointN; 1142private Singleton<MethodInfo> imi_SqlGeometry_STArea; 1144private Singleton<MethodInfo> imi_SqlGeometry_STCentroid; 1146private Singleton<MethodInfo> imi_SqlGeometry_STPointOnSurface; 1148private Singleton<MethodInfo> imi_SqlGeometry_STExteriorRing; 1150private Singleton<MethodInfo> imi_SqlGeometry_STNumInteriorRing; 1152private Singleton<MethodInfo> imi_SqlGeometry_STInteriorRingN; 1156this.smi_SqlGeography_Parse = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("Parse", SqlTypes.SqlStringType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member Parse"); return result; }); 1157this.smi_SqlGeography_STGeomFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomFromText"); return result; }); 1158this.smi_SqlGeography_STPointFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointFromText"); return result; }); 1159this.smi_SqlGeography_STLineFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLineFromText"); return result; }); 1160this.smi_SqlGeography_STPolyFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPolyFromText"); return result; }); 1161this.smi_SqlGeography_STMPointFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPointFromText"); return result; }); 1162this.smi_SqlGeography_STMLineFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMLineFromText"); return result; }); 1163this.smi_SqlGeography_STMPolyFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPolyFromText"); return result; }); 1164this.smi_SqlGeography_STGeomCollFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomCollFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomCollFromText"); return result; }); 1165this.smi_SqlGeography_STGeomFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomFromWKB"); return result; }); 1166this.smi_SqlGeography_STPointFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointFromWKB"); return result; }); 1167this.smi_SqlGeography_STLineFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLineFromWKB"); return result; }); 1168this.smi_SqlGeography_STPolyFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPolyFromWKB"); return result; }); 1169this.smi_SqlGeography_STMPointFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPointFromWKB"); return result; }); 1170this.smi_SqlGeography_STMLineFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMLineFromWKB"); return result; }); 1171this.smi_SqlGeography_STMPolyFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPolyFromWKB"); return result; }); 1172this.smi_SqlGeography_STGeomCollFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomCollFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomCollFromWKB"); return result; }); 1173this.smi_SqlGeography_GeomFromGml = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("GeomFromGml", SqlTypes.SqlXmlType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member GeomFromGml"); return result; }); 1175this.imi_SqlGeography_STGeometryType = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STGeometryType"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeometryType"); return result; }); 1176this.imi_SqlGeography_STDimension = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDimension"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDimension"); return result; }); 1177this.imi_SqlGeography_STAsBinary = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STAsBinary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STAsBinary"); return result; }); 1178this.imi_SqlGeography_AsGml = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("AsGml"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member AsGml"); return result; }); 1179this.imi_SqlGeography_STAsText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STAsText"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STAsText"); return result; }); 1180this.imi_SqlGeography_STIsEmpty = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIsEmpty"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIsEmpty"); return result; }); 1181this.imi_SqlGeography_STEquals = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STEquals", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STEquals"); return result; }); 1182this.imi_SqlGeography_STDisjoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDisjoint", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDisjoint"); return result; }); 1183this.imi_SqlGeography_STIntersects = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersects", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersects"); return result; }); 1184this.imi_SqlGeography_STBuffer = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STBuffer", typeof(double)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STBuffer"); return result; }); 1185this.imi_SqlGeography_STDistance = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDistance", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDistance"); return result; }); 1186this.imi_SqlGeography_STIntersection = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersection", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersection"); return result; }); 1187this.imi_SqlGeography_STUnion = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STUnion", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STUnion"); return result; }); 1188this.imi_SqlGeography_STDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDifference", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDifference"); return result; }); 1189this.imi_SqlGeography_STSymDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STSymDifference", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STSymDifference"); return result; }); 1190this.imi_SqlGeography_STNumGeometries = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STNumGeometries"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STNumGeometries"); return result; }); 1191this.imi_SqlGeography_STGeometryN = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STGeometryN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeometryN"); return result; }); 1196this.imi_SqlGeography_STLength = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STLength"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLength"); return result; }); 1197this.imi_SqlGeography_STStartPoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STStartPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STStartPoint"); return result; }); 1198this.imi_SqlGeography_STEndPoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STEndPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STEndPoint"); return result; }); 1199this.imi_SqlGeography_STIsClosed = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIsClosed"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIsClosed"); return result; }); 1200this.imi_SqlGeography_STNumPoints = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STNumPoints"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STNumPoints"); return result; }); 1201this.imi_SqlGeography_STPointN = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STPointN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointN"); return result; }); 1202this.imi_SqlGeography_STArea = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STArea"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STArea"); return result; }); 1203this.smi_SqlGeometry_Parse = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("Parse", SqlTypes.SqlStringType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member Parse"); return result; }); 1204this.smi_SqlGeometry_STGeomFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomFromText"); return result; }); 1205this.smi_SqlGeometry_STPointFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointFromText"); return result; }); 1206this.smi_SqlGeometry_STLineFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLineFromText"); return result; }); 1207this.smi_SqlGeometry_STPolyFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPolyFromText"); return result; }); 1208this.smi_SqlGeometry_STMPointFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPointFromText"); return result; }); 1209this.smi_SqlGeometry_STMLineFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMLineFromText"); return result; }); 1210this.smi_SqlGeometry_STMPolyFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPolyFromText"); return result; }); 1211this.smi_SqlGeometry_STGeomCollFromText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomCollFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomCollFromText"); return result; }); 1212this.smi_SqlGeometry_STGeomFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomFromWKB"); return result; }); 1213this.smi_SqlGeometry_STPointFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointFromWKB"); return result; }); 1214this.smi_SqlGeometry_STLineFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLineFromWKB"); return result; }); 1215this.smi_SqlGeometry_STPolyFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPolyFromWKB"); return result; }); 1216this.smi_SqlGeometry_STMPointFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPointFromWKB"); return result; }); 1217this.smi_SqlGeometry_STMLineFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMLineFromWKB"); return result; }); 1218this.smi_SqlGeometry_STMPolyFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPolyFromWKB"); return result; }); 1219this.smi_SqlGeometry_STGeomCollFromWKB = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomCollFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomCollFromWKB"); return result; }); 1220this.smi_SqlGeometry_GeomFromGml = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("GeomFromGml", SqlTypes.SqlXmlType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member GeomFromGml"); return result; }); 1222this.imi_SqlGeometry_STGeometryType = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STGeometryType"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeometryType"); return result; }); 1223this.imi_SqlGeometry_STDimension = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDimension"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDimension"); return result; }); 1224this.imi_SqlGeometry_STEnvelope = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEnvelope"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEnvelope"); return result; }); 1225this.imi_SqlGeometry_STAsBinary = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STAsBinary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STAsBinary"); return result; }); 1226this.imi_SqlGeometry_AsGml = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("AsGml"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member AsGml"); return result; }); 1227this.imi_SqlGeometry_STAsText = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STAsText"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STAsText"); return result; }); 1228this.imi_SqlGeometry_STIsEmpty = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsEmpty"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsEmpty"); return result; }); 1229this.imi_SqlGeometry_STIsSimple = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsSimple"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsSimple"); return result; }); 1230this.imi_SqlGeometry_STBoundary = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STBoundary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STBoundary"); return result; }); 1231this.imi_SqlGeometry_STIsValid = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsValid"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsValid"); return result; }); 1232this.imi_SqlGeometry_STEquals = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEquals", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEquals"); return result; }); 1233this.imi_SqlGeometry_STDisjoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDisjoint", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDisjoint"); return result; }); 1234this.imi_SqlGeometry_STIntersects = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIntersects", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIntersects"); return result; }); 1235this.imi_SqlGeometry_STTouches = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STTouches", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STTouches"); return result; }); 1236this.imi_SqlGeometry_STCrosses = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STCrosses", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STCrosses"); return result; }); 1237this.imi_SqlGeometry_STWithin = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STWithin", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STWithin"); return result; }); 1238this.imi_SqlGeometry_STContains = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STContains", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STContains"); return result; }); 1239this.imi_SqlGeometry_STOverlaps = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STOverlaps", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STOverlaps"); return result; }); 1240this.imi_SqlGeometry_STRelate = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STRelate", SqlTypes.SqlGeometryType, typeof(string)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STRelate"); return result; }); 1241this.imi_SqlGeometry_STBuffer = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STBuffer", typeof(double)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STBuffer"); return result; }); 1242this.imi_SqlGeometry_STDistance = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDistance", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDistance"); return result; }); 1243this.imi_SqlGeometry_STConvexHull = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STConvexHull"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STConvexHull"); return result; }); 1244this.imi_SqlGeometry_STIntersection = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIntersection", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIntersection"); return result; }); 1245this.imi_SqlGeometry_STUnion = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STUnion", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STUnion"); return result; }); 1246this.imi_SqlGeometry_STDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDifference", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDifference"); return result; }); 1247this.imi_SqlGeometry_STSymDifference = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STSymDifference", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STSymDifference"); return result; }); 1248this.imi_SqlGeometry_STNumGeometries = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumGeometries"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumGeometries"); return result; }); 1249this.imi_SqlGeometry_STGeometryN = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STGeometryN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeometryN"); return result; }); 1254this.imi_SqlGeometry_STLength = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STLength"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLength"); return result; }); 1255this.imi_SqlGeometry_STStartPoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STStartPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STStartPoint"); return result; }); 1256this.imi_SqlGeometry_STEndPoint = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEndPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEndPoint"); return result; }); 1257this.imi_SqlGeometry_STIsClosed = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsClosed"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsClosed"); return result; }); 1258this.imi_SqlGeometry_STIsRing = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsRing"); return result; }); 1259this.imi_SqlGeometry_STNumPoints = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumPoints"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumPoints"); return result; }); 1260this.imi_SqlGeometry_STPointN = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STPointN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointN"); return result; }); 1261this.imi_SqlGeometry_STArea = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STArea"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STArea"); return result; }); 1262this.imi_SqlGeometry_STCentroid = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STCentroid"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STCentroid"); return result; }); 1263this.imi_SqlGeometry_STPointOnSurface = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STPointOnSurface"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointOnSurface"); return result; }); 1264this.imi_SqlGeometry_STExteriorRing = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STExteriorRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STExteriorRing"); return result; }); 1265this.imi_SqlGeometry_STNumInteriorRing = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumInteriorRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumInteriorRing"); return result; }); 1266this.imi_SqlGeometry_STInteriorRingN = new Singleton<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STInteriorRingN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STInteriorRingN"); return result; });
System\Data\SqlClient\SqlTypesAssembly.cs (2)
173MethodInfo asTextMethod = this.SqlGeometryType.GetMethod("STAsText", BindingFlags.Public | BindingFlags.Instance, null, Type.EmptyTypes, null); 522var staticCtorMethod = spatialType.GetMethod(methodName, BindingFlags.Public | BindingFlags.Static);
System.Data.Entity.Design (6)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (1)
580MethodInfo mi = typeof(EdmType).GetMethod("GetAssociatedFacetDescriptions", BindingFlags.NonPublic | BindingFlags.Instance);
System\Data\Entity\Design\EntityCodeGenerator.cs (1)
594private MethodInfo _transformText;
System\Data\EntityModel\Emitters\Utils.cs (4)
134MethodInfo miAdd = member.GetAddMethod(); 140MethodInfo miRemove = member.GetRemoveMethod(); 153MethodInfo miSet = member.GetSetMethod(); 159MethodInfo miGet = member.GetGetMethod();
System.Data.Linq (137)
DataContext.cs (8)
710return (int)this.ExecuteMethodCall(this, (MethodInfo)MethodInfo.GetCurrentMethod(), command, parameters).ReturnValue; 730return (IEnumerable<TResult>)this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()).MakeGenericMethod(typeof(TResult)), query, parameters).ReturnValue; 757private static MethodInfo _miExecuteQuery; 767internal protected IExecuteResult ExecuteMethodCall(object instance, MethodInfo methodInfo, params object[] parameters) { 790internal protected IQueryable<TResult> CreateMethodCallQuery<TResult>(object instance, MethodInfo methodInfo, params object[] parameters) { 807private Expression GetMethodCall(object instance, MethodInfo methodInfo, params object[] parameters) {
DbConvert.cs (1)
28MethodInfo mi;
Mapping\Accessors.cs (1)
94MethodInfo getMethod = pi.GetGetMethod(true);
Mapping\AttributedMetaModel.cs (21)
18internal static MethodInfo FindMethod(Type type, string name, BindingFlags flags, Type[] argTypes) { 22internal static MethodInfo FindMethod(Type type, string name, BindingFlags flags, Type[] argTypes, bool allowInherit) { 24MethodInfo mi = type.GetMethod(name, flags | BindingFlags.DeclaredOnly, null, argTypes, null); 165foreach (MethodInfo mi in type.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly)) { 200private static bool IsUserFunction(MethodInfo mi) { 298public override MetaFunction GetFunction(MethodInfo method) { 319MethodInfo insertMethod; 320MethodInfo updateMethod; 321MethodInfo deleteMethod; 341public override MethodInfo InsertMethod { 348public override MethodInfo UpdateMethod { 355public override MethodInfo DeleteMethod { 546MethodInfo onLoadedMethod; 547MethodInfo onValidateMethod; 826public override MethodInfo OnLoadedMethod { 833public override MethodInfo OnValidateMethod { 859private MethodInfo methodInfo; 872public AttributedMetaFunction(AttributedMetaModel model, MethodInfo mi) { 943public override MethodInfo Method { 1027MethodInfo loadMethod; 1234public override MethodInfo LoadMethod {
Mapping\MappedMetaModel.cs (21)
132MethodInfo method = this.GetMethod(fmap.MethodName); 209public override MetaFunction GetFunction(MethodInfo method) { 235private MethodInfo GetMethod(string name) { 352MethodInfo insertMethod; 353MethodInfo updateMethod; 354MethodInfo deleteMethod; 372public override MethodInfo InsertMethod { 378public override MethodInfo UpdateMethod { 384public override MethodInfo DeleteMethod { 584MethodInfo onLoadedMethod; 585MethodInfo onValidateMethod; 903public override MethodInfo OnLoadedMethod { 910public override MethodInfo OnValidateMethod { 961MethodInfo loadMethod; 1139public override MethodInfo LoadMethod { 1331MethodInfo method; 1340internal MappedFunction(MappedMetaModel model, FunctionMapping map, MethodInfo method) { 1410public override MethodInfo Method { 1687public override MethodInfo OnLoadedMethod { 1691public override MethodInfo OnValidateMethod { 1813public override MethodInfo LoadMethod {
Mapping\MetaModel.cs (8)
44public abstract MetaFunction GetFunction(MethodInfo method); 90public abstract MethodInfo InsertMethod { get; } 94public abstract MethodInfo UpdateMethod { get; } 98public abstract MethodInfo DeleteMethod { get; } 229public abstract MethodInfo OnLoadedMethod { get; } 233public abstract MethodInfo OnValidateMethod { get; } 349public abstract MethodInfo LoadMethod { get; } 363public abstract MethodInfo Method { get; }
parent\parent\misc\SecurityUtils.cs (2)
184private static bool GenericArgumentsAreVisible(MethodInfo method) { 215internal static object MethodInfoInvoke(MethodInfo method, object target, object[] args) {
SqlClient\Common\InheritanceRules.cs (1)
36MethodInfo meth = null;
SqlClient\Common\SqlFactory.cs (5)
332internal SqlUnary Unary(SqlNodeType nodeType, SqlExpression expression, MethodInfo method, Expression sourceExpression) { 378internal SqlBinary Binary(SqlNodeType nodeType, SqlExpression left, SqlExpression right, MethodInfo method) { 386internal SqlBinary Binary(SqlNodeType nodeType, SqlExpression left, SqlExpression right, MethodInfo method, Type clrType) { 521internal SqlMethodCall MethodCall(MethodInfo method, SqlExpression obj, SqlExpression[] args, Expression sourceExpression) { 525internal SqlMethodCall MethodCall(Type returnType, MethodInfo method, SqlExpression obj, SqlExpression[] args, Expression sourceExpression) {
SqlClient\Common\SqlNode.cs (9)
887private MethodInfo method; 894internal SqlUnary(SqlNodeType nt, Type clrType, ProviderType sqlType, SqlExpression expr, MethodInfo method, Expression sourceExpression) 932internal MethodInfo Method { 940private MethodInfo method; 947internal SqlBinary(SqlNodeType nt, Type clrType, ProviderType sqlType, SqlExpression left, SqlExpression right, MethodInfo method) 997internal MethodInfo Method { 1728private MethodInfo method; 1732internal SqlMethodCall(Type clrType, ProviderType sqlType, MethodInfo method, SqlExpression obj, IEnumerable<SqlExpression> args, Expression sourceExpression) 1743internal MethodInfo Method {
SqlClient\Common\TypeSystem.cs (11)
111MethodInfo mi = pi.GetGetMethod() ?? pi.GetSetMethod(); 118private static ILookup<string, MethodInfo> _sequenceMethods; 119internal static MethodInfo FindSequenceMethod(string name, Type[] args, params Type[] typeArgs) { 123MethodInfo mi = _sequenceMethods[name].FirstOrDefault(m => ArgsMatchExact(m, args, typeArgs)); 130internal static MethodInfo FindSequenceMethod(string name, IEnumerable sequence) { 134private static ILookup<string, MethodInfo> _queryMethods; 135internal static MethodInfo FindQueryableMethod(string name, Type[] args, params Type[] typeArgs) { 139MethodInfo mi = _queryMethods[name].FirstOrDefault(m => ArgsMatchExact(m, args, typeArgs)); 147internal static MethodInfo FindStaticMethod(Type type, string name, Type[] args, params Type[] typeArgs) { 148MethodInfo mi = type.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic) 157private static bool ArgsMatchExact(MethodInfo m, Type[] argTypes, Type[] typeArgs) {
SqlClient\Query\QueryConverter.cs (2)
900MethodInfo method = mi as MethodInfo;
SqlClient\Query\Translator.cs (1)
494var gm = pi.GetGetMethod();
SqlClient\Reader\ObjectReaderCompiler.cs (38)
97MethodInfo miDRisDBNull; 98MethodInfo miBRisDBNull; 813MethodInfo miInvoke = d.GetType().GetMethod( 928private static OpCode GetMethodCallOpCode(MethodInfo mi) { 983MethodInfo miInsertLookup = orbType.GetMethod( 1036MethodInfo miRaiseEvent = orbType.GetMethod( 1069MethodInfo miCanDeferLoad = piCanDeferLoad.GetGetMethod(); 1206MethodInfo miSetSource = memberType.GetMethod("SetSource", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null); 1268MethodInfo miAssign = memberType.GetMethod("Assign", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { argType }, null); 1352MethodInfo miCreateGroup = TypeSystem.FindStaticMethod(orbType, "CreateGroup", new Type[] { typeArgs[0], typeof(IEnumerable<>).MakeGenericType(typeArgs[1]) }, typeArgs); 1374MethodInfo mi = null; 1382MethodInfo miGLS = mi.MakeGenericMethod(elemType); 1401MethodInfo miGLS = mi.MakeGenericMethod(elemType); 1451MethodInfo miExecute = typeof(ObjectMaterializer<>).MakeGenericType(this.compiler.dataReaderType) 1510MethodInfo miRead = orbType.GetMethod("Read", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, Type.EmptyTypes, null); 1522MethodInfo miAdd = listType.GetMethod("Add", BindingFlags.Instance | BindingFlags.Public, null, new Type[] { joinElementType }, null); 1600MethodInfo miCast = TypeSystem.FindSequenceMethod("Cast", new Type[] { seqType }, genExpectedTypeArgs[0]); 1607MethodInfo miConvert = TypeSystem.FindStaticMethod(orbType, "Convert", new Type[] { seqType }, genExpectedTypeArgs[0]); 1615MethodInfo miFirst = TypeSystem.FindSequenceMethod("SingleOrDefault", new Type[] { seqType }, expectedType); 1651MethodInfo miFirst = TypeSystem.FindSequenceMethod("SingleOrDefault", new Type[] { seqType }, elemType); 1667MethodInfo miAsQueryable = TypeSystem.FindQueryableMethod("AsQueryable", new Type[] { typeof(IEnumerable) }); 1685MethodInfo miAsQueryable = TypeSystem.FindQueryableMethod("AsQueryable", new Type[] { seqType }, elemType); 1701MethodInfo miCreateOrderedEnumerable = TypeSystem.FindStaticMethod(orbType, "CreateOrderedEnumerable", new Type[] { seqType }, elemType); 1725MethodInfo miAssign = expectedType.GetMethod("Assign", BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, new Type[] { seqType }, null); 1748MethodInfo miToArray = TypeSystem.FindSequenceMethod("ToArray", new Type[] { seqType }, elemType); 1781MethodInfo miGetTypeFromHandle = typeof(Type).GetMethod("GetTypeFromHandle", BindingFlags.Static | BindingFlags.Public); 1784MethodInfo miChangeType = typeof(DBConvert).GetMethod("ChangeType", BindingFlags.Static | BindingFlags.Public, null, new Type[] { typeof(object), typeof(Type) }, null); 1842MethodInfo readerMethod = this.GetReaderMethod(this.compiler.dataReaderType, rType); 1843MethodInfo bufferMethod = this.GetReaderMethod(typeof(DbDataReader), rType); 2064MethodInfo miEquals = typeof(object).GetMethod("Equals", BindingFlags.Static | BindingFlags.Public); 2091MethodInfo mi = typeof(ObjectMaterializer<>) 2107private MethodInfo GetReaderMethod(Type readerType, Type valueType) { 2120MethodInfo readerMethod = readerType.GetMethod( 2142MethodInfo mi = nullableType.GetMethod("get_HasValue", BindingFlags.Instance | BindingFlags.Public); 2147MethodInfo mi = nullableType.GetMethod("get_Value", BindingFlags.Instance | BindingFlags.Public); 2152MethodInfo mi = nullableType.GetMethod("GetValueOrDefault", System.Type.EmptyTypes); 2197MethodInfo meth = pi.GetSetMethod(true); 2210MethodInfo meth = pi.GetGetMethod(true);
SqlClient\SqlMethods.cs (5)
568throw Error.SqlMethodOnlyForSql(MethodInfo.GetCurrentMethod()); 583throw Error.SqlMethodOnlyForSql(MethodInfo.GetCurrentMethod()); 596throw Error.SqlMethodOnlyForSql(MethodInfo.GetCurrentMethod()); 607throw Error.SqlMethodOnlyForSql(MethodInfo.GetCurrentMethod()); 618throw Error.SqlMethodOnlyForSql(MethodInfo.GetCurrentMethod());
SqlClient\SqlProvider.cs (1)
1059MethodInfo sequenceMethod = null;
SubqueryRules.cs (2)
17static internal bool IsSupportedTopLevelMethod(MethodInfo mi) { 31private static bool IsSequenceOperatorCall(MethodInfo mi) {
System.Data.Services (107)
System\Data\Services\DataServiceConfiguration.cs (17)
109private Dictionary<string, List<MethodInfo>> readAuthorizationMethods; 116private Dictionary<string, List<MethodInfo>> writeAuthorizationMethods; 149this.readAuthorizationMethods = new Dictionary<string, List<MethodInfo>>(EqualityComparer<string>.Default); 150this.writeAuthorizationMethods = new Dictionary<string, List<MethodInfo>>(EqualityComparer<string>.Default); 477MethodInfo[] methods = container.QueryInterceptors; 536MethodInfo[] methods = container.QueryInterceptors; 776internal MethodInfo[] GetReadAuthorizationMethods(ResourceSet resourceSet) 780List<MethodInfo> methods; 794internal MethodInfo[] GetWriteAuthorizationMethods(ResourceSet resourceSet) 798List<MethodInfo> methods; 894private static void CheckQueryInterceptorSignature(Type type, MethodInfo method, ResourceSet container) 927private static void CheckParameterIsNotOut(MethodInfo method, ParameterInfo parameter) 951MethodInfo method = type.GetMethod(XmlConstants.ClrServiceInitializationMethodName, flags, null, new Type[] { typeof(IDataServiceConfiguration) }, null); 997MethodInfo[] methods = type.GetMethods(flags); 1000MethodInfo method = methods[i]; 1020this.readAuthorizationMethods[container.Name] = new List<MethodInfo>(); 1091this.writeAuthorizationMethods[container.Name] = new List<MethodInfo>();
System\Data\Services\OpenTypes\OpenTypeMethods.cs (18)
29internal static readonly MethodInfo AddMethodInfo = typeof(OpenTypeMethods).GetMethod("Add", BindingFlags.Static | BindingFlags.Public); 32internal static readonly MethodInfo AndAlsoMethodInfo = typeof(OpenTypeMethods).GetMethod("AndAlso", BindingFlags.Static | BindingFlags.Public); 35internal static readonly MethodInfo ConvertMethodInfo = typeof(OpenTypeMethods).GetMethod("Convert", BindingFlags.Static | BindingFlags.Public); 38internal static readonly MethodInfo DivideMethodInfo = typeof(OpenTypeMethods).GetMethod("Divide", BindingFlags.Static | BindingFlags.Public); 41internal static readonly MethodInfo EqualMethodInfo = typeof(OpenTypeMethods).GetMethod("Equal", BindingFlags.Static | BindingFlags.Public); 44internal static readonly MethodInfo GreaterThanMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThan", BindingFlags.Static | BindingFlags.Public); 47internal static readonly MethodInfo GreaterThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThanOrEqual", BindingFlags.Static | BindingFlags.Public); 50internal static readonly MethodInfo LessThanMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThan", BindingFlags.Static | BindingFlags.Public); 53internal static readonly MethodInfo LessThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThanOrEqual", BindingFlags.Static | BindingFlags.Public); 56internal static readonly MethodInfo ModuloMethodInfo = typeof(OpenTypeMethods).GetMethod("Modulo", BindingFlags.Static | BindingFlags.Public); 59internal static readonly MethodInfo MultiplyMethodInfo = typeof(OpenTypeMethods).GetMethod("Multiply", BindingFlags.Static | BindingFlags.Public); 62internal static readonly MethodInfo NegateMethodInfo = typeof(OpenTypeMethods).GetMethod("Negate", BindingFlags.Static | BindingFlags.Public); 65internal static readonly MethodInfo NotMethodInfo = typeof(OpenTypeMethods).GetMethod("Not", BindingFlags.Static | BindingFlags.Public); 68internal static readonly MethodInfo NotEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("NotEqual", BindingFlags.Static | BindingFlags.Public); 71internal static readonly MethodInfo OrElseMethodInfo = typeof(OpenTypeMethods).GetMethod("OrElse", BindingFlags.Static | BindingFlags.Public); 74internal static readonly MethodInfo SubtractMethodInfo = typeof(OpenTypeMethods).GetMethod("Subtract", BindingFlags.Static | BindingFlags.Public); 77internal static readonly MethodInfo TypeIsMethodInfo = typeof(OpenTypeMethods).GetMethod("TypeIs", BindingFlags.Static | BindingFlags.Public); 80internal static readonly MethodInfo GetValueOpenPropertyMethodInfo = typeof(OpenTypeMethods).GetMethod(
System\Data\Services\Parsing\FunctionDescription.cs (4)
127return Expression.Call(instanceArgument, (MethodInfo)this.member, methodArguments); 136return Expression.Call((MethodInfo)this.member, arguments); 164MethodInfo methodInfo = typeof(OpenTypeMethods).GetMethod( 315MethodInfo method = typeof(string).GetMethod("Contains", flags, null, parameterTypes, null);
System\Data\Services\Parsing\RequestQueryParser.cs (13)
149private static readonly MethodInfo StringCompareMethodInfo = typeof(DataServiceProviderMethods) 154private static readonly MethodInfo BoolCompareMethodInfo = typeof(DataServiceProviderMethods) 159private static readonly MethodInfo BoolCompareMethodInfoNullable = typeof(DataServiceProviderMethods) 164private static readonly MethodInfo GuidCompareMethodInfo = typeof(DataServiceProviderMethods) 169private static readonly MethodInfo GuidCompareMethodInfoNullable = typeof(DataServiceProviderMethods) 174private static readonly MethodInfo ByteArrayEqualMethod = typeof(ExpressionParser) 178private static readonly MethodInfo ByteArrayNotEqualMethod = typeof(ExpressionParser) 925private static Expression GenerateGreaterThan(Expression left, Expression right, MethodInfo comparisonMethodInfo) 946private static Expression GenerateGreaterThanEqual(Expression left, Expression right, MethodInfo comparisonMethodInfo) 967private static Expression GenerateLessThan(Expression left, Expression right, MethodInfo comparisonMethodInfo) 988private static Expression GenerateLessThanEqual(Expression left, Expression right, MethodInfo comparisonMethodInfo) 1296private static MethodInfo GetStaticMethod(string methodName, Expression left, Expression right) 1587MethodInfo comparisonMethodInfo = null;
System\Data\Services\Providers\BaseServiceProvider.cs (3)
352return ((MethodInfo)serviceOperation.CustomState).Invoke( 505foreach (MethodInfo methodInfo in type.GetMethods(WebUtil.PublicInstanceBindingFlags | BindingFlags.FlattenHierarchy)) 715private void AddServiceOperation(MethodInfo method, string protocolMethod)
System\Data\Services\Providers\BasicExpandProvider.cs (18)
42private static readonly MethodInfo OrderByMethodInfo = typeof(Queryable) 47private static readonly MethodInfo ThenByMethodInfo = typeof(Queryable) 52private static readonly MethodInfo OrderByDescendingMethodInfo = typeof(Queryable) 57private static readonly MethodInfo ThenByDescendingMethodInfo = typeof(Queryable) 62private static readonly MethodInfo SkipMethodInfo = typeof(Queryable) 67private static readonly MethodInfo TakeMethodInfo = typeof(Queryable) 332MethodInfo orderingMethod = firstOrder ? 351MethodInfo skipOrTakeMethod = (isSkip ? BasicExpandProvider.SkipMethodInfo : BasicExpandProvider.TakeMethodInfo).MakeGenericMethod(typeof(TSource)); 571private static readonly MethodInfo SelectMethodInfoEnumerable = typeof(Enumerable) 576private static readonly MethodInfo WhereMethodInfoEnumerable = typeof(Enumerable) 581private static readonly MethodInfo TakeMethodInfoEnumerable = typeof(Enumerable) 1200private static bool IsMethodEnumerableSelect(MethodInfo m) 1208private static bool IsMethodEnumerableWhere(MethodInfo m) 1217private static bool IsNamedMethodSecondArgumentPredicate(MethodInfo m, string name) 1264MethodInfo getter = DataServiceProviderMethods.GetSequenceValueMethodInfo.MakeGenericMethod(property.ResourceType.InstanceType); 1360MethodInfo method = ExpandNode.WhereMethodInfoEnumerable.MakeGenericMethod(expressionElementType); 1368MethodInfo method = ExpandNode.TakeMethodInfoEnumerable.MakeGenericMethod(expressionElementType); 1421MethodInfo method = ExpandNode.SelectMethodInfoEnumerable.MakeGenericMethod(expressionElementType, this.elementType);
System\Data\Services\Providers\DataServiceProviderMethods.cs (4)
28internal static readonly MethodInfo GetValueMethodInfo = typeof(DataServiceProviderMethods).GetMethod( 36internal static readonly MethodInfo GetSequenceValueMethodInfo = typeof(DataServiceProviderMethods).GetMethod( 44internal static readonly MethodInfo ConvertMethodInfo = typeof(DataServiceProviderMethods).GetMethod( 49internal static readonly MethodInfo TypeIsMethodInfo = typeof(DataServiceProviderMethods).GetMethod(
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
274MethodInfo includeMethod = typeof(ObjectContextServiceProvider).GetMethod("Include", BindingFlags.Static | BindingFlags.NonPublic); 2053MethodInfo createObjectMethod = context.GetType().GetMethod("CreateObject", BindingFlags.Public | BindingFlags.Instance); 2353MethodInfo genericMethod = typeof(ObjectContext).GetMethod("CreateQuery", WebUtil.PublicInstanceBindingFlags).MakeGenericMethod(container.ResourceType.InstanceType);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
315MethodInfo getValueMethod = propertyInfo.GetGetMethod();
System\Data\Services\Providers\ResourceContainerWrapper.cs (4)
46private MethodInfo[] readAuthorizationMethods; 49private MethodInfo[] writeAuthorizationMethods; 134public MethodInfo[] QueryInterceptors 147public MethodInfo[] ChangeInterceptors
System\Data\Services\Providers\ResourceType.cs (3)
42private static readonly MethodInfo GetPropertyValueMethodInfo = typeof(DataServiceProviderWrapper).GetMethod( 47private static readonly MethodInfo IProjectedResultGetProjectedPropertyValueMethodInfo = typeof(IProjectedResult).GetMethod( 948MethodInfo setMethod = this.GetPropertyInfo(resourceProperty).GetSetMethod();
System\Data\Services\RequestQueryProcessor.cs (5)
34private static readonly MethodInfo InvokeSkipMethodInfo = typeof(RequestQueryProcessor).GetMethod("InvokeSkip", BindingFlags.NonPublic | BindingFlags.Static); 37private static readonly MethodInfo InvokeTakeMethodInfo = typeof(RequestQueryProcessor).GetMethod("InvokeTake", BindingFlags.NonPublic | BindingFlags.Static); 40private static readonly MethodInfo countQueryResultMethodInfo = typeof(RequestQueryProcessor).GetMethod("CountQueryResult", BindingFlags.NonPublic | BindingFlags.Static); 766MethodInfo mi = countQueryResultMethodInfo.MakeGenericMethod(this.query.ElementType); 1000MethodInfo mi = countQueryResultMethodInfo.MakeGenericMethod(this.query.ElementType);
System\Data\Services\RequestUriProcessor.cs (9)
44private static readonly MethodInfo InvokeWhereMethodInfo = typeof(RequestUriProcessor).GetMethod("InvokeWhere", BindingFlags.NonPublic | BindingFlags.Static); 413MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 427MethodInfo whereMethod = InvokeWhereMethodInfo.MakeGenericMethod(query.ElementType); 1120MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1145MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelectMany", BindingFlags.Static | BindingFlags.NonPublic); 1164MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1184MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelect", BindingFlags.Static | BindingFlags.NonPublic); 1201MethodInfo getter = DataServiceProviderMethods.GetSequenceValueMethodInfo.MakeGenericMethod(enumerableElement); 1205MethodInfo method = typeof(RequestUriProcessor).GetMethod("InvokeSelectMany", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
787MethodInfo methodWritePrimitiveValue = typeof(SyndicationSerializer).GetMethod("WritePrimitiveValue", BindingFlags.Static | BindingFlags.NonPublic);
System\Data\Services\SingleResultAttribute.cs (1)
37internal static bool MethodHasSingleResult(MethodInfo method)
System\Data\Services\UpdateTracker.cs (2)
54MethodInfo[] methods = container.ChangeInterceptors; 93MethodInfo[] methods = item.Key.ChangeInterceptors;
System\Data\Services\WebUtil.cs (1)
47internal static readonly MethodInfo GetNamedPropertyValueMethodInfo = typeof(WebUtil).GetMethod(
System.Data.Services.Client (38)
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
81MethodInfo mi = typeof(DataServiceQueryProvider).GetMethod("ReturnSingleton", BindingFlags.NonPublic | BindingFlags.Instance);
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (2)
503private static readonly MethodInfo s_relationalOperatorPlaceholderMethod = typeof(ExpressionNormalizer).GetMethod("RelationalOperatorPlaceholder", BindingFlags.Static | BindingFlags.NonPublic); 535MethodInfo relationalOperatorPlaceholderMethod = s_relationalOperatorPlaceholderMethod.MakeGenericMethod(left.Type, right.Type);
System\Data\Services\Client\ALinq\ReflectionUtil.cs (10)
28private static readonly Dictionary<MethodInfo, SequenceMethod> s_methodMap; 29private static readonly Dictionary<SequenceMethod, MethodInfo> s_inverseMap; 337s_methodMap = new Dictionary<MethodInfo, SequenceMethod>(EqualityComparer<MethodInfo>.Default); 338s_inverseMap = new Dictionary<SequenceMethod, MethodInfo>(EqualityComparer<SequenceMethod>.Default); 339foreach (MethodInfo method in GetAllLinqOperators()) 358internal static bool TryIdentifySequenceMethod(MethodInfo method, out SequenceMethod sequenceMethod) 365internal static bool IsSequenceMethod(MethodInfo method, SequenceMethod sequenceMethod) 441internal static string GetCanonicalMethodDescription(MethodInfo method) 508internal static IEnumerable<MethodInfo> GetAllLinqOperators()
System\Data\Services\Client\ALinq\ResourceBinder.cs (2)
1179MethodInfo mi = typeof(string).GetMethod("Concat", new Type[] { typeof(string), typeof(string)}); 1191MethodInfo mi;
System\Data\Services\Client\ALinq\TypeSystem.cs (8)
22private static readonly Dictionary<MethodInfo, string> expressionMethodMap; 28private static readonly Dictionary<PropertyInfo, MethodInfo> propertiesAsMethodsMap; 49expressionMethodMap = new Dictionary<MethodInfo, string>(ExpectedCount, EqualityComparer<MethodInfo>.Default); 103propertiesAsMethodsMap = new Dictionary<PropertyInfo, MethodInfo>(EqualityComparer<PropertyInfo>.Default); 135internal static bool TryGetQueryOptionMethod(MethodInfo mi, out string methodName) 148internal static bool TryGetPropertyAsMethod(PropertyInfo pi, out MethodInfo mi) 176MethodInfo mi = pi.GetGetMethod() ?? pi.GetSetMethod();
System\Data\Services\Client\AtomMaterializer.cs (1)
1115MethodInfo addMethod = ClientType.GetAddToCollectionMethod(listType, out listElementType);
System\Data\Services\Client\ClientType.cs (10)
572internal static MethodInfo GetAddToCollectionMethod(Type collectionType, out Type type) 583internal static MethodInfo GetRemoveFromCollectionMethod(Type collectionType, out Type type) 596internal static MethodInfo GetCollectionMethod(Type propertyType, Type genericTypeDefinition, string methodName, out Type type) 608MethodInfo methodInfo = implementationType.GetMethod(methodName); 838private readonly MethodInfo propertyGetter; 841private readonly MethodInfo propertySetter; 844private readonly MethodInfo setMethod; 847private readonly MethodInfo addMethod; 850private readonly MethodInfo removeMethod; 853private readonly MethodInfo containsMethod;
System\Data\Services\Client\DataServiceQueryOfT.cs (3)
158MethodInfo mi = typeof(DataServiceQuery<TElement>).GetMethod("Expand"); 172MethodInfo mi = typeof(DataServiceQuery<TElement>).GetMethod("IncludeTotalCount"); 190MethodInfo mi = typeof(DataServiceQuery<TElement>).GetMethod("AddQueryOption");
System\Data\Services\Client\ProjectionPlanCompiler.cs (1)
418MethodInfo method = typeof(AtomMaterializerInvoker).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static);
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
112private static readonly System.Reflection.MethodInfo s_getDefaultMethod = typeof(TypeSystem).GetMethod("GetDefault", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic); 125System.Reflection.MethodInfo getDefaultMethod = s_getDefaultMethod.MakeGenericMethod(type);
System\Data\EntityModel\Emitters\Utils.cs (4)
120MethodInfo miAdd = member.GetAddMethod(); 126MethodInfo miRemove = member.GetRemoveMethod(); 139MethodInfo miSet = member.GetSetMethod(); 145MethodInfo miGet = member.GetGetMethod();
System.Data.SqlXml (346)
System\Xml\Xsl\IlGen\GenerateHelper.cs (243)
33public MethodInfo AggAvg; 34public MethodInfo AggAvgResult; 35public MethodInfo AggCreate; 36public MethodInfo AggIsEmpty; 37public MethodInfo AggMax; 38public MethodInfo AggMaxResult; 39public MethodInfo AggMin; 40public MethodInfo AggMinResult; 41public MethodInfo AggSum; 42public MethodInfo AggSumResult; 47public MethodInfo SeqReuse; 48public MethodInfo SeqReuseSgl; 49public MethodInfo SeqAdd; 50public MethodInfo SeqSortByKeys; 54public MethodInfo IListCount; 55public MethodInfo IListItem; 58public MethodInfo ValueAs; 61public MethodInfo ToAtomicValue; 159public static readonly MethodInfo AncCreate = GetMethod(typeof(AncestorIterator), "Create"); 160public static readonly MethodInfo AncNext = GetMethod(typeof(AncestorIterator), "MoveNext"); 161public static readonly MethodInfo AncDOCreate = GetMethod(typeof(AncestorDocOrderIterator), "Create"); 162public static readonly MethodInfo AncDONext = GetMethod(typeof(AncestorDocOrderIterator), "MoveNext"); 163public static readonly MethodInfo AttrContentCreate = GetMethod(typeof(AttributeContentIterator), "Create"); 164public static readonly MethodInfo AttrContentNext = GetMethod(typeof(AttributeContentIterator), "MoveNext"); 165public static readonly MethodInfo AttrCreate = GetMethod(typeof(AttributeIterator), "Create"); 166public static readonly MethodInfo AttrNext = GetMethod(typeof(AttributeIterator), "MoveNext"); 167public static readonly MethodInfo ContentCreate = GetMethod(typeof(ContentIterator), "Create"); 168public static readonly MethodInfo ContentNext = GetMethod(typeof(ContentIterator), "MoveNext"); 169public static readonly MethodInfo ContentMergeCreate = GetMethod(typeof(ContentMergeIterator), "Create"); 170public static readonly MethodInfo ContentMergeNext = GetMethod(typeof(ContentMergeIterator), "MoveNext"); 171public static readonly MethodInfo DescCreate = GetMethod(typeof(DescendantIterator), "Create"); 172public static readonly MethodInfo DescNext = GetMethod(typeof(DescendantIterator), "MoveNext"); 173public static readonly MethodInfo DescMergeCreate = GetMethod(typeof(DescendantMergeIterator), "Create"); 174public static readonly MethodInfo DescMergeNext = GetMethod(typeof(DescendantMergeIterator), "MoveNext"); 175public static readonly MethodInfo DiffCreate = GetMethod(typeof(DifferenceIterator), "Create"); 176public static readonly MethodInfo DiffNext = GetMethod(typeof(DifferenceIterator), "MoveNext"); 177public static readonly MethodInfo DodMergeCreate = GetMethod(typeof(DodSequenceMerge), "Create"); 178public static readonly MethodInfo DodMergeAdd = GetMethod(typeof(DodSequenceMerge), "AddSequence"); 179public static readonly MethodInfo DodMergeSeq = GetMethod(typeof(DodSequenceMerge), "MergeSequences"); 180public static readonly MethodInfo ElemContentCreate = GetMethod(typeof(ElementContentIterator), "Create"); 181public static readonly MethodInfo ElemContentNext = GetMethod(typeof(ElementContentIterator), "MoveNext"); 182public static readonly MethodInfo FollSibCreate = GetMethod(typeof(FollowingSiblingIterator), "Create"); 183public static readonly MethodInfo FollSibNext = GetMethod(typeof(FollowingSiblingIterator), "MoveNext"); 184public static readonly MethodInfo FollSibMergeCreate = GetMethod(typeof(FollowingSiblingMergeIterator), "Create"); 185public static readonly MethodInfo FollSibMergeNext = GetMethod(typeof(FollowingSiblingMergeIterator), "MoveNext"); 186public static readonly MethodInfo IdCreate = GetMethod(typeof(IdIterator), "Create"); 187public static readonly MethodInfo IdNext = GetMethod(typeof(IdIterator), "MoveNext"); 188public static readonly MethodInfo InterCreate = GetMethod(typeof(IntersectIterator), "Create"); 189public static readonly MethodInfo InterNext = GetMethod(typeof(IntersectIterator), "MoveNext"); 190public static readonly MethodInfo KindContentCreate = GetMethod(typeof(NodeKindContentIterator), "Create"); 191public static readonly MethodInfo KindContentNext = GetMethod(typeof(NodeKindContentIterator), "MoveNext"); 192public static readonly MethodInfo NmspCreate = GetMethod(typeof(NamespaceIterator), "Create"); 193public static readonly MethodInfo NmspNext = GetMethod(typeof(NamespaceIterator), "MoveNext"); 194public static readonly MethodInfo NodeRangeCreate = GetMethod(typeof(NodeRangeIterator), "Create"); 195public static readonly MethodInfo NodeRangeNext = GetMethod(typeof(NodeRangeIterator), "MoveNext"); 196public static readonly MethodInfo ParentCreate = GetMethod(typeof(ParentIterator), "Create"); 197public static readonly MethodInfo ParentNext = GetMethod(typeof(ParentIterator), "MoveNext"); 198public static readonly MethodInfo PrecCreate = GetMethod(typeof(PrecedingIterator), "Create"); 199public static readonly MethodInfo PrecNext = GetMethod(typeof(PrecedingIterator), "MoveNext"); 200public static readonly MethodInfo PreSibCreate = GetMethod(typeof(PrecedingSiblingIterator), "Create"); 201public static readonly MethodInfo PreSibNext = GetMethod(typeof(PrecedingSiblingIterator), "MoveNext"); 202public static readonly MethodInfo PreSibDOCreate = GetMethod(typeof(PrecedingSiblingDocOrderIterator), "Create"); 203public static readonly MethodInfo PreSibDONext = GetMethod(typeof(PrecedingSiblingDocOrderIterator), "MoveNext"); 204public static readonly MethodInfo SortKeyCreate = GetMethod(typeof(XmlSortKeyAccumulator), "Create"); 205public static readonly MethodInfo SortKeyDateTime = GetMethod(typeof(XmlSortKeyAccumulator), "AddDateTimeSortKey"); 206public static readonly MethodInfo SortKeyDecimal = GetMethod(typeof(XmlSortKeyAccumulator), "AddDecimalSortKey"); 207public static readonly MethodInfo SortKeyDouble = GetMethod(typeof(XmlSortKeyAccumulator), "AddDoubleSortKey"); 208public static readonly MethodInfo SortKeyEmpty = GetMethod(typeof(XmlSortKeyAccumulator), "AddEmptySortKey"); 209public static readonly MethodInfo SortKeyFinish = GetMethod(typeof(XmlSortKeyAccumulator), "FinishSortKeys"); 210public static readonly MethodInfo SortKeyInt = GetMethod(typeof(XmlSortKeyAccumulator), "AddIntSortKey"); 211public static readonly MethodInfo SortKeyInteger = GetMethod(typeof(XmlSortKeyAccumulator), "AddIntegerSortKey"); 212public static readonly MethodInfo SortKeyKeys = GetMethod(typeof(XmlSortKeyAccumulator), "get_Keys"); 213public static readonly MethodInfo SortKeyString = GetMethod(typeof(XmlSortKeyAccumulator), "AddStringSortKey"); 214public static readonly MethodInfo UnionCreate = GetMethod(typeof(UnionIterator), "Create"); 215public static readonly MethodInfo UnionNext = GetMethod(typeof(UnionIterator), "MoveNext"); 216public static readonly MethodInfo XPFollCreate = GetMethod(typeof(XPathFollowingIterator), "Create"); 217public static readonly MethodInfo XPFollNext = GetMethod(typeof(XPathFollowingIterator), "MoveNext"); 218public static readonly MethodInfo XPFollMergeCreate = GetMethod(typeof(XPathFollowingMergeIterator), "Create"); 219public static readonly MethodInfo XPFollMergeNext = GetMethod(typeof(XPathFollowingMergeIterator), "MoveNext"); 220public static readonly MethodInfo XPPrecCreate = GetMethod(typeof(XPathPrecedingIterator), "Create"); 221public static readonly MethodInfo XPPrecNext = GetMethod(typeof(XPathPrecedingIterator), "MoveNext"); 222public static readonly MethodInfo XPPrecDOCreate = GetMethod(typeof(XPathPrecedingDocOrderIterator), "Create"); 223public static readonly MethodInfo XPPrecDONext = GetMethod(typeof(XPathPrecedingDocOrderIterator), "MoveNext"); 224public static readonly MethodInfo XPPrecMergeCreate = GetMethod(typeof(XPathPrecedingMergeIterator), "Create"); 225public static readonly MethodInfo XPPrecMergeNext = GetMethod(typeof(XPathPrecedingMergeIterator), "MoveNext"); 228public static readonly MethodInfo AddNewIndex = GetMethod(typeof(XmlQueryRuntime), "AddNewIndex"); 229public static readonly MethodInfo ChangeTypeXsltArg = GetMethod(typeof(XmlQueryRuntime), "ChangeTypeXsltArgument", typeof(int), typeof(object), typeof(Type)); 230public static readonly MethodInfo ChangeTypeXsltResult = GetMethod(typeof(XmlQueryRuntime), "ChangeTypeXsltResult"); 231public static readonly MethodInfo CompPos = GetMethod(typeof(XmlQueryRuntime), "ComparePosition"); 232public static readonly MethodInfo Context = GetMethod(typeof(XmlQueryRuntime), "get_ExternalContext"); 233public static readonly MethodInfo CreateCollation = GetMethod(typeof(XmlQueryRuntime), "CreateCollation"); 234public static readonly MethodInfo DocOrder = GetMethod(typeof(XmlQueryRuntime), "DocOrderDistinct"); 235public static readonly MethodInfo EndRtfConstr = GetMethod(typeof(XmlQueryRuntime), "EndRtfConstruction"); 236public static readonly MethodInfo EndSeqConstr = GetMethod(typeof(XmlQueryRuntime), "EndSequenceConstruction"); 237public static readonly MethodInfo FindIndex = GetMethod(typeof(XmlQueryRuntime), "FindIndex"); 238public static readonly MethodInfo GenId = GetMethod(typeof(XmlQueryRuntime), "GenerateId"); 239public static readonly MethodInfo GetAtomizedName = GetMethod(typeof(XmlQueryRuntime), "GetAtomizedName"); 240public static readonly MethodInfo GetCollation = GetMethod(typeof(XmlQueryRuntime), "GetCollation"); 241public static readonly MethodInfo GetEarly = GetMethod(typeof(XmlQueryRuntime), "GetEarlyBoundObject"); 242public static readonly MethodInfo GetNameFilter = GetMethod(typeof(XmlQueryRuntime), "GetNameFilter"); 243public static readonly MethodInfo GetOutput = GetMethod(typeof(XmlQueryRuntime), "get_Output"); 244public static readonly MethodInfo GetGlobalValue = GetMethod(typeof(XmlQueryRuntime), "GetGlobalValue"); 245public static readonly MethodInfo GetTypeFilter = GetMethod(typeof(XmlQueryRuntime), "GetTypeFilter"); 246public static readonly MethodInfo GlobalComputed = GetMethod(typeof(XmlQueryRuntime), "IsGlobalComputed"); 247public static readonly MethodInfo ItemMatchesCode = GetMethod(typeof(XmlQueryRuntime), "MatchesXmlType", typeof(XPathItem), typeof(XmlTypeCode)); 248public static readonly MethodInfo ItemMatchesType = GetMethod(typeof(XmlQueryRuntime), "MatchesXmlType", typeof(XPathItem), typeof(int)); 249public static readonly MethodInfo QNameEqualLit = GetMethod(typeof(XmlQueryRuntime), "IsQNameEqual", typeof(XPathNavigator), typeof(int), typeof(int)); 250public static readonly MethodInfo QNameEqualNav = GetMethod(typeof(XmlQueryRuntime), "IsQNameEqual", typeof(XPathNavigator), typeof(XPathNavigator)); 251public static readonly MethodInfo RtfConstr = GetMethod(typeof(XmlQueryRuntime), "TextRtfConstruction"); 252public static readonly MethodInfo SendMessage = GetMethod(typeof(XmlQueryRuntime), "SendMessage"); 253public static readonly MethodInfo SeqMatchesCode = GetMethod(typeof(XmlQueryRuntime), "MatchesXmlType", typeof(IList<XPathItem>), typeof(XmlTypeCode)); 254public static readonly MethodInfo SeqMatchesType = GetMethod(typeof(XmlQueryRuntime), "MatchesXmlType", typeof(IList<XPathItem>), typeof(int)); 255public static readonly MethodInfo SetGlobalValue = GetMethod(typeof(XmlQueryRuntime), "SetGlobalValue"); 256public static readonly MethodInfo StartRtfConstr = GetMethod(typeof(XmlQueryRuntime), "StartRtfConstruction"); 257public static readonly MethodInfo StartSeqConstr = GetMethod(typeof(XmlQueryRuntime), "StartSequenceConstruction"); 258public static readonly MethodInfo TagAndMappings = GetMethod(typeof(XmlQueryRuntime), "ParseTagName", typeof(string), typeof(int)); 259public static readonly MethodInfo TagAndNamespace = GetMethod(typeof(XmlQueryRuntime), "ParseTagName", typeof(string), typeof(string)); 260public static readonly MethodInfo ThrowException = GetMethod(typeof(XmlQueryRuntime), "ThrowException"); 261public static readonly MethodInfo XsltLib = GetMethod(typeof(XmlQueryRuntime), "get_XsltFunctions"); 264public static readonly MethodInfo GetDataSource = GetMethod(typeof(XmlQueryContext), "GetDataSource"); 265public static readonly MethodInfo GetDefaultDataSource = GetMethod(typeof(XmlQueryContext), "get_DefaultDataSource"); 266public static readonly MethodInfo GetParam = GetMethod(typeof(XmlQueryContext), "GetParameter"); 267public static readonly MethodInfo InvokeXsltLate = GetMethod(typeof(XmlQueryContext), "InvokeXsltLateBoundFunction"); 270public static readonly MethodInfo IndexAdd = GetMethod(typeof(XmlILIndex), "Add"); 271public static readonly MethodInfo IndexLookup = GetMethod(typeof(XmlILIndex), "Lookup"); 274public static readonly MethodInfo ItemIsNode = GetMethod(typeof(XPathItem), "get_IsNode"); 275public static readonly MethodInfo Value = GetMethod(typeof(XPathItem), "get_Value"); 276public static readonly MethodInfo ValueAsAny = GetMethod(typeof(XPathItem), "ValueAs", typeof(Type), typeof(IXmlNamespaceResolver)); 279public static readonly MethodInfo NavClone = GetMethod(typeof(XPathNavigator), "Clone"); 280public static readonly MethodInfo NavLocalName = GetMethod(typeof(XPathNavigator), "get_LocalName"); 281public static readonly MethodInfo NavMoveAttr = GetMethod(typeof(XPathNavigator), "MoveToAttribute", typeof(string), typeof(string)); 282public static readonly MethodInfo NavMoveId = GetMethod(typeof(XPathNavigator), "MoveToId"); 283public static readonly MethodInfo NavMoveParent = GetMethod(typeof(XPathNavigator), "MoveToParent"); 284public static readonly MethodInfo NavMoveRoot = GetMethod(typeof(XPathNavigator), "MoveToRoot"); 285public static readonly MethodInfo NavMoveTo = GetMethod(typeof(XPathNavigator), "MoveTo"); 286public static readonly MethodInfo NavNmsp = GetMethod(typeof(XPathNavigator), "get_NamespaceURI"); 287public static readonly MethodInfo NavPrefix = GetMethod(typeof(XPathNavigator), "get_Prefix"); 288public static readonly MethodInfo NavSamePos = GetMethod(typeof(XPathNavigator), "IsSamePosition"); 289public static readonly MethodInfo NavType = GetMethod(typeof(XPathNavigator), "get_NodeType"); 292public static readonly MethodInfo StartElemLitName = GetMethod(typeof(XmlQueryOutput), "WriteStartElement", typeof(string), typeof(string), typeof(string)); 293public static readonly MethodInfo StartElemLocName = GetMethod(typeof(XmlQueryOutput), "WriteStartElementLocalName", typeof(string)); 294public static readonly MethodInfo EndElemStackName = GetMethod(typeof(XmlQueryOutput), "WriteEndElement"); 295public static readonly MethodInfo StartAttrLitName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttribute", typeof(string), typeof(string), typeof(string)); 296public static readonly MethodInfo StartAttrLocName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeLocalName", typeof(string)); 297public static readonly MethodInfo EndAttr = GetMethod(typeof(XmlQueryOutput), "WriteEndAttribute"); 298public static readonly MethodInfo Text = GetMethod(typeof(XmlQueryOutput), "WriteString"); 299public static readonly MethodInfo NoEntText = GetMethod(typeof(XmlQueryOutput), "WriteRaw", typeof(string)); 301public static readonly MethodInfo StartTree = GetMethod(typeof(XmlQueryOutput), "StartTree"); 302public static readonly MethodInfo EndTree = GetMethod(typeof(XmlQueryOutput), "EndTree"); 304public static readonly MethodInfo StartElemLitNameUn = GetMethod(typeof(XmlQueryOutput), "WriteStartElementUnchecked", typeof(string), typeof(string), typeof(string)); 305public static readonly MethodInfo StartElemLocNameUn = GetMethod(typeof(XmlQueryOutput), "WriteStartElementUnchecked", typeof(string)); 306public static readonly MethodInfo StartContentUn = GetMethod(typeof(XmlQueryOutput), "StartElementContentUnchecked"); 307public static readonly MethodInfo EndElemLitNameUn = GetMethod(typeof(XmlQueryOutput), "WriteEndElementUnchecked", typeof(string), typeof(string), typeof(string)); 308public static readonly MethodInfo EndElemLocNameUn = GetMethod(typeof(XmlQueryOutput), "WriteEndElementUnchecked", typeof(string)); 309public static readonly MethodInfo StartAttrLitNameUn = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeUnchecked", typeof(string), typeof(string), typeof(string)); 310public static readonly MethodInfo StartAttrLocNameUn = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeUnchecked", typeof(string)); 311public static readonly MethodInfo EndAttrUn = GetMethod(typeof(XmlQueryOutput), "WriteEndAttributeUnchecked"); 312public static readonly MethodInfo NamespaceDeclUn = GetMethod(typeof(XmlQueryOutput), "WriteNamespaceDeclarationUnchecked"); 313public static readonly MethodInfo TextUn = GetMethod(typeof(XmlQueryOutput), "WriteStringUnchecked"); 314public static readonly MethodInfo NoEntTextUn = GetMethod(typeof(XmlQueryOutput), "WriteRawUnchecked"); 316public static readonly MethodInfo StartRoot = GetMethod(typeof(XmlQueryOutput), "WriteStartRoot"); 317public static readonly MethodInfo EndRoot = GetMethod(typeof(XmlQueryOutput), "WriteEndRoot"); 318public static readonly MethodInfo StartElemCopyName = GetMethod(typeof(XmlQueryOutput), "WriteStartElementComputed", typeof(XPathNavigator)); 319public static readonly MethodInfo StartElemMapName = GetMethod(typeof(XmlQueryOutput), "WriteStartElementComputed", typeof(string), typeof(int)); 320public static readonly MethodInfo StartElemNmspName = GetMethod(typeof(XmlQueryOutput), "WriteStartElementComputed", typeof(string), typeof(string)); 321public static readonly MethodInfo StartElemQName = GetMethod(typeof(XmlQueryOutput), "WriteStartElementComputed", typeof(XmlQualifiedName)); 322public static readonly MethodInfo StartAttrCopyName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeComputed", typeof(XPathNavigator)); 323public static readonly MethodInfo StartAttrMapName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeComputed", typeof(string), typeof(int)); 324public static readonly MethodInfo StartAttrNmspName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeComputed", typeof(string), typeof(string)); 325public static readonly MethodInfo StartAttrQName = GetMethod(typeof(XmlQueryOutput), "WriteStartAttributeComputed", typeof(XmlQualifiedName)); 326public static readonly MethodInfo NamespaceDecl = GetMethod(typeof(XmlQueryOutput), "WriteNamespaceDeclaration"); 327public static readonly MethodInfo StartComment = GetMethod(typeof(XmlQueryOutput), "WriteStartComment"); 328public static readonly MethodInfo CommentText = GetMethod(typeof(XmlQueryOutput), "WriteCommentString"); 329public static readonly MethodInfo EndComment = GetMethod(typeof(XmlQueryOutput), "WriteEndComment"); 330public static readonly MethodInfo StartPI = GetMethod(typeof(XmlQueryOutput), "WriteStartProcessingInstruction"); 331public static readonly MethodInfo PIText = GetMethod(typeof(XmlQueryOutput), "WriteProcessingInstructionString"); 332public static readonly MethodInfo EndPI = GetMethod(typeof(XmlQueryOutput), "WriteEndProcessingInstruction"); 333public static readonly MethodInfo WriteItem = GetMethod(typeof(XmlQueryOutput), "WriteItem"); 334public static readonly MethodInfo CopyOf = GetMethod(typeof(XmlQueryOutput), "XsltCopyOf"); 335public static readonly MethodInfo StartCopy = GetMethod(typeof(XmlQueryOutput), "StartCopy"); 336public static readonly MethodInfo EndCopy = GetMethod(typeof(XmlQueryOutput), "EndCopy"); 339public static readonly MethodInfo DecAdd = GetMethod(typeof(decimal), "Add"); 340public static readonly MethodInfo DecCmp = GetMethod(typeof(decimal), "Compare", typeof(decimal), typeof(decimal)); 341public static readonly MethodInfo DecEq = GetMethod(typeof(decimal), "Equals", typeof(decimal), typeof(decimal)); 342public static readonly MethodInfo DecSub = GetMethod(typeof(decimal), "Subtract"); 343public static readonly MethodInfo DecMul = GetMethod(typeof(decimal), "Multiply"); 344public static readonly MethodInfo DecDiv = GetMethod(typeof(decimal), "Divide"); 345public static readonly MethodInfo DecRem = GetMethod(typeof(decimal), "Remainder"); 346public static readonly MethodInfo DecNeg = GetMethod(typeof(decimal), "Negate"); 347public static readonly MethodInfo QNameEq = GetMethod(typeof(XmlQualifiedName), "Equals"); 348public static readonly MethodInfo StrEq = GetMethod(typeof(string), "Equals", typeof(string), typeof(string)); 349public static readonly MethodInfo StrCat2 = GetMethod(typeof(string), "Concat", typeof(string), typeof(string)); 350public static readonly MethodInfo StrCat3 = GetMethod(typeof(string), "Concat", typeof(string), typeof(string), typeof(string)); 351public static readonly MethodInfo StrCat4 = GetMethod(typeof(string), "Concat", typeof(string), typeof(string), typeof(string), typeof(string)); 352public static readonly MethodInfo StrCmp = GetMethod(typeof(string), "CompareOrdinal", typeof(string), typeof(string)); 353public static readonly MethodInfo StrLen = GetMethod(typeof(string), "get_Length"); 356public static readonly MethodInfo DblToDec = GetMethod(typeof(XsltConvert), "ToDecimal", typeof(double)); 357public static readonly MethodInfo DblToInt = GetMethod(typeof(XsltConvert), "ToInt", typeof(double)); 358public static readonly MethodInfo DblToLng = GetMethod(typeof(XsltConvert), "ToLong", typeof(double)); 359public static readonly MethodInfo DblToStr = GetMethod(typeof(XsltConvert), "ToString", typeof(double)); 360public static readonly MethodInfo DecToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(decimal)); 361public static readonly MethodInfo DTToStr = GetMethod(typeof(XsltConvert), "ToString", typeof(DateTime)); 362public static readonly MethodInfo IntToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(int)); 363public static readonly MethodInfo LngToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(long)); 364public static readonly MethodInfo StrToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(string)); 365public static readonly MethodInfo StrToDT = GetMethod(typeof(XsltConvert), "ToDateTime", typeof(string)); 367public static readonly MethodInfo ItemToBool = GetMethod(typeof(XsltConvert), "ToBoolean", typeof(XPathItem)); 368public static readonly MethodInfo ItemToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(XPathItem)); 369public static readonly MethodInfo ItemToStr = GetMethod(typeof(XsltConvert), "ToString", typeof(XPathItem)); 370public static readonly MethodInfo ItemToNode = GetMethod(typeof(XsltConvert), "ToNode", typeof(XPathItem)); 371public static readonly MethodInfo ItemToNodes = GetMethod(typeof(XsltConvert), "ToNodeSet", typeof(XPathItem)); 373public static readonly MethodInfo ItemsToBool = GetMethod(typeof(XsltConvert), "ToBoolean", typeof(IList<XPathItem>)); 374public static readonly MethodInfo ItemsToDbl = GetMethod(typeof(XsltConvert), "ToDouble", typeof(IList<XPathItem>)); 375public static readonly MethodInfo ItemsToNode = GetMethod(typeof(XsltConvert), "ToNode", typeof(IList<XPathItem>)); 376public static readonly MethodInfo ItemsToNodes = GetMethod(typeof(XsltConvert), "ToNodeSet", typeof(IList<XPathItem>)); 377public static readonly MethodInfo ItemsToStr = GetMethod(typeof(XsltConvert), "ToString", typeof(IList<XPathItem>)); 380public static readonly MethodInfo StrCatCat = GetMethod(typeof(StringConcat), "Concat"); 381public static readonly MethodInfo StrCatClear = GetMethod(typeof(StringConcat), "Clear"); 382public static readonly MethodInfo StrCatResult = GetMethod(typeof(StringConcat), "GetResult"); 383public static readonly MethodInfo StrCatDelim = GetMethod(typeof(StringConcat), "set_Delimiter"); 386public static readonly MethodInfo NavsToItems = GetMethod(typeof(XmlILStorageConverter), "NavigatorsToItems"); 387public static readonly MethodInfo ItemsToNavs = GetMethod(typeof(XmlILStorageConverter), "ItemsToNavigators"); 390public static readonly MethodInfo SetDod = GetMethod(typeof(XmlQueryNodeSequence), "set_IsDocOrderDistinct"); 393public static readonly MethodInfo GetTypeFromHandle = GetMethod(typeof(Type), "GetTypeFromHandle"); 394public static readonly MethodInfo InitializeArray = GetMethod(typeof(System.Runtime.CompilerServices.RuntimeHelpers), "InitializeArray"); 414public static MethodInfo GetMethod(Type className, string methName) { 415MethodInfo methInfo = className.GetMethod(methName); 420public static MethodInfo GetMethod(Type className, string methName, params Type[] args) { 421MethodInfo methInfo = className.GetMethod(methName, args); 452private MethodInfo methSyncToNav; 778public void TailCall(MethodInfo meth) { 785private void TraceCall(OpCode opcode, MethodInfo meth) { 808public void Call(MethodInfo meth) { 824public void CallToken(MethodInfo meth) { 934MethodInfo meth = null; 973MethodInfo meth = null; 988MethodInfo meth = null; 1134MethodInfo meth = null; 1162MethodInfo meth = null; 1187MethodInfo meth = null; 1297MethodInfo meth; 1321MethodInfo meth = null; 1573public void Emit(OpCode opcode, MethodInfo methInfo) {
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (3)
119public static StorageDescriptor Global(MethodInfo methGlobal, Type itemStorageType, bool isCached) { 192public MethodInfo GlobalLocation { 193get { return this.locationObject as MethodInfo; }
System\Xml\Xsl\IlGen\XmlILAnnotation.cs (2)
18private MethodInfo funcMethod; 56public MethodInfo FunctionBinding {
System\Xml\Xsl\IlGen\XmlILModule.cs (5)
161public MethodInfo DefineMethod(string name, Type returnType, Type[] paramTypes, string[] paramNames, XmlILMethodAttributes xmlAttrs) { 162MethodInfo methResult; 246public MethodInfo FindMethod(string name) { 247return (MethodInfo) this.methods[name]; 329return Delegate.CreateDelegate(typDelegate, (MethodInfo) this.methods[name]);
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (19)
46public void Visit(QilExpression qil, GenerateHelper helper, MethodInfo methRoot) { 81MethodInfo methGlobal; 107MethodInfo methGlobal; 201MethodInfo methFunc; 1183private QilNode CreateSetIterator(QilBinary ndSet, string iterName, Type iterType, MethodInfo methCreate, MethodInfo methNext) { 1284private QilNode CreateAggregator(QilUnary ndAgg, string aggName, XmlILStorageMethods methods, MethodInfo methAgg, MethodInfo methResult) { 2365MethodInfo methInfo = XmlILAnnotation.Write(ndFunc).FunctionBinding; 3524MethodInfo meth; 3551private bool GetXsltConvertMethod(XmlQueryType typSrc, XmlQueryType typDst, out MethodInfo meth) { 3636private void CreateSimpleIterator(QilNode ndCtxt, string iterName, Type iterType, MethodInfo methCreate, MethodInfo methNext) { 3658private void CreateFilteredIterator(QilNode ndCtxt, string iterName, Type iterType, MethodInfo methCreate, MethodInfo methNext, 3693private void CreateContainerIterator(QilUnary ndDod, string iterName, Type iterType, MethodInfo methCreate, MethodInfo methNext, 3729private void GenerateSimpleIterator(Type itemStorageType, LocalBuilder locIter, MethodInfo methNext) { 3760MethodInfo methNext, Type itemStorageType) {
System\Xml\Xsl\QIL\QilInvokeEarlyBound.cs (2)
41public MethodInfo ClrMethod { 42get { return (MethodInfo) ((QilLiteral) Center).Value; }
System\Xml\Xsl\QIL\QilPatternFactory.cs (1)
718public QilNode XsltInvokeEarlyBound(QilNode name, MethodInfo d, XmlQueryType t, IList<QilNode> args) {
System\Xml\Xsl\QIL\QilXmlReader.cs (5)
30private static Dictionary<string, MethodInfo> nameToFactoryMethod; 39nameToFactoryMethod = new Dictionary<string, MethodInfo>(); 42foreach (MethodInfo mi in typeof(QilFactory).GetMethods(BindingFlags.Public | BindingFlags.Instance)) { 183MethodInfo facMethod = null; 345MethodInfo mi = null;
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (10)
62private MethodInfo meth; // MethodInfo for extension function 77public XmlExtensionFunction(string name, string namespaceUri, MethodInfo meth) { 112public MethodInfo Method { 150MethodInfo[] methods = this.objectType.GetMethods(this.flags); 155foreach (MethodInfo methSearch in methods) { 170MethodInfo[] methods = this.objectType.GetMethods(this.flags); 171MethodInfo methMatch = null; 176foreach (MethodInfo methSearch in methods) { 187foreach (MethodInfo methSearch in methods) { 205private void Bind(MethodInfo meth) {
System\Xml\Xsl\Runtime\XsltLibrary.cs (41)
23public static readonly MethodInfo FormatMessage = GetMethod(typeof(XsltLibrary), "FormatMessage"); 26public static readonly MethodInfo EnsureNodeSet = GetMethod(typeof(XsltConvert), "EnsureNodeSet" , typeof(IList<XPathItem>)); 29public static readonly MethodInfo EqualityOperator = GetMethod(typeof(XsltLibrary), "EqualityOperator"); 30public static readonly MethodInfo RelationalOperator = GetMethod(typeof(XsltLibrary), "RelationalOperator"); 33public static readonly MethodInfo StartsWith = GetMethod(typeof(XsltFunctions), "StartsWith"); 34public static readonly MethodInfo Contains = GetMethod(typeof(XsltFunctions), "Contains"); 35public static readonly MethodInfo SubstringBefore = GetMethod(typeof(XsltFunctions), "SubstringBefore"); 36public static readonly MethodInfo SubstringAfter = GetMethod(typeof(XsltFunctions), "SubstringAfter"); 37public static readonly MethodInfo Substring2 = GetMethod(typeof(XsltFunctions), "Substring", typeof(string), typeof(double)); 38public static readonly MethodInfo Substring3 = GetMethod(typeof(XsltFunctions), "Substring", typeof(string), typeof(double), typeof(double)); 39public static readonly MethodInfo NormalizeSpace = GetMethod(typeof(XsltFunctions), "NormalizeSpace"); 40public static readonly MethodInfo Translate = GetMethod(typeof(XsltFunctions), "Translate"); 41public static readonly MethodInfo Lang = GetMethod(typeof(XsltFunctions), "Lang"); 42public static readonly MethodInfo Floor = GetMethod(typeof(Math) , "Floor" , typeof(double)); 43public static readonly MethodInfo Ceiling = GetMethod(typeof(Math) , "Ceiling", typeof(double)); 44public static readonly MethodInfo Round = GetMethod(typeof(XsltFunctions), "Round"); 47public static readonly MethodInfo SystemProperty = GetMethod(typeof(XsltFunctions), "SystemProperty"); 48public static readonly MethodInfo BaseUri = GetMethod(typeof(XsltFunctions), "BaseUri"); 49public static readonly MethodInfo OuterXml = GetMethod(typeof(XsltFunctions), "OuterXml"); 50public static readonly MethodInfo OnCurrentNodeChanged = GetMethod(typeof(XmlQueryRuntime), "OnCurrentNodeChanged"); 53public static readonly MethodInfo MSFormatDateTime = GetMethod(typeof(XsltFunctions), "MSFormatDateTime"); 54public static readonly MethodInfo MSStringCompare = GetMethod(typeof(XsltFunctions), "MSStringCompare"); 55public static readonly MethodInfo MSUtc = GetMethod(typeof(XsltFunctions), "MSUtc" ); 56public static readonly MethodInfo MSNumber = GetMethod(typeof(XsltFunctions), "MSNumber" ); 57public static readonly MethodInfo MSLocalName = GetMethod(typeof(XsltFunctions), "MSLocalName" ); 58public static readonly MethodInfo MSNamespaceUri = GetMethod(typeof(XsltFunctions), "MSNamespaceUri" ); 61public static readonly MethodInfo EXslObjectType = GetMethod(typeof(XsltFunctions), "EXslObjectType"); 64public static readonly MethodInfo CheckScriptNamespace = GetMethod(typeof(XsltLibrary), "CheckScriptNamespace"); 65public static readonly MethodInfo FunctionAvailable = GetMethod(typeof(XsltLibrary), "FunctionAvailable"); 66public static readonly MethodInfo ElementAvailable = GetMethod(typeof(XsltLibrary), "ElementAvailable"); 67public static readonly MethodInfo RegisterDecimalFormat = GetMethod(typeof(XsltLibrary), "RegisterDecimalFormat"); 68public static readonly MethodInfo RegisterDecimalFormatter = GetMethod(typeof(XsltLibrary), "RegisterDecimalFormatter"); 69public static readonly MethodInfo FormatNumberStatic = GetMethod(typeof(XsltLibrary), "FormatNumberStatic"); 70public static readonly MethodInfo FormatNumberDynamic = GetMethod(typeof(XsltLibrary), "FormatNumberDynamic"); 71public static readonly MethodInfo IsSameNodeSort = GetMethod(typeof(XsltLibrary), "IsSameNodeSort"); 72public static readonly MethodInfo LangToLcid = GetMethod(typeof(XsltLibrary), "LangToLcid"); 73public static readonly MethodInfo NumberFormat = GetMethod(typeof(XsltLibrary), "NumberFormat"); 75public static MethodInfo GetMethod(Type className, string methName) { 76MethodInfo methInfo = className.GetMethod(methName); 81public static MethodInfo GetMethod(Type className, string methName, params Type[] args) { 82MethodInfo methInfo = className.GetMethod(methName, args);
System\Xml\Xsl\XmlIlGenerator.cs (9)
129MethodInfo methExec = this.module.DefineMethod("Execute", typeof(void), new Type[] { }, new string[] { }, XmlILMethodAttributes.NonUser); 135MethodInfo methRoot = this.module.DefineMethod("Root", typeof(void), new Type[] { }, new string[] { }, methAttrs); 187MethodInfo methInfo; 238MethodInfo methInfo; 256private MethodInfo GenerateExecuteFunction(MethodInfo methExec, MethodInfo methRoot) { 276MethodInfo meth; 314MethodInfo methInfo;
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (6)
99private MethodInfo FindBestMethod(MethodInfo[] methods, bool ignoreCase, bool publicOnly, string name, XPathResultType[] argTypes) { 164MethodInfo method = FindBestMethod(extension.GetType().GetMethods(bindingFlags), /*ignoreCase:*/true, /*publicOnly:*/false, name, argTypes); 173MethodInfo method = FindBestMethod(extension.GetType().GetMethods(bindingFlags), /*ignoreCase:*/false, /*publicOnly:*/true, name, argTypes); 786private MethodInfo method; 790public FuncExtension(object extension, MethodInfo method, PermissionSet permissions) {
System.Drawing (2)
commonui\System\Drawing\ColorConverter.cs (1)
342MethodInfo method = prop.GetGetMethod();
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System.IdentityModel (1)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System.IO.Compression.FileSystem (1)
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System.Management (1)
Instrumentation\SchemaMapping.cs (1)
231 MethodInfo mi = pi.GetGetMethod();
System.Runtime.Remoting (26)
channels\http\httpremotinghandler.cs (2)
514MethodInfo[] methods = type.GetMethods(); 515foreach (MethodInfo mi in methods)
metadata\wsdlparser.cs (7)
3512internal MethodFlags GetMethodFlags(MethodInfo method) 3631MethodInfo[] baseInfos = null; 3634MethodInfo methodInfo = baseType.GetMethod(Name, bFlags); 3637baseInfos = new MethodInfo[1]; 4501MethodInfo[] methods = type.GetMethods(bFlags); 4518MethodInfo method = methods[k]; 5223MethodInfo[] methods = type.GetMethods(bFlags);
metadata\wsdlwriter.cs (17)
348MethodInfo[] methods = rsType.GetIntroducedMethods(); 370MethodInfo method = methods[i]; 1428internal MethodInfo[] GetIntroducedMethods(){ 1550MethodInfo method = _methods[i]; 1752MethodInfo method = null; 2366static private void FindMethodAttributes(Type type, MethodInfo[] infos, ref String[] methodAttributes, BindingFlags bFlags) 2409MethodInfo baseInfo = baseType.GetMethod(info.Name, types); 2440static private MethodInfo[] GetIntroducedMethods(Type type, ref String[] methodAttributes) 2448MethodInfo[] methodInfos = type.GetMethods(bFlags); //public methods (including unqualified interface methods) 2464foreach (MethodInfo mi in im.TargetMethods) 2474MethodInfo[] finalMethodInfos = null; 2477finalMethodInfos = new MethodInfo[methodInfos.Length + additionalInfos.Count]; 2481finalMethodInfos[methodInfos.Length+i] = (MethodInfo)additionalInfos[i]; 2489internal static String PrintMethodName(MethodInfo methodInfo) 2562private MethodInfo[] _methods; 2571private static MethodInfo[] emptyMethodSet = new MethodInfo[0];
System.Runtime.Serialization (297)
System\Runtime\Serialization\ClassDataContract.cs (23)
141internal MethodInfo OnSerializing 149internal MethodInfo OnSerialized 157internal MethodInfo OnDeserializing 165internal MethodInfo OnDeserialized 173internal MethodInfo ExtensionDataSetMethod 659MethodInfo onSerializing, onSerialized; 660MethodInfo onDeserializing, onDeserialized; 661MethodInfo extensionDataSetMethod; 882MethodInfo getMethod = property.GetGetMethod(true); 885MethodInfo setMethod = property.GetSetMethod(true); 946MethodInfo getMethod = property.GetGetMethod(); 950MethodInfo setMethod = property.GetSetMethod(true); 1096static bool IsMethodOverriding(MethodInfo method) 1110MethodInfo[] methods = type.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic); 1113MethodInfo method = methods[i]; 1139bool IsValidExtensionDataSetMethod(MethodInfo method, ParameterInfo[] parameters) 1154static bool IsValidCallback(MethodInfo method, ParameterInfo[] parameters, Type attributeType, MethodInfo currentCallback, ref Type prevAttributeType) 1195internal MethodInfo OnSerializing 1204internal MethodInfo OnSerialized 1213internal MethodInfo OnDeserializing 1222internal MethodInfo OnDeserialized 1231internal MethodInfo ExtensionDataSetMethod
System\Runtime\Serialization\CodeGenerator.cs (34)
20static MethodInfo getTypeFromHandle; 21static MethodInfo GetTypeFromHandle 37static MethodInfo stringFormat; 38static MethodInfo StringFormat 54static MethodInfo stringConcat2; 55static MethodInfo StringConcat2 71static MethodInfo stringConcat3; 72static MethodInfo StringConcat3 88static MethodInfo objectToString; 89static MethodInfo ObjectToString 105static MethodInfo objectEquals; 106static MethodInfo ObjectEquals 122static MethodInfo arraySetValue; 123static MethodInfo ArraySetValue 202MethodInfo signature = delegateType.GetMethod("Invoke"); 265internal MethodInfo CurrentMethod 398LocalBuilder enumerator, MethodInfo getCurrentMethod) 412internal void EndForEach(MethodInfo moveNextMethod) 556internal void VerifyParameterCount(MethodInfo methodInfo, int expectedCount) 562internal void Call(object thisObj, MethodInfo methodInfo) 569internal void Call(object thisObj, MethodInfo methodInfo, object param1) 577internal void Call(object thisObj, MethodInfo methodInfo, object param1, object param2) 586internal void Call(object thisObj, MethodInfo methodInfo, object param1, object param2, object param3) 596internal void Call(object thisObj, MethodInfo methodInfo, object param1, object param2, object param3, object param4) 607internal void Call(object thisObj, MethodInfo methodInfo, object param1, object param2, object param3, object param4, object param5) 619internal void Call(object thisObj, MethodInfo methodInfo, object param1, object param2, object param3, object param4, object param5, object param6) 632internal void Call(MethodInfo methodInfo) 762MethodInfo getMethod = property.GetGetMethod(true); 770MethodInfo method = (MethodInfo)memberInfo; 804MethodInfo setMethod = property.GetSetMethod(true); 811Call((MethodInfo)memberInfo); 1583void LoadThis(object thisObj, MethodInfo methodInfo) 1906static MethodInfo stringLength = typeof(string).GetProperty("Length").GetGetMethod();
System\Runtime\Serialization\CollectionDataContract.cs (21)
122CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, string serializationExceptionMessage, string deserializationExceptionMessage) 131CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor) 140CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor, bool isConstructorCheckRequired) 320internal MethodInfo GetEnumeratorMethod 328internal MethodInfo AddMethod 484readonly MethodInfo getEnumeratorMethod, addMethod; 610internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, string serializationExceptionMessage, string deserializationExceptionMessage) 628internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor) 638internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor, bool isConstructorCheckRequired) 754internal MethodInfo GetEnumeratorMethod 759internal MethodInfo AddMethod 889internal static MethodInfo GetTargetMethodWithName(string name, Type type, Type interfaceType) 916MethodInfo addMethod, getEnumeratorMethod; 1160static void FindCollectionMethodsOnInterface(Type type, Type interfaceType, ref MethodInfo addMethod, ref MethodInfo getEnumeratorMethod) 1172static void GetCollectionMethods(Type type, Type interfaceType, Type[] addMethodTypeArray, bool addMethodOnInterface, out MethodInfo getEnumeratorMethod, out MethodInfo addMethod)
System\Runtime\Serialization\DataContract.cs (9)
381internal MethodInfo ParseMethod 429MethodInfo parseMethod; 1227internal MethodInfo ParseMethod 1233MethodInfo method = UnderlyingType.GetMethod(Globals.ParseMethodName, BindingFlags.Public | BindingFlags.Static, null, new Type[] { Globals.TypeOfString }, null); 2101MethodInfo method = type.GetMethod(methodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, Globals.EmptyTypeArray, null); 2376static internal bool MethodRequiresMemberAccess(MethodInfo method) 2408if (member is MethodInfo) 2410MethodInfo method = (MethodInfo)member;
System\Runtime\Serialization\DataMember.cs (2)
280MethodInfo getMethod = property.GetGetMethod(true /*nonPublic*/); 301MethodInfo setMethod = property.GetSetMethod(true /*nonPublic*/);
System\Runtime\Serialization\Json\JsonFormatGeneratorStatics.cs (50)
24static MethodInfo boxPointer; 35static MethodInfo getItemContractMethod; 38static MethodInfo getJsonDataContractMethod; 41static MethodInfo getJsonMemberIndexMethod; 44static MethodInfo getRevisedItemContractMethod; 47static MethodInfo getUninitializedObjectMethod; 50static MethodInfo ienumeratorGetCurrentMethod; 53static MethodInfo ienumeratorMoveNextMethod; 56static MethodInfo isStartElementMethod0; 59static MethodInfo isStartElementMethod2; 68static MethodInfo moveToContentMethod; 74static MethodInfo onDeserializationMethod; 77static MethodInfo readJsonValueMethod; 86static MethodInfo throwDuplicateMemberExceptionMethod; 89static MethodInfo throwMissingRequiredMembersMethod; 95static MethodInfo unboxPointer; 104static MethodInfo writeAttributeStringMethod; 107static MethodInfo writeEndElementMethod; 110static MethodInfo writeJsonISerializableMethod; 113static MethodInfo writeJsonNameWithMappingMethod; 116static MethodInfo writeJsonValueMethod; 119static MethodInfo writeStartElementMethod; 122static MethodInfo writeStartElementStringMethod; 125static MethodInfo parseEnumMethod; 128static MethodInfo getJsonMemberNameMethod; 130public static MethodInfo BoxPointer 178public static MethodInfo GetCurrentMethod 190public static MethodInfo GetItemContractMethod 202public static MethodInfo GetJsonDataContractMethod 214public static MethodInfo GetJsonMemberIndexMethod 226public static MethodInfo GetRevisedItemContractMethod 238public static MethodInfo GetUninitializedObjectMethod 250public static MethodInfo IsStartElementMethod0 262public static MethodInfo IsStartElementMethod2 298public static MethodInfo MoveNextMethod 310public static MethodInfo MoveToContentMethod 334public static MethodInfo OnDeserializationMethod 346public static MethodInfo ReadJsonValueMethod 382public static MethodInfo ThrowDuplicateMemberExceptionMethod 394public static MethodInfo ThrowMissingRequiredMembersMethod 418public static MethodInfo UnboxPointer 454public static MethodInfo WriteAttributeStringMethod 466public static MethodInfo WriteEndElementMethod 478public static MethodInfo WriteJsonISerializableMethod 490public static MethodInfo WriteJsonNameWithMappingMethod 502public static MethodInfo WriteJsonValueMethod 514public static MethodInfo WriteStartElementMethod 527public static MethodInfo WriteStartElementStringMethod 540public static MethodInfo ParseEnumMethod 553public static MethodInfo GetJsonMemberNameMethod
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (4)
226MethodInfo signature = delegateType.GetMethod("Invoke"); 356MethodInfo extensionDataSetMethod = currentContract.ExtensionDataSetMethod; 727MethodInfo ensureArraySizeMethod = XmlFormatGeneratorStatics.EnsureArraySizeMethod.MakeGenericMethod(itemType); 746MethodInfo trimArraySizeMethod = XmlFormatGeneratorStatics.TrimArraySizeMethod.MakeGenericMethod(itemType);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (5)
154MethodInfo signature = delegateType.GetMethod("Invoke"); 382MethodInfo incrementCollectionCountMethod = null; 422MethodInfo moveNextMethod = enumeratorType.GetMethod(Globals.MoveNextMethodName, BindingFlags.Instance | BindingFlags.Public, null, Globals.EmptyTypeArray, null); 423MethodInfo getCurrentMethod = enumeratorType.GetMethod(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, null, Globals.EmptyTypeArray, null); 729void InternalSerialize(MethodInfo methodInfo, LocalBuilder memberValue, Type memberType, bool writeXsiType)
System\Runtime\Serialization\PrimitiveDataContract.cs (9)
71internal MethodInfo XmlFormatWriterMethod 89internal MethodInfo XmlFormatContentWriterMethod 107internal MethodInfo XmlFormatReaderMethod 164MethodInfo xmlFormatWriterMethod; 165MethodInfo xmlFormatContentWriterMethod; 166MethodInfo xmlFormatReaderMethod; 174internal MethodInfo XmlFormatWriterMethod 180internal MethodInfo XmlFormatContentWriterMethod 186internal MethodInfo XmlFormatReaderMethod
System\Runtime\Serialization\SchemaExporter.cs (1)
634MethodInfo getMethod = clrType.GetMethod(methodName, /*BindingFlags.DeclaredOnly |*/ BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, new Type[] { typeof(XmlSchemaSet) }, null);
System\Runtime\Serialization\XmlFormatGeneratorStatics.cs (130)
18static MethodInfo writeStartElementMethod2; 19internal static MethodInfo WriteStartElementMethod2 31static MethodInfo writeStartElementMethod3; 32internal static MethodInfo WriteStartElementMethod3 44static MethodInfo writeEndElementMethod; 45internal static MethodInfo WriteEndElementMethod 57static MethodInfo writeNamespaceDeclMethod; 58internal static MethodInfo WriteNamespaceDeclMethod 83static MethodInfo boxPointer; 84internal static MethodInfo BoxPointer 109static MethodInfo ienumeratorMoveNextMethod; 110internal static MethodInfo MoveNextMethod 122static MethodInfo ienumeratorGetCurrentMethod; 123internal static MethodInfo GetCurrentMethod 135static MethodInfo getItemContractMethod; 136internal static MethodInfo GetItemContractMethod 148static MethodInfo isStartElementMethod2; 149internal static MethodInfo IsStartElementMethod2 161static MethodInfo isStartElementMethod0; 162internal static MethodInfo IsStartElementMethod0 174static MethodInfo getUninitializedObjectMethod; 175internal static MethodInfo GetUninitializedObjectMethod 187static MethodInfo onDeserializationMethod; 188internal static MethodInfo OnDeserializationMethod 200static MethodInfo unboxPointer; 201internal static MethodInfo UnboxPointer 265static MethodInfo getStreamingContextMethod; 266internal static MethodInfo GetStreamingContextMethod 278static MethodInfo getCollectionMemberMethod; 279internal static MethodInfo GetCollectionMemberMethod 291static MethodInfo storeCollectionMemberInfoMethod; 292internal static MethodInfo StoreCollectionMemberInfoMethod 304static MethodInfo storeIsGetOnlyCollectionMethod; 305internal static MethodInfo StoreIsGetOnlyCollectionMethod 317static MethodInfo throwNullValueReturnedForGetOnlyCollectionExceptionMethod; 318internal static MethodInfo ThrowNullValueReturnedForGetOnlyCollectionExceptionMethod 329static MethodInfo throwArrayExceededSizeExceptionMethod; 330internal static MethodInfo ThrowArrayExceededSizeExceptionMethod 342static MethodInfo incrementItemCountMethod; 343internal static MethodInfo IncrementItemCountMethod 357static MethodInfo demandSerializationFormatterPermissionMethod; 358internal static MethodInfo DemandSerializationFormatterPermissionMethod 374static MethodInfo demandMemberAccessPermissionMethod; 375internal static MethodInfo DemandMemberAccessPermissionMethod 389static MethodInfo internalDeserializeMethod; 390internal static MethodInfo InternalDeserializeMethod 402static MethodInfo moveToNextElementMethod; 403internal static MethodInfo MoveToNextElementMethod 415static MethodInfo getMemberIndexMethod; 416internal static MethodInfo GetMemberIndexMethod 428static MethodInfo getMemberIndexWithRequiredMembersMethod; 429internal static MethodInfo GetMemberIndexWithRequiredMembersMethod 441static MethodInfo throwRequiredMemberMissingExceptionMethod; 442internal static MethodInfo ThrowRequiredMemberMissingExceptionMethod 454static MethodInfo skipUnknownElementMethod; 455internal static MethodInfo SkipUnknownElementMethod 467static MethodInfo readIfNullOrRefMethod; 468internal static MethodInfo ReadIfNullOrRefMethod 480static MethodInfo readAttributesMethod; 481internal static MethodInfo ReadAttributesMethod 493static MethodInfo resetAttributesMethod; 494internal static MethodInfo ResetAttributesMethod 506static MethodInfo getObjectIdMethod; 507internal static MethodInfo GetObjectIdMethod 519static MethodInfo getArraySizeMethod; 520internal static MethodInfo GetArraySizeMethod 532static MethodInfo addNewObjectMethod; 533internal static MethodInfo AddNewObjectMethod 545static MethodInfo addNewObjectWithIdMethod; 546internal static MethodInfo AddNewObjectWithIdMethod 558static MethodInfo replaceDeserializedObjectMethod; 559internal static MethodInfo ReplaceDeserializedObjectMethod 571static MethodInfo getExistingObjectMethod; 572internal static MethodInfo GetExistingObjectMethod 584static MethodInfo getRealObjectMethod; 585internal static MethodInfo GetRealObjectMethod 597static MethodInfo readMethod; 598internal static MethodInfo ReadMethod 610static MethodInfo ensureArraySizeMethod; 611internal static MethodInfo EnsureArraySizeMethod 623static MethodInfo trimArraySizeMethod; 624internal static MethodInfo TrimArraySizeMethod 636static MethodInfo checkEndOfArrayMethod; 637internal static MethodInfo CheckEndOfArrayMethod 649static MethodInfo getArrayLengthMethod; 650internal static MethodInfo GetArrayLengthMethod 662static MethodInfo readSerializationInfoMethod; 663internal static MethodInfo ReadSerializationInfoMethod 675static MethodInfo createUnexpectedStateExceptionMethod; 676internal static MethodInfo CreateUnexpectedStateExceptionMethod 688static MethodInfo internalSerializeReferenceMethod; 689internal static MethodInfo InternalSerializeReferenceMethod 701static MethodInfo internalSerializeMethod; 702internal static MethodInfo InternalSerializeMethod 714static MethodInfo writeNullMethod; 715internal static MethodInfo WriteNullMethod 727static MethodInfo incrementArrayCountMethod; 728internal static MethodInfo IncrementArrayCountMethod 740static MethodInfo incrementCollectionCountMethod; 741internal static MethodInfo IncrementCollectionCountMethod 753static MethodInfo incrementCollectionCountGenericMethod; 754internal static MethodInfo IncrementCollectionCountGenericMethod 766static MethodInfo getDefaultValueMethod; 767internal static MethodInfo GetDefaultValueMethod 779static MethodInfo getNullableValueMethod; 780internal static MethodInfo GetNullableValueMethod 792static MethodInfo throwRequiredMemberMustBeEmittedMethod; 793internal static MethodInfo ThrowRequiredMemberMustBeEmittedMethod 805static MethodInfo getHasValueMethod; 806internal static MethodInfo GetHasValueMethod 818static MethodInfo writeISerializableMethod; 819internal static MethodInfo WriteISerializableMethod 831static MethodInfo writeExtensionDataMethod; 832internal static MethodInfo WriteExtensionDataMethod 844static MethodInfo writeXmlValueMethod; 845internal static MethodInfo WriteXmlValueMethod 857static MethodInfo readXmlValueMethod; 858internal static MethodInfo ReadXmlValueMethod 870static MethodInfo throwTypeNotSerializableMethod; 871internal static MethodInfo ThrowTypeNotSerializableMethod 922static MethodInfo extensionDataSetExplicitMethodInfo; 923internal static MethodInfo ExtensionDataSetExplicitMethodInfo 974static MethodInfo getDateTimeOffsetMethod; 975internal static MethodInfo GetDateTimeOffsetMethod 987static MethodInfo getDateTimeOffsetAdapterMethod; 988internal static MethodInfo GetDateTimeOffsetAdapterMethod 1000static MethodInfo traceInstructionMethod; 1001internal static MethodInfo TraceInstructionMethod 1013static MethodInfo throwInvalidDataContractExceptionMethod; 1014internal static MethodInfo ThrowInvalidDataContractExceptionMethod
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
349MethodInfo extensionDataSetMethod = currentContract.ExtensionDataSetMethod; 678MethodInfo ensureArraySizeMethod = XmlFormatGeneratorStatics.EnsureArraySizeMethod.MakeGenericMethod(itemType); 697MethodInfo trimArraySizeMethod = XmlFormatGeneratorStatics.TrimArraySizeMethod.MakeGenericMethod(itemType);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (4)
418MethodInfo incrementCollectionCountMethod = null; 458MethodInfo moveNextMethod = enumeratorType.GetMethod(Globals.MoveNextMethodName, BindingFlags.Instance | BindingFlags.Public, null, Globals.EmptyTypeArray, null); 459MethodInfo getCurrentMethod = enumeratorType.GetMethod(Globals.GetCurrentMethodName, BindingFlags.Instance | BindingFlags.Public, null, Globals.EmptyTypeArray, null); 706void InternalSerialize(MethodInfo methodInfo, LocalBuilder memberValue, Type memberType, bool writeXsiType)
System\Runtime\Serialization\XmlObjectSerializerContext.cs (2)
116static MethodInfo incrementItemCountMethod; 117internal static MethodInfo IncrementItemCountMethod
System.Security (1)
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
314MethodInfo validationMethod = formatValidator.Method;
System.ServiceModel (131)
parent\parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System\ServiceModel\Channels\HttpMessageHandlerFactory.cs (1)
300MethodInfo m = func.Method;
System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
211static readonly MethodInfo createGenericTaskMI = typeof(TaskCreator).GetMethod("CreateGenericTask", new Type[] { typeof(ServiceChannel), typeof(ProxyOperationRuntime), typeof(object[]) }); 229MethodInfo methodInfo = createGenericTaskMI.MakeGenericMethod(taskResultType);
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (4)
107foreach (MethodInfo method in type.GetMethods()) 172OperationDescription CreateOperationDescription(ContractDescription contract, MethodInfo methodInfo, ComContractElement config, bool allowReferences) 249MethodInfo methodInfo, 268MethodInfo methodInfo,
System\ServiceModel\ComIntegration\EmitterCache.cs (2)
53private Type[] GetParameterTypes(MethodInfo mInfo) 86foreach (MethodInfo mInfo in interfaceType.GetMethods())
System\ServiceModel\Configuration\BindingsSection.cs (1)
228MethodInfo tryAddMethod = bindingCollectionElement.GetType().GetMethod("TryAdd", BindingFlags.Instance | BindingFlags.NonPublic);
System\ServiceModel\Configuration\ServiceModelEnumValidator.cs (1)
16MethodInfo isDefined;
System\ServiceModel\Configuration\StandardEndpointsSection.cs (1)
140MethodInfo tryAddMethod = endpointCollectionElement.GetType().GetMethod("TryAdd", BindingFlags.Instance | BindingFlags.NonPublic);
System\ServiceModel\Description\MessageContractExporter.cs (1)
851MethodInfo methodInfo;
System\ServiceModel\Description\OperationDescription.cs (9)
27MethodInfo beginMethod; 28MethodInfo endMethod; 29MethodInfo syncMethod; 30MethodInfo taskMethod; 80public MethodInfo TaskMethod 88public MethodInfo SyncMethod 96public MethodInfo BeginMethod 102internal MethodInfo OperationMethod 147public MethodInfo EndMethod
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
439MethodInfo methodInfo = typeof(IHttpGetMetadata).GetMethod(HttpGetImpl.GetMethodName);
System\ServiceModel\Description\ServiceReflector.cs (30)
350static internal Type GetOperationContractProviderType(MethodInfo method) 381foreach (MethodInfo method in GetMethodsInternal(service)) 467MethodInfo method = attrProvider as MethodInfo; 483method = param.Member as MethodInfo; 678static List<MethodInfo> GetMethodsInternal(Type interfaceType) 680List<MethodInfo> methods = new List<MethodInfo>(); 681foreach (MethodInfo mi in interfaceType.GetMethods(ServiceModelBindingFlags)) 707static internal void ValidateParameterMetadata(MethodInfo methodInfo) 743static internal ParameterInfo[] GetInputParameters(MethodInfo method, bool asyncPattern) 779static internal ParameterInfo[] GetOutputParameters(MethodInfo method, bool asyncPattern) 814static internal bool HasOutputParameters(MethodInfo method, bool asyncPattern) 837static MethodInfo GetEndMethodInternal(MethodInfo beginMethod) 850return (MethodInfo)endMethods[0]; 853static internal MethodInfo GetEndMethod(MethodInfo beginMethod) 855MethodInfo endMethod = GetEndMethodInternal(beginMethod); 865static internal XmlName GetOperationName(MethodInfo method) 872static internal bool HasBeginMethodShape(MethodInfo method) 886static internal bool IsBegin(OperationContractAttribute opSettings, MethodInfo method) 900static internal bool IsTask(MethodInfo method) 913static internal bool IsTask(MethodInfo method, out Type taskTResult) 932static internal bool HasEndMethodShape(MethodInfo method) 944internal static OperationContractAttribute GetOperationContractAttribute(MethodInfo method) 959static internal bool IsBegin(MethodInfo method) 967static internal string GetLogicalName(MethodInfo method) 974static internal string GetLogicalName(MethodInfo method, bool isAsync, bool isTask) 990static internal bool HasNoDisposableParameters(MethodInfo methodInfo)
System\ServiceModel\Description\TaskOperationDescriptionValidator.cs (3)
13MethodInfo taskMethod = operationDescription.TaskMethod; 52private static void EnsureParametersAreSupported(MethodInfo method) 65private static void EnsureNoOutputParameters(MethodInfo method)
System\ServiceModel\Description\TypeLoader.cs (15)
135foreach (MethodInfo methodInfo in aParentType.GetMethods(DefaultBindingFlags)) 293MethodInfo opMethod = operationDescription.OperationMethod; 387type = ((MethodInfo)provider).DeclaringType; 389MethodInfo method = type.GetMethod(knownTypeAttribute.MethodName, BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public, null, knownTypesMethodParamType, null); 429MethodInfo opMethod = opDesc.OperationMethod; 446void ProcessOpMethod(MethodInfo opMethod, bool canHaveBehaviors, 450MethodInfo method = null; 458MethodInfo implMethod = ifaceMap.TargetMethods[methodIndex]; 629foreach (MethodInfo methodInfo in contractToGetMethodsFrom.GetMethods(DefaultBindingFlags)) 798OperationDescription CreateOperationDescription(ContractDescription contractDescription, MethodInfo methodInfo, MessageDirection direction, 972MethodInfo outputMethod = methodInfo; 1067MessageDescription CreateMessageDescription(MethodInfo methodInfo, 1274MethodInfo getMethod = property.GetGetMethod(true); 1279MethodInfo setMethod = property.GetSetMethod(true); 1360static bool IsMethodOverriding(MethodInfo method)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
305MethodInfo methodInfo = operation.OperationMethod;
System\ServiceModel\Diagnostics\OperationInvokerTrace.cs (2)
19static MethodInfo traceInstructionMethod; 31internal static MethodInfo TraceInstructionMethod
System\ServiceModel\Diagnostics\PerformanceCounters.cs (1)
678MethodInfo method = o.GetType().GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance);
System\ServiceModel\Diagnostics\TraceUtility.cs (1)
878internal static void TraceUserCodeException(Exception e, MethodInfo method)
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (6)
19MethodInfo beginMethod; 20MethodInfo endMethod; 26public AsyncMethodInvoker(MethodInfo beginMethod, MethodInfo endMethod) 37public MethodInfo BeginMethod 42public MethodInfo EndMethod
System\ServiceModel\Dispatcher\ClientOperation.cs (8)
47MethodInfo beginMethod; 48MethodInfo endMethod; 49MethodInfo syncMethod; 50MethodInfo taskMethod; 86public MethodInfo BeginMethod 99public MethodInfo EndMethod 112public MethodInfo SyncMethod 264public MethodInfo TaskMethod
System\ServiceModel\Dispatcher\CodeGenerator.cs (13)
26static MethodInfo getTypeFromHandle; 27static MethodInfo stringConcat2; 28static MethodInfo objectToString; 29static MethodInfo boxPointer; 30static MethodInfo unboxPointer; 69static MethodInfo GetTypeFromHandle 79static MethodInfo StringConcat2 89static MethodInfo ObjectToString 99static MethodInfo BoxPointer 109static MethodInfo UnboxPointer 121MethodInfo signature = delegateType.GetMethod("Invoke"); 183internal MethodInfo CurrentMethod 254internal void Call(MethodInfo methodInfo)
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (1)
867void ValidateInstanceType(Type type, MethodInfo method)
System\ServiceModel\Dispatcher\InvokerUtil.cs (8)
47internal InvokeDelegate GenerateInvokeDelegate(MethodInfo method, out int inputParameterCount, out int outputParameterCount) 55internal InvokeBeginDelegate GenerateInvokeBeginDelegate(MethodInfo method, out int inputParameterCount) 63internal InvokeEndDelegate GenerateInvokeEndDelegate(MethodInfo method, out int outputParameterCount) 118internal InvokeDelegate GenerateInvokeDelegate(MethodInfo method, out int inputParameterCount, out int outputParameterCount) 163internal InvokeBeginDelegate GenerateInvokeBeginDelegate(MethodInfo method, out int inputParameterCount) 210internal InvokeEndDelegate GenerateInvokeEndDelegate(MethodInfo method, out int outputParameterCount) 328void InvokeMethod(MethodInfo method, LocalBuilder returnLocal) 377static bool MethodRequiresMemberAccess(MethodInfo method)
System\ServiceModel\Dispatcher\ProxyOperationRuntime.cs (3)
39MethodInfo beginMethod; 40MethodInfo syncMethod; 41MethodInfo taskMethod;
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (3)
23MethodInfo method; 28public SyncMethodInvoker(MethodInfo method) 53public MethodInfo Method
System\ServiceModel\Dispatcher\TaskExtensions.cs (3)
21private static MethodInfo taskAsAsyncResultMethodInfo; 23public static MethodInfo TaskAsAsyncResultMethodInfo 38public static MethodInfo MakeGenericMethod(Type genericArgument)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (4)
23private readonly MethodInfo taskMethod; 27private MethodInfo taskTResultGetMethod; 30public TaskMethodInvoker(MethodInfo taskMethod, Type taskType) 51public MethodInfo TaskMethod
System\ServiceModel\OperationContractAttribute.cs (1)
127internal void EnsureInvariants(MethodInfo methodInfo, string operationName)
System\ServiceModel\ServiceHost.cs (4)
1831MethodInfo configure = GetConfigureMethod(serviceType); 1851static MethodInfo GetConfigureMethod(Type serviceType) 1862MethodInfo configure = serviceType.GetMethod("Configure", BindingFlags.Static | BindingFlags.Public, null, new[] { typeof(ServiceConfiguration) }, null); 1874static void InvokeConfigure(MethodInfo configureMethod, ServiceConfiguration configuration)
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (1)
76MethodInfo method = type.GetMethod(CreateMetabaseSettingsIis7MethodName, BindingFlags.NonPublic | BindingFlags.Static);
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
123MethodInfo createExpressionRootMethod = generatedType.GetMethod(CreateExpressionRootMethodName, BindingFlags.Public | BindingFlags.Static);
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\Configuration\ServiceModelActivitiesEnumValidator.cs (1)
17MethodInfo isDefined;
System.ServiceModel.WasHosting (3)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (3)
379static MethodInfo getSectionMethod; 395static internal MethodInfo GetSectionMethod 730MethodInfo method = MetabaseSettingsIis7V2.GetSectionMethod;
System.ServiceModel.Web (1)
System\ServiceModel\Configuration\InternalEnumValidator.cs (1)
16MethodInfo isDefined;
System.Web (108)
Administration\WebAdminConfigurationHelper.cs (2)
50MethodInfo method = null; 98MethodInfo method = null;
AspNetEventSource.cs (1)
38MethodInfo writeEventWithRelatedActivityIdCoreMethod = typeof(EventSource).GetMethod(
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1384MethodInfo mi = eventHandlerType.GetMethod("Invoke");
Compilation\BuildManager.cs (11)
787ICollection<MethodInfo> methods = null; 878private static void InvokePreStartInitMethods(ICollection<MethodInfo> methods) { 891internal static void InvokePreStartInitMethodsCore(ICollection<MethodInfo> methods, Func<IDisposable> setHostingEnvironmentCultures) { 897foreach (var method in methodsToExecute) { 916private static ICollection<MethodInfo> GetPreStartInitMethodsFromReferencedAssemblies() { 927internal static ICollection<MethodInfo> GetPreStartInitMethodsFromAssemblyCollection(IEnumerable<Assembly> assemblies, bool buildingFromCache) { 928List<MethodInfo> methods = new List<MethodInfo>(); 948MethodInfo method = null; 969internal static MethodInfo FindPreStartInitMethod(Type type, string methodName) { 972MethodInfo method = null;
Compilation\BuildResult.cs (3)
646private MethodInfo _appInitializeMethod; 693MethodInfo tmpAppInitializeMethod = FindAppInitializeMethod(t); 708private MethodInfo FindAppInitializeMethod(Type t) {
Compilation\ClientBuildManagerTypeDescriptionProviderBridge.cs (1)
90MethodInfo methodInfo = reflectionType.GetMethod(name, bindingAttr);
Compilation\CodeDOMUtility.cs (3)
124if (desc.MemberInfo is MethodInfo) { 125MethodInfo mi = (MethodInfo)desc.MemberInfo;
Compilation\DelayLoadType.cs (2)
124protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) { 128public override MethodInfo[] GetMethods(BindingFlags bindingAttr) {
Compilation\PageCodeDomTreeGenerator.cs (1)
578MethodInfo methodInfo = null;
HttpApplication.cs (8)
1522private void InvokeMethodWithAssert(MethodInfo method, int paramCount, object eventSource, EventArgs eventArgs) { 1534MethodInfo method, 1626internal void InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) { 1742internal void InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) { 1864private void HookupEventHandlersForApplicationAndModules(MethodInfo[] handlers) { 1877MethodInfo appMethod = handlers[i]; 1906MethodInfo addMethod = null; 2396private void RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) {
HttpApplicationFactory.cs (10)
75private MethodInfo _onStartMethod; // Application_OnStart 77private MethodInfo _onEndMethod; // Application_OnEnd 79private MethodInfo _sessionOnEndMethod; // Session_OnEnd 83private MethodInfo[] _eventHandlerMethods; 245private bool ReflectOnMethodInfoIfItLooksLikeEventHandler(MethodInfo m) { 299MethodInfo[] methods; 305foreach (MethodInfo m in methods) { 314foreach (MethodInfo m in methods) { 321_eventHandlerMethods = new MethodInfo[handlers.Count]; 323_eventHandlerMethods[i] = (MethodInfo)handlers[i];
parent\DataAnnotations\DataAnnotations\LocalizableString.cs (1)
124MethodInfo getter = property.GetGetMethod();
parent\parent\parent\Misc\SecurityUtils.cs (2)
184private static bool GenericArgumentsAreVisible(MethodInfo method) { 215internal static object MethodInfoInvoke(MethodInfo method, object target, object[] args) {
UI\ControlBuilder.cs (2)
2189MethodInfo methodInfo = ControlType.GetMethod("Add", BindingFlags.Public | BindingFlags.Instance, null, new Type[] { objValue.GetType() }, null); 2479MethodInfo methodInfo = entry.PropertyInfo.GetSetMethod();
UI\PropertyConverter.cs (1)
107MethodInfo methodInfo = objType.GetMethod("Parse", s_parseMethodTypesWithSOP);
UI\SkinBuilder.cs (1)
65MethodInfo methodInfo = entry.PropertyInfo.GetSetMethod();
UI\TargetFrameworkUtil.cs (1)
522MethodInfo methodInfo = reflectionType.GetMethod(name, bindingAttr);
UI\TemplateControl.cs (11)
443MethodInfo methodInfo = info.MethodInfo; 544MethodInfo parameterfulMethod = GetInstanceMethodInfo(typeof(Func<CancellationToken, Task>), methodName); 551MethodInfo parameterlessMethod = GetInstanceMethodInfo(typeof(Func<Task>), methodName); 562MethodInfo parameterfulMethod = GetInstanceMethodInfo(typeof(EventHandler), methodName); 569MethodInfo parameterlessMethod = GetInstanceMethodInfo(typeof(VoidMethod), methodName); 578private MethodInfo GetInstanceMethodInfo(Type delegateType, string methodName) { 961internal SyncEventMethodInfo(MethodInfo methodInfo, bool isArgless){ 971internal MethodInfo MethodInfo { get; private set; } 973private static bool IsAsyncVoidMethod(MethodInfo methodInfo) { 986internal AsyncEventMethodInfo(MethodInfo methodInfo, bool requiresCancellationToken) { 991internal MethodInfo MethodInfo { get; private set; }
UI\Util.cs (2)
546MethodInfo methodInfo, 598MethodInfo methodInfo = propInfo.GetSetMethod(true /*nonPublic*/);
UI\WebControls\AdRotator.cs (1)
519MethodInfo methodInfo = type.GetMethod("OnAdCreated",
UI\WebControls\DataBoundControlHelper.cs (1)
24private static MethodInfo s_enableDynamicDataMethod;
UI\WebControls\ModelDataSourceMethod.cs (2)
32public MethodInfo MethodInfo { 37public ModelDataSourceMethod(object instance, MethodInfo methodInfo) {
UI\WebControls\ModelDataSourceView.cs (13)
33private delegate object MethodInvokerDispatcher(MethodInfo methodInfo, object instance, object[] args); 244private static bool IsAutoPagingRequired(MethodInfo selectMethod, bool isReturningQueryable, bool isAsyncSelect) { 293private static bool IsAutoSortingRequired(MethodInfo selectMethod, bool isReturningQueryable) { 336MethodInfo methodInfo = method.MethodInfo; 464MethodInfo countHelperMethod = typeof(QueryableHelpers).GetMethod("CountHelper").MakeGenericMethod(modelType); 468MethodInfo isOrderingMethodFoundMethod = typeof(QueryableHelpers).GetMethod("IsOrderingMethodFound").MakeGenericMethod(modelType); 484MethodInfo sortPageHelperMethod = typeof(QueryableHelpers).GetMethod("SortandPageHelper").MakeGenericMethod(modelType); 560private static bool IsCancellationRequired(MethodInfo method, out string parameterName) { 966MethodInfo actionMethod = modelDataSourceMethod.MethodInfo; 1146MethodInfo[] allMethods = type.GetMethods(flags); 1147MethodInfo[] actionMethods = Array.FindAll(allMethods, methodInfo => methodInfo.Name.Equals(methodName, StringComparison.OrdinalIgnoreCase)); 1158private void ValidateMethodIsCallable(MethodInfo methodInfo) { 1248private void ValidateParameterValue(ParameterInfo parameterInfo, object value, MethodInfo methodInfo) {
UI\WebControls\ObjectDataSourceView.cs (8)
1346MethodInfo[] methods = type.GetMethods( 1352MethodInfo matchedMethod = null; 1370foreach (MethodInfo mi in methods) { 1467MethodInfo[] methods = type.GetMethods( 1472MethodInfo matchedMethod = null; 1485foreach (MethodInfo mi in methods) { 2075internal MethodInfo MethodInfo; 2077internal ObjectDataSourceMethod(DataSourceOperation operation, Type type, MethodInfo methodInfo, OrderedDictionary parameters) {
UI\WebParts\ConnectionPoint.cs (3)
19private MethodInfo _callbackMethod; 33internal ConnectionPoint(MethodInfo callbackMethod, Type interfaceType, Type controlType, string displayName, string id, bool allowsMultipleConnections) { 68internal MethodInfo CallbackMethod {
UI\WebParts\ConsumerConnectionPoint.cs (1)
24public ConsumerConnectionPoint(MethodInfo callbackMethod, Type interfaceType, Type controlType,
UI\WebParts\ProviderConnectionPoint.cs (1)
24public ProviderConnectionPoint(MethodInfo callbackMethod, Type interfaceType, Type controlType,
UI\WebParts\WebPartManager.cs (2)
1772MethodInfo[] methods = type.GetMethods(BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); 1773foreach (MethodInfo method in methods) {
Util\AppVerifier.cs (1)
667internal static string PrettyPrintMemberInfo(MethodInfo method) {
Util\ArglessEventHandlerProxy.cs (2)
19private MethodInfo _arglessMethod; 21internal ArglessEventHandlerProxy(Object target, MethodInfo arglessMethod) {
Util\FactoryGenerator.cs (1)
66private MethodInfo _methodToOverride;
Util\FastDelegateCreator.cs (1)
28internal static TDelegate BindTo(object obj, MethodInfo method) {
Util\FastPropertyAccessor.cs (5)
29private static MethodInfo _getPropertyMethod; 30private static MethodInfo _setPropertyMethod; 67MethodInfo getterMethodInfo = null; 68MethodInfo setterMethodInfo = null; 266MethodInfo baseCheckMethodInfo = propInfo.GetGetMethod();
Util\QueryableUtility.cs (2)
8private static readonly MethodInfo[] _methods = typeof(Queryable).GetMethods(BindingFlags.Public | BindingFlags.Static); 10private static MethodInfo GetQueryableMethod(Expression expression) {
System.Web.DataVisualization (11)
Common\Converters\AxisConverters.cs (2)
101 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetAxis"); 170 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetAxis");
Common\Converters\DataManagerConverters.cs (1)
407 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetService");
Common\General\Chart.cs (1)
441MethodInfo m = dataSource.GetType().GetMethod("Select");
Common\Utilities\XmlSerializer.cs (7)
404 MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 473MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 756MethodInfo mi = list.GetType().GetMethod("IndexOf", new Type[] { typeof(String) }); 1550 MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); 1719MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2400MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2615 MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public );
System.Web.DynamicData (4)
DynamicData\MetaTable.cs (1)
161MethodInfo toStringMethod = EntityType.GetMethod("ToString");
DynamicData\ModelProviders\DLinqTableProvider.cs (1)
46var publicGetAccessor = propInfo.GetGetMethod();
DynamicData\ModelProviders\EFTableProvider.cs (2)
22var genericMethod = DataModel.ContextType.GetMethod("CreateQuery"); 47private MethodInfo CreateQueryMethod { get; set; }
System.Web.Entity (4)
System\Data\WebControls\EntityDataSourceView.cs (4)
182private static readonly MethodInfo _executeSelectMethod = typeof(EntityDataSourceView).GetMethod("ExecuteSelectTyped", BindingFlags.NonPublic | BindingFlags.Instance); 183private static readonly MethodInfo _continueSelectMethod = typeof(EntityDataSourceView).GetMethod("ContinueSelectTyped", BindingFlags.NonPublic | BindingFlags.Instance); 229MethodInfo getCreatorMethod = builderType.GetMethod("GetCreator", BindingFlags.Static | BindingFlags.NonPublic); 293var newQueryBuilderCreateMethod = typeof(EntityDataSourceObjectQueryBuilder<>).MakeGenericType(queryReturned.ElementType).GetMethod("Create", System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic, null, queryBuilderCreatorArgTypes, null);
System.Web.Extensions (27)
ClientServices\Providers\ClientSettingsProvider.cs (1)
903MethodInfo addMethod = ei.GetAddMethod();
Script\Serialization\JavaScriptSerializer.cs (1)
271MethodInfo getMethodInfo = propInfo.GetGetMethod();
Script\Serialization\ObjectConverter.cs (1)
57MethodInfo setter = propInfo.GetSetMethod();
Script\Services\ProxyGenerator.cs (1)
47MethodInfo getClientProxyMethod = wcfProxyType.GetMethod(WCFProxyMethodName, BindingFlags.Static | BindingFlags.NonPublic);
Script\Services\WebServiceData.cs (3)
189private void AddMethod(Dictionary<string, WebServiceMethodData> methods, MethodInfo method) { 230MethodInfo[] methodInfos = typeList[i].GetMethods(flags); 231foreach (MethodInfo method in methodInfos) {
Script\Services\WebServiceMethodData.cs (3)
18private MethodInfo _methodInfo; 26internal WebServiceMethodData(WebServiceData owner, MethodInfo methodInfo, WebMethodAttribute webMethodAttribute, ScriptMethodAttribute scriptMethodAttribute) { 75internal MethodInfo MethodInfo {
UI\AsyncPostBackTrigger.cs (3)
23private static MethodInfo _eventHandler; 34private static MethodInfo EventHandler { 107MethodInfo handlerMethod = eventInfo.EventHandlerType.GetMethod("Invoke");
UI\BundleReflectionHelper.cs (1)
138private static T MakeDelegate<T>(object target, MethodInfo method) where T : class {
UI\WebControls\Dynamic.cs (5)
1191MethodInfo method = (MethodInfo)mb; 1197return Expression.Call(instance, (MethodInfo)method, args); 1296return Expression.Call(expr, (MethodInfo)mb, args); 1800MethodInfo GetStaticMethod(string methodName, Expression left, Expression right) {
UI\WebControls\Expressions\MethodExpression.cs (3)
74internal MethodInfo ResolveMethod() { 79MethodInfo methodInfo = null; 111MethodInfo method = ResolveMethod();
UI\WebControls\Expressions\OfTypeExpression.cs (3)
14private MethodInfo _ofTypeMethod; 17private MethodInfo OfTypeMethod { 73private static MethodInfo GetOfTypeMethod(Type type) {
UI\WebControls\LinqDataSourceView.cs (1)
711MethodInfo propertyGetter = property.GetGetMethod();
UI\WebControls\QueryableDataSourceHelper.cs (1)
66MethodInfo toListMethod = typeof(Enumerable).GetMethod("ToList").MakeGenericMethod(dataObjectType);
System.Web.Mobile (2)
UI\MobileControls\DeviceSpecificChoice.cs (1)
335MethodInfo methodInfo =
UI\MobileControls\FactoryGenerator.cs (1)
69private MethodInfo _methodToOverride;
System.Web.Services (40)
System\Web\Services\Protocols\LogicalMethodInfo.cs (26)
41MethodInfo methodInfo; 42MethodInfo endMethodInfo; 56MethodInfo declaration; 63public LogicalMethodInfo(MethodInfo methodInfo) : this (methodInfo, null) { 66internal LogicalMethodInfo(MethodInfo methodInfo, WebMethod webMethod) { 75MethodInfo methodDefinition = declaration != null ? declaration : methodInfo; 85LogicalMethodInfo(MethodInfo beginMethodInfo, MethodInfo endMethodInfo, WebMethod webMethod) { 202internal MethodInfo Declaration { 388public MethodInfo MethodInfo { 396public MethodInfo BeginMethodInfo { 404public MethodInfo EndMethodInfo { 408static ParameterInfo[] GetInParameters(MethodInfo methodInfo, ParameterInfo[] paramInfos, int start, int length, bool mustBeIn) { 431static ParameterInfo[] GetOutParameters(MethodInfo methodInfo, ParameterInfo[] paramInfos, int start, int length, bool mustBeOut) { 466public static bool IsBeginMethod(MethodInfo methodInfo) { 475public static bool IsEndMethod(MethodInfo methodInfo) { 486public static LogicalMethodInfo[] Create(MethodInfo[] methodInfos) { 495public static LogicalMethodInfo[] Create(MethodInfo[] methodInfos, LogicalMethodTypes types) { 499internal static LogicalMethodInfo[] Create(MethodInfo[] methodInfos, LogicalMethodTypes types, Hashtable declarations) { 505MethodInfo methodInfo = methodInfos[i]; 523MethodInfo syncMethod = (MethodInfo)syncs[i]; 530MethodInfo beginMethodInfo = (MethodInfo)begins[i]; 532MethodInfo endMethodInfo = (MethodInfo)ends[endName];
System\Web\Services\Protocols\PatternMatcher.cs (1)
165MethodInfo getMethod = propertyInfo.GetGetMethod();
System\Web\Services\Protocols\ServerProtocol.cs (1)
179MethodInfo createKeyMethod = serverType.GetMethod(
System\Web\Services\WebMethodAttribute.cs (12)
215internal static WebMethodAttribute GetAttribute(MethodInfo implementation, MethodInfo declaration) { 249internal static MethodInfo FindInterfaceMethodInfo(Type type, string signature) 256MethodInfo[] targetMethods = map.TargetMethods; 271MethodInfo[] methods = type.GetMethods(BindingFlags.Public | BindingFlags.Instance | BindingFlags.NonPublic); 281MethodInfo declaration = FindInterfaceMethodInfo(declaringType, signature); 307MethodInfo method = (MethodInfo)unique[signature]; 319return LogicalMethodInfo.Create((MethodInfo[])list.ToArray(typeof(MethodInfo)), LogicalMethodTypes.Async | LogicalMethodTypes.Sync, methodInfos); 340internal MethodInfo declaration; 343internal WebMethod(MethodInfo declaration, WebServiceBindingAttribute binding, WebMethodAttribute attribute) {
System.Windows.Forms (29)
misc\SecurityUtils.cs (2)
184private static bool GenericArgumentsAreVisible(MethodInfo method) { 215internal static object MethodInfoInvoke(MethodInfo method, object target, object[] args) {
parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
winforms\Managed\System\WinForms\AccessibleObject.cs (7)
2486MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { 2497MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) { 2503MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { 2612MethodInfo getMethod = ((PropertyInfo)member[0]).GetGetMethod(); 3275MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) { 3279MethodInfo IReflect.GetMethod(string name, BindingFlags bindingAttr) { 3283MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) {
winforms\Managed\System\WinForms\AxHost.cs (12)
3996MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 4000MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 4004MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { 4005return new MethodInfo[0]; 5282MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 5286MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 5290MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { 5291return new MethodInfo[0]; 6361MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr,Binder binder, Type[] types,ParameterModifier[] modifiers) { 6365MethodInfo IReflect.GetMethod(String name,BindingFlags bindingAttr) { 6369MethodInfo[] IReflect.GetMethods(BindingFlags bindingAttr) { 6370return new MethodInfo[] {this.GetType().GetMethod("Move")};
winforms\Managed\System\WinForms\Control.cs (2)
18147MethodInfo method = typeof(SystemEvents).GetMethod("Shutdown", 18222MethodInfo method = typeof(SystemEvents).GetMethod("Startup",
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
36private System.Reflection.MethodInfo parseMethod;
winforms\Managed\System\WinForms\Formatter.cs (1)
408MethodInfo mi;
winforms\Managed\System\WinForms\HtmlToClrEventProxy.cs (3)
84System.Reflection.MethodInfo IReflect.GetMethod(string name, System.Reflection.BindingFlags bindingAttr) { 87System.Reflection.MethodInfo IReflect.GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, Type[] types, System.Reflection.ParameterModifier[] modifiers) { 90System.Reflection.MethodInfo[] IReflect.GetMethods(System.Reflection.BindingFlags bindingAttr) {
System.Windows.Forms.DataVisualization (11)
Common\Converters\AxisConverters.cs (2)
101 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetAxis"); 170 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetAxis");
Common\Converters\DataManagerConverters.cs (1)
407 MethodInfo methodInfo = context.Instance.GetType().GetMethod("GetService");
Common\General\Chart.cs (1)
441MethodInfo m = dataSource.GetType().GetMethod("Select");
Common\Utilities\XmlSerializer.cs (7)
404 MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 473MethodInfo mi = objectToReset.GetType().GetMethod("Reset" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 756MethodInfo mi = list.GetType().GetMethod("IndexOf", new Type[] { typeof(String) }); 1550 MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public ); 1719MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2400MethodInfo mi = objectToSerialize.GetType().GetMethod("ShouldSerialize" + pi.Name, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public); 2615 MethodInfo mi = parent.GetType().GetMethod("ShouldSerialize" + elementName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public );
System.Workflow.Activities (174)
Common\CompModHelpers.cs (6)
740internal static MethodInfo GetMethodExactMatch(Type type, string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) 742MethodInfo foundMethod = null; 743MethodInfo[] methods = type.GetMethods(bindingAttr); 744foreach (MethodInfo method in methods) 952internal static MethodInfo GetInterfaceMethod(Type interfaceType, string methodName) 954MethodInfo methodInfo = null;
Common\DelegateTypeInfo.cs (2)
65MethodInfo invokeMethod = delegateClass.GetMethod("Invoke"); 72private void Resolve(MethodInfo method)
CorrelationValidator.cs (17)
71MethodInfo methodInfo = interfaceType.GetMethod(((CallExternalMethodActivity)activity).MethodName, BindingFlags.Instance | BindingFlags.Public); 238MethodInfo methodInfo = interfaceType.GetMethod(((CallExternalMethodActivity)currentActivity).MethodName, BindingFlags.Instance | BindingFlags.Public); 402if (!(memberInfo is MethodInfo) && !(memberInfo is EventInfo)) 405if ((memberInfo is MethodInfo) && ((MethodInfo)memberInfo).IsSpecialName) 408MethodInfo methodInfo = null; 423methodInfo = (MethodInfo)memberInfo; 432error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 443error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 456error.UserData.Add(typeof(MethodInfo), methodInfo.Name); 499if (memberInfo is MethodInfo && !((MethodInfo)memberInfo).IsSpecialName) 534MethodInfo delegateMethod = delegateType.GetMethod("Invoke"); 655MethodInfo method = null; 662method = (MethodInfo)memberInfo; 829MethodInfo mInfo = interfaceType.GetMethod(operation); 862private static void ValidateParameterBinding(ValidationManager manager, Activity activity, bool isEvent, string operation, MethodInfo mInfo, WorkflowParameterBindingCollection parameterBindings, ValidationErrorCollection validationErrors)
Designers\StateDesigner.cs (3)
2465public override MethodInfo[] GetAccessors(bool nonPublic) 2470public override MethodInfo GetGetMethod(bool nonPublic) 2475public override MethodInfo GetSetMethod(bool nonPublic)
EventSinkActivity.cs (2)
198MethodInfo methodInfo = eventInfo.EventHandlerType.GetMethod("Invoke"); 466MethodInfo method = delegateType.GetMethod("Invoke");
Executors\InboundActivityHelper.cs (1)
84MethodInfo methodInfo = eventInfo.EventHandlerType.GetMethod("Invoke");
Executors\InvokeBase.cs (1)
15internal static void InitializeParameters(MethodInfo methodBase, WorkflowParameterBindingCollection parameterBindings)
Executors\WorkflowWebService.cs (1)
45MethodInfo mInfo = interfaceType.GetMethod(methodName);
InvokeMethodActivity.cs (4)
146foreach (MethodInfo method in this.InterfaceType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public)) 168MethodInfo methodInfo = type.GetMethod(methodName); 203MethodInfo methodInfo = type.GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public); 265MethodInfo method = type.GetMethod(this.MethodName);
InvokeWebService.cs (4)
124MethodInfo methodInfo = this.ProxyClass.GetMethod(this.MethodName, BindingFlags.Instance | BindingFlags.Public); 337foreach (MethodInfo method in type.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public)) 392MethodInfo method = type.GetMethod(this.MethodName); 452MethodInfo methodInfo = proxyClassType.GetMethod(invokeWebService.MethodName);
LocalService\CorrelationResolver.cs (4)
281foreach (MethodInfo member in this.interfaceType.GetMethods()) 318MethodInfo methodInfo = null; 383private void GetMethodInfo(Type interfaceType, string methodName, out MethodInfo methodInfo, out Dictionary<String, CorrelationAliasAttribute> correlationAliases) 398MethodInfo[] methInfo = eventInfo.EventHandlerType.GetMethods();
LocalService\WorkflowMessageEventHandler.cs (2)
83MethodInfo interceptedHandler = this.eventHandlerType.GetMethod("Invoke"); 95MethodInfo mHandler = typeof(WorkflowMessageEventHandler).GetMethod("EventHandler");
Rules\ArithmeticLiteral.cs (1)
328MethodInfo opOverload = Literal.MapOperatorToMethod(operation, lhs, lhsExpression, rhs, rhsExpression, validator, out error);
Rules\CodeDomDecompiler.cs (1)
321internal static string DecompileMethod(MethodInfo method)
Rules\Design\Dialogs\IntellisenseTextBox.cs (6)
359MethodInfo mi = ((PropertyInfo)item).GetGetMethod(true); 387else if (item is MethodInfo) 389MethodInfo mi = (MethodInfo)item; 522MethodInfo methodInfo = memberInfo as MethodInfo;
Rules\Executor.cs (2)
706MethodInfo conversion = RuleValidation.FindImplicitConversion(operandType, toType, out error); 753MethodInfo conversion = RuleValidation.FindExplicitConversion(operandType, toType, out error);
Rules\Expressions.cs (8)
359MethodInfo method = resultExprInfo.MethodInfo; 427MethodInfo method = expressionInfo.MethodInfo; 488MethodInfo methodInfo = expressionInfo.MethodInfo; 1119MethodInfo accessorMethod = isWritten ? pi.GetSetMethod(includeNonPublic) : pi.GetGetMethod(includeNonPublic); 1403MethodInfo mi = methodInvokeInfo.MethodInfo; 1474MethodInfo mi = methodExprInfo.MethodInfo; 1522MethodInfo mi = invokeExprInfo.MethodInfo; 2388MethodInfo accessorMethod = isWritten ? pi.GetSetMethod(includeNonPublic) : pi.GetGetMethod(includeNonPublic);
Rules\Helpers.cs (1)
264MethodInfo methodInfo = type.GetType().GetMethod("GetEnumType");
Rules\Literal.cs (21)
466MethodInfo operatorOverride = MapOperatorToMethod(comparison, lhs, lhsExpression, rhs, rhsExpression, validator, out error); 482internal static MethodInfo ObjectEquality = typeof(DefaultOperators).GetMethod("ObjectEquality"); 487internal static MethodInfo MapOperatorToMethod( 559List<MethodInfo> candidates = new List<MethodInfo>(); 715foreach (MethodInfo mi in typeof(DefaultOperators).GetMethods()) 752foreach (MethodInfo mi in typeof(DefaultOperators).GetMethods()) 757MethodInfo liftedMethod = EvaluateLiftedMethod(mi, parameters, group, lhsType0, rhsType0); 784MethodInfo bestFit = validator.FindBestCandidate(null, candidates, lhs, rhs); 817private static void AddOperatorOverloads(Type type, string methodName, Type arg1, Type arg2, List<MethodInfo> candidates) 821MethodInfo[] possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 822foreach (MethodInfo mi in possible) 843foreach (MethodInfo mi in possible) 858private static void AddLiftedOperators(Type type, string methodName, OperatorGrouping group, Type arg1, Type arg2, List<MethodInfo> candidates) 862MethodInfo[] possible = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 863foreach (MethodInfo mi in possible) 868MethodInfo liftedMethod = EvaluateLiftedMethod(mi, parameters, group, arg1, arg2); 885foreach (MethodInfo mi in possible) 890MethodInfo liftedMethod = EvaluateLiftedMethod(mi, parameters, group, arg1, arg2); 906private static MethodInfo EvaluateLiftedMethod(MethodInfo mi, ParameterInfo[] parameters, OperatorGrouping group, Type arg1, Type arg2)
Rules\Parser\Parser.cs (17)
284MethodInfo method = (MethodInfo)member; 322MethodInfo[] accessors = prop.GetAccessors((flags & BindingFlags.NonPublic) != 0); 323foreach (MethodInfo accessor in accessors) 339MethodInfo[] accessors = prop.GetAccessors((flags & BindingFlags.NonPublic) != 0); 340foreach (MethodInfo accessor in accessors) 467MethodInfo method = (MethodInfo)methods[m]; 476MethodInfo methodInfo, Type thisType) 833MethodInfo[] accessors = prop.GetAccessors(true); 834foreach (MethodInfo accessor in accessors) 850MethodInfo[] accessors = prop.GetAccessors(true); 851foreach (MethodInfo accessor in accessors) 864MethodInfo method = (MethodInfo)mi; 1632MethodInfo[] accessors = propInfo.GetAccessors(true); 1691MethodInfo mi = methodInvokeInfo.MethodInfo;
Rules\RuleValidation.cs (57)
41private MethodInfo methodInfo; 44internal RuleMethodInvokeExpressionInfo(MethodInfo mi, bool needsParamsExpansion) 51internal MethodInfo MethodInfo 67private MethodInfo methodInfo; 78internal RuleBinaryExpressionInfo(Type lhsType, Type rhsType, MethodInfo mi) 96internal MethodInfo MethodInfo 171MethodInfo actualMethod; 177public ExtensionMethodInfo(MethodInfo method, ParameterInfo[] actualParameters) 201public override MethodInfo GetBaseDefinition() 316protected MethodInfo actualMethod; 320public BaseMethodInfo(MethodInfo method) 329public override MethodInfo GetBaseDefinition() 424public LiftedConversionMethodInfo(MethodInfo method) 453public LiftedArithmeticOperatorMethodInfo(MethodInfo method) 485public LiftedEqualityOperatorMethodInfo(MethodInfo method) 516public LiftedRelationalOperatorMethodInfo(MethodInfo method) 656public override MethodInfo GetBaseDefinition() 1007internal static bool IsPrivate(MethodInfo methodInfo) 1023internal static bool IsInternal(MethodInfo methodInfo) 1199internal static MethodInfo FindImplicitConversion(Type fromType, Type toType, out ValidationError error) 1201List<MethodInfo> candidates = new List<MethodInfo>(); 1231List<MethodInfo> liftedCandidates = new List<MethodInfo>(); 1252foreach (MethodInfo mi in liftedCandidates) 1355MethodInfo result = FindImplicitConversion(fromType, toType0, out error); 1375internal static MethodInfo FindExplicitConversion(Type fromType, Type toType, out ValidationError error) 1377List<MethodInfo> candidates = new List<MethodInfo>(); 1418List<MethodInfo> liftedCandidates = new List<MethodInfo>(); 1449foreach (MethodInfo mi in liftedCandidates) 1597MethodInfo result = FindExplicitConversion(fromType, toType0, out error); 2214private static void AddImplicitConversions(Type t, Type source, Type target, List<MethodInfo> methods) 2219MethodInfo[] possible = t.GetMethods(BindingFlags.Static | BindingFlags.Public); 2220foreach (MethodInfo mi in possible) 2237private static void AddExplicitConversions(Type t, Type source, Type target, List<MethodInfo> methods) 2242MethodInfo[] possible = t.GetMethods(BindingFlags.Static | BindingFlags.Public); 2243foreach (MethodInfo mi in possible) 2293CodeExpression targetExpression, Type targetType, MethodInfo accessorMethod, string memberName, CodeExpression parentExpr) 3123internal MethodInfo FindBestCandidate(Type targetType, List<MethodInfo> methods, params Type[] types) 3130foreach (MethodInfo method in methods) 3146return (result != null) ? (MethodInfo)result.Member : null; 3201List<MethodInfo> methods = GetNamedMethods(candidateTypes, methodName, methodBindingFlags); 3229MethodInfo theMethod = (MethodInfo)bestCandidate.Member; 3264private List<MethodInfo> GetNamedMethods(List<Type> targetTypes, string methodName, BindingFlags methodBindingFlags) 3266List<MethodInfo> methods = new List<MethodInfo>(); 3276MethodInfo method = (MethodInfo)members[m]; 3395MethodInfo[] staticMethods = type.GetMethods(BindingFlags.Static | BindingFlags.Public); 3396foreach (MethodInfo mi in staticMethods) 3436private bool IsMarkedExtension(MethodInfo mi) 3448static List<CandidateMember> GetCandidateMethods(string methodName, List<MethodInfo> methods, List<Argument> arguments, out ValidationError error) 3455foreach (MethodInfo method in methods)
WebServiceFault.cs (1)
253MethodInfo methodInfo = Helpers.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName);
WebServiceReceive.cs (7)
187foreach (MethodInfo method in type.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public)) 195foreach (MethodInfo method in interfaceType.GetMethods(BindingFlags.DeclaredOnly | BindingFlags.Instance | BindingFlags.Public)) 296MethodInfo mInfo = interfaceType.GetMethod(operation); 456MethodInfo method = Helpers.GetInterfaceMethod(type, this.MethodName); 545MethodInfo methodInfo = Helpers.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName); 671MethodInfo methodInfo = Helpers.GetInterfaceMethod(webserviceInput.InterfaceType, webserviceInput.MethodName); 785private CodeMemberMethod GetWebServiceMethodDeclaraion(MethodInfo methodInfo, bool isActivation, SupportedLanguages language)
WebServiceResponse.cs (5)
153MethodInfo mInfo = webservicereceive.InterfaceType.GetMethod(webservicereceive.MethodName); 268MethodInfo method = Helpers.GetInterfaceMethod(type, webServiceReceive.MethodName); 374MethodInfo methodInfo = Helpers.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName); 666internal static void GetParameterInfo(MethodInfo methodInfo, out List<ParameterInfo> inParameters, out List<ParameterInfo> outParameters) 684internal static ValidationErrorCollection ValidateParameterTypes(MethodInfo methodInfo)
System.Workflow.ComponentModel (130)
AuthoringOM\Bind.cs (17)
781MethodInfo delegateMethod = targetType.GetMethod("Invoke"); 813else if (targetType != null && memberInfo is MethodInfo) 815memberValue = Delegate.CreateDelegate(targetType, dataSourceObject, (MethodInfo)memberInfo); //the wrapper method will never be static (even if the original one is) 1174PropertyInfo getProperty = new ActivityBindPropertyInfo(memberType, getMember[0] as MethodInfo, setMember[0] as MethodInfo, string.Empty, null); 1250MethodInfo getter = propertyInfo.GetGetMethod(); 1425if (newMemberInfo is EventInfo || newMemberInfo is MethodInfo) 1445MethodInfo getterMethod = memberPropertyInfo.GetGetMethod(); 1446MethodInfo setterMethod = memberPropertyInfo.GetSetMethod(); 1588private MethodInfo getMethod; 1589private MethodInfo setMethod; 1594public ActivityBindPropertyInfo(Type declaringType, MethodInfo getMethod, MethodInfo setMethod, string propertyName, PropertyInfo originalPropertyInfo) 1613public override MethodInfo GetGetMethod(bool nonPublic) 1618public override MethodInfo GetSetMethod(bool nonPublic) 1678public override MethodInfo[] GetAccessors(bool nonPublic) 1680return new MethodInfo[] { this.getMethod, this.setMethod };
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (18)
31private MethodInfo[] methods = null; 401public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 403return GetMembersHelper<MethodInfo>(bindingAttr, ref this.methods, true); 420members.AddRange(GetMembersHelper<MethodInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.methods)); 731MethodInfo accessorMethod = null; 811else if (type == typeof(MethodInfo)) 899else if (typeof(MethodInfo).IsAssignableFrom(type)) 967protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 969return GetMemberHelper<MethodInfo>(bindingAttr, new MemberSignature(name, types, null), ref this.methods); 1052else if ((type == typeof(MethodInfo)) && (this.methods == null)) 1057List<MethodInfo> methodCollection = GetCodeDomMembers<MethodInfo>(); 1058MethodInfo methodInfo = null; 1095if (codeDomType is CodeTypeDelegate && typeof(T) == typeof(MethodInfo)) 1103memberCollection.Add((T)CreateMemberInfo(typeof(MethodInfo), invokeMethod)); 1190else if ((memberInfoType == typeof(MethodInfo)) && (member.GetType() == typeof(CodeMemberMethod))) 1222if (memberInfo is MethodInfo) 1223this.returnType = ((MethodInfo)memberInfo).ReturnType;
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (3)
53public override MethodInfo GetAddMethod(bool nonPublic) 72public override MethodInfo GetRemoveMethod(bool nonPublic) 91public override MethodInfo GetRaiseMethod(bool nonPublic)
AuthoringOM\Compiler\TypeSystem\Helper.cs (1)
123internal static bool IncludeAccessor(MethodInfo accessor, bool nonPublic)
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (1)
188public override MethodInfo GetBaseDefinition()
AuthoringOM\Compiler\TypeSystem\PropertyInfo.cs (9)
22private MethodInfo getMethod = null; 23private MethodInfo setMethod = null; 55public override MethodInfo[] GetAccessors(bool nonPublic) 65return accessorList.ToArray(typeof(MethodInfo)) as MethodInfo[]; 68public override MethodInfo GetGetMethod(bool nonPublic) 81public override MethodInfo GetSetMethod(bool nonPublic) 101MethodInfo methodInfo = this.GetGetMethod(true); 303public override MethodInfo GetBaseDefinition()
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (29)
340public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 342List<MethodInfo> methodInfos = new List<MethodInfo>(); 343foreach (MethodInfo methodInfo in this.runtimeType.GetMethods(bindingAttr)) 446internal MethodInfo EnsureMethodWrapped(MethodInfo realInfo) 448MethodInfo wrapperInfo = (MethodInfo)this.memberMapping[realInfo]; 468else if (memberInfo is MethodInfo) 469returnMemberInfo = EnsureMethodWrapped(memberInfo as MethodInfo); 693protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 695foreach (MethodInfo method in this.runtimeType.GetMethods(bindingAttr)) 969public override MethodInfo[] GetAccessors(bool nonPublic) 971List<MethodInfo> methods = new List<MethodInfo>(); 972foreach (MethodInfo methodInfo in this.propertyInfo.GetAccessors(nonPublic)) 976public override MethodInfo GetGetMethod(bool nonPublic) 978MethodInfo methodInfo = this.propertyInfo.GetGetMethod(nonPublic); 994public override MethodInfo GetSetMethod(bool nonPublic) 996MethodInfo methodInfo = this.propertyInfo.GetSetMethod(nonPublic); 1058private MethodInfo methodInfo = null; 1061public RTMethodInfoWrapper(RTTypeWrapper rtTypeWrapper, MethodInfo methodInfo) 1086public override MethodInfo GetBaseDefinition() 1182public override MethodInfo GetAddMethod(bool nonPublic) 1184MethodInfo methodInfo = this.eventInfo.GetAddMethod(nonPublic); 1189public override MethodInfo GetRaiseMethod(bool nonPublic) 1191MethodInfo methodInfo = this.eventInfo.GetRaiseMethod(nonPublic); 1196public override MethodInfo GetRemoveMethod(bool nonPublic) 1198MethodInfo methodInfo = this.eventInfo.GetRemoveMethod(nonPublic);
AuthoringOM\Compiler\TypeSystem\TypeProvider.cs (1)
639MethodInfo m = eventInfo.GetAddMethod(true);
AuthoringOM\Compiler\Validation\BindValidator.cs (3)
525MethodInfo invokeMethod = validationBindContext.TargetType.GetMethod("Invoke"); 534MethodInfo methodInfo = Helpers.GetMethodExactMatch(resolvedType, dsName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null); 678else if (memberInfo is MethodInfo)
AuthoringOM\Compiler\Validation\DependencyObjectValidator.cs (2)
200MethodInfo invokeMethod = dependencyProperty.PropertyType.GetMethod("Invoke"); 208MethodInfo methodInfo = Helpers.GetMethodExactMatch(objType, propValue as string, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, paramTypes.ToArray(), null);
AuthoringOM\Compiler\XomlCompilerHelpers.cs (1)
110MethodInfo initializeComponent = type.GetMethod("InitializeComponent", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance, null, Type.EmptyTypes, null);
AuthoringOM\Design\ComponentSerializationService.cs (4)
739public override MethodInfo[] GetAccessors(bool nonPublic) 744return new MethodInfo[0]; 747public override MethodInfo GetGetMethod(bool nonPublic) 754public override MethodInfo GetSetMethod(bool nonPublic)
AuthoringOM\Design\DesignerHelpers.cs (4)
1623MethodInfo[] methods = type.GetMethods(bindingFlags); 1626foreach (MethodInfo method in methods) 1672if (!(member is MethodInfo) && string.Compare(member.Name, uniqueName, StringComparison.OrdinalIgnoreCase) == 0) 1681MethodInfo mi = host.RootComponent.GetType().GetMethod(uniqueName, bindingFlags, null, dti.ParameterTypes, null);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (11)
471List<MethodInfo> getterMethodInfos = new List<MethodInfo>(); 503if (member is MethodInfo) 504getterMethodInfos.Add(member as MethodInfo); 508foreach (MethodInfo info in getterMethodInfos) 522private string ConstructIndexString(MethodInfo getterMethod) 602MethodInfo getterMethod = property.GetGetMethod(); 1239MethodInfo methodInfo1 = member1 as MethodInfo; 1240MethodInfo methodInfo2 = member2 as MethodInfo;
AuthoringOM\Design\PropertyDescriptors.cs (8)
482MethodInfo addAccessor = eventInfo.GetAddMethod(); 483MethodInfo removeAccessor = eventInfo.GetRemoveMethod(); 502MethodInfo getAccessor = propertyInfo.GetGetMethod(); 503MethodInfo setAccessor = propertyInfo.GetSetMethod(); 561MethodInfo getMethod = ((PropertyInfo)matchingMember).GetGetMethod(); 562MethodInfo setMethod = ((PropertyInfo)matchingMember).GetSetMethod(); 565else if (matchingMember is MethodInfo) 567isPrivate = ((MethodInfo)matchingMember).IsPrivate;
AuthoringOM\Serializer\DictionarySurrogate.cs (1)
87MethodInfo addMethod = this.dictionary.GetType().GetMethod("Add");
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (3)
105public override MethodInfo[] GetAccessors(bool nonPublic) 110public override MethodInfo GetGetMethod(bool nonPublic) 115public override MethodInfo GetSetMethod(bool nonPublic)
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
64MethodInfo enqueueMethod = this.queue.GetType().GetMethod("Enqueue");
AuthoringOM\Serializer\ListSurrogate.cs (1)
65MethodInfo addMethod = this.list.GetType().GetMethod("Add");
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (4)
1541MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1552MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1579MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Add" + dependencyProperty.Name + "Handler", BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly); 1602MethodInfo methodInfo = dependencyProperty.OwnerType.GetMethod("Set" + dependencyProperty.Name, BindingFlags.Public | BindingFlags.Static | BindingFlags.DeclaredOnly);
Shared\CompModHelpers.cs (6)
738internal static MethodInfo GetMethodExactMatch(Type type, string name, BindingFlags bindingAttr, Binder binder, Type[] types, ParameterModifier[] modifiers) 740MethodInfo foundMethod = null; 741MethodInfo[] methods = type.GetMethods(bindingAttr); 742foreach (MethodInfo method in methods) 950internal static MethodInfo GetInterfaceMethod(Type interfaceType, string methodName) 952MethodInfo methodInfo = null;
Shared\DelegateTypeInfo.cs (2)
64MethodInfo invokeMethod = delegateClass.GetMethod("Invoke"); 71private void Resolve(MethodInfo method)
System.Workflow.Runtime (5)
DebugEngine\DebugController.cs (3)
1102MethodInfo getInvocationListMethod = activity.GetType().GetMethod("System.Workflow.ComponentModel.IDependencyObjectAccessor.GetInvocationList", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.FlattenHierarchy); 1112MethodInfo boundGetInvocationListMethod = getInvocationListMethod.MakeGenericMethod(new Type[] { dependencyEvent.PropertyType }); 1115MethodInfo handlerMethodInfo = handler.Method;
System\Activities\Statements\InteropEnvironment.cs (2)
24static MethodInfo getServiceMethod = typeof(NativeActivityContext).GetMethod("GetExtension"); 161MethodInfo genericMethodInfo = getServiceMethod.MakeGenericMethod(serviceType);
System.WorkflowServices (61)
System\ServiceModel\Dispatcher\WorkflowOperationInvoker.cs (1)
25MethodInfo syncMethod;
System\Workflow\Activities\ContractMethodInfo.cs (1)
160public override MethodInfo GetBaseDefinition()
System\Workflow\Activities\ContractType.cs (16)
27private MethodInfo[] methods = null; 70this.methods = new MethodInfo[0]; 197foreach (MethodInfo methodInfo in this.methods) 199if (this.GetMemberHelper<MethodInfo>(BindingFlags.Public | BindingFlags.Instance, 326members.AddRange(GetMembersHelper<MethodInfo>(bindingAttr, new MemberSignature(name, null, null), ref this.methods)); 375public override MethodInfo[] GetMethods(BindingFlags bindingAttr) 377return GetMembersHelper<MethodInfo>(bindingAttr, ref this.methods, true); 446if (this.GetMemberHelper<MethodInfo>(BindingFlags.Public | BindingFlags.Instance, 454List<MethodInfo> localMethods = new List<MethodInfo>(); 460this.methods = new MethodInfo[localMethods.Count]; 475protected override MethodInfo GetMethodImpl(string name, BindingFlags bindingAttr, Binder binder, CallingConventions callConvention, Type[] types, ParameterModifier[] modifiers) 477return GetMemberHelper<MethodInfo>(bindingAttr, new MemberSignature(name, types, null), ref this.methods); 559MethodInfo accessorMethod = null; 728if (memberInfo is MethodInfo) 730this.returnType = ((MethodInfo)memberInfo).ReturnType;
System\Workflow\Activities\Design\OperationPickerDialog.cs (4)
182private List<MethodInfo> GetMethodsFromInterface(Type serviceContractInterfaceType) 184List<MethodInfo> methodInfos = new List<MethodInfo>(); 208foreach (MethodInfo methodInfo in GetMethodsFromInterface(serviceContractType))
System\Workflow\Activities\OperationInfo.cs (5)
227internal protected override MethodInfo GetMethodInfo(IServiceProvider provider) 234MethodInfo methodInfo = null; 239methodInfo = this.UserData[OperationInfoBase.MethodInfoProperty] as MethodInfo; 277MethodInfo InternalGetMethodInfo(IServiceProvider provider) 282foreach (MethodInfo methodInfo in type.GetMethods())
System\Workflow\Activities\OperationInfoBase.cs (2)
30typeof(MethodInfo), typeof(OperationInfoBase), 120internal protected abstract MethodInfo GetMethodInfo(IServiceProvider provider);
System\Workflow\Activities\ReceiveActivity.cs (3)
703MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(((IComponent)this).Site); 787MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(((IComponent)this).Site); 1387MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(serviceProvider);
System\Workflow\Activities\SendActivity.cs (4)
377MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(executionContext); 466MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(((IComponent) this).Site); 531object InvokeOperation(MethodInfo operation, IChannel channel, object[] parameters) 605MethodInfo methodInfo = serviceOperationInfo.GetMethodInfo(serviceProvider);
System\Workflow\Activities\ServiceOperationHelpers.cs (4)
20public static string GetOperationName(IServiceProvider serviceProvider, MethodInfo methodInfo) 63public static bool IsAsyncOperation(IServiceProvider serviceProvider, MethodInfo methodInfo) 94public static bool IsInitiatingOperation(IServiceProvider serviceProvider, MethodInfo methodInfo) 156public static bool IsValidServiceOperation(MethodInfo methodInfo)
System\Workflow\Activities\TypedOperationInfo.cs (8)
148MethodInfo methodInfo = this.GetMethodInfo(provider); 173internal protected override MethodInfo GetMethodInfo(IServiceProvider provider) 180MethodInfo methodInfo = null; 185methodInfo = this.UserData[OperationInfoBase.MethodInfoProperty] as MethodInfo; 212MethodInfo methodInfo = this.GetMethodInfo(provider); 285MethodInfo InternalGetMethodInfo(IServiceProvider provider, Type contractType) 287MethodInfo methodInfo = null; 291foreach (MethodInfo currentMethodInfo in contractType.GetMethods())
System\Workflow\Activities\ValidationHelper.cs (9)
197MethodInfo methodInfo = serviceOperation.GetMethodInfo(manager); 262foreach (MethodInfo methodInfo in currentContractType.GetMethods()) 297((MethodInfo) notImplementedServiceOperations[currentContractType][operationName]).Name, 331((MethodInfo) notImplementedServiceOperations[currentContractType][operationName]).Name, 349((MethodInfo) implementedServiceOperations[currentContractType][operationName]).Name, 761MethodInfo methodInfo = operationInfo.GetMethodInfo(manager); 887MethodInfo methodInfo = operationInfo.GetMethodInfo(manager); 990MethodInfo methodInfo, 1106private static List<ParameterInfo> GetParameterInfo(MethodInfo methodInfo)
System\Workflow\Runtime\Hosting\ChannelManagerHelpers.cs (4)
278MethodInfo createChannelMethodInfo; 279MethodInfo createChannelWithCustomAddressMethodInfo; 303public MethodInfo CreateChannelMethodInfo 311public MethodInfo CreateChannelWithCustomAddressMethodInfo
System.Xml (252)
parent\parent\parent\parent\InternalApis\Clr\inc\LocalAppContext.cs (1)
90MethodInfo method = appContextType.GetMethod(
System\Xml\Core\SecureStringHasher.cs (1)
79MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Serialization\CodeGenerator.cs (8)
320MethodInfo ICollection_get_Count = typeof(ICollection).GetMethod( 609internal void Call(MethodInfo methodInfo) { 696private static MethodInfo GetPropertyMethodFromBaseType(PropertyInfo propertyInfo, bool isGetter) { 702MethodInfo result = null; 745MethodInfo getMethod = property.GetGetMethod(true); 777MethodInfo getMethod = property.GetGetMethod(true); 810MethodInfo setMethod = property.GetSetMethod(true); 1591internal void Ldftn(MethodInfo methodInfo) {
System\Xml\Serialization\Compilation.cs (4)
42internal MethodInfo writeMethod; 43internal MethodInfo readMethod; 519static MethodInfo GetMethodFromType(Type type, string methodName, Assembly assembly) { 520MethodInfo method = type.GetMethod(methodName);
System\Xml\Serialization\Mappings.cs (4)
799MethodInfo checkShouldPersistMethodInfo; 842internal MethodInfo CheckShouldPersistMethodInfo { 937MethodInfo getSchemaMethod; 950internal SerializableMapping(MethodInfo getSchemaMethod, bool any, string ns) {
System\Xml\Serialization\Models.cs (3)
206MethodInfo getMethod = propertyInfo.GetGetMethod(); 224MethodInfo checkShouldPersistMethodInfo; 307internal MethodInfo CheckShouldPersistMethodInfo {
System\Xml\Serialization\SourceInfo.cs (4)
24static readonly Lazy<MethodInfo> iListGetItemMethod = new Lazy<MethodInfo>( 92MethodInfo get_Item = varType.GetMethod( 194MethodInfo Nullable_get_Value = nullableType.GetMethod(
System\Xml\Serialization\TypeExtensions.cs (2)
32MethodInfo[] methods = targetType.GetMethods(BindingFlags.Static | BindingFlags.Public); 34foreach (MethodInfo method in methods) {
System\Xml\Serialization\Types.cs (5)
1113MethodInfo enumerator = type.GetMethod("GetEnumerator", new Type[0]); 1119enumerator = member as MethodInfo; 1144MethodInfo addMethod = type.GetMethod("Add", new Type[] { currentType }); 1179MethodInfo getMethod = defaultProp.GetGetMethod(); 1193MethodInfo addMethod = type.GetMethod("Add", new Type[] { indexer.PropertyType });
System\Xml\Serialization\XmlCodeExporter.cs (1)
357MethodInfo format = formatter.GetMethod("To" + pm.TypeDesc.FormatterName, new Type[] {typeof(string)});
System\Xml\Serialization\XmlReflectionImporter.cs (3)
423internal static MethodInfo GetMethodFromSchemaProvider(XmlSchemaProviderAttribute provider, Type type) { 434MethodInfo getMethod = getMethod = type.GetMethod(provider.MethodName, /* BindingFlags.DeclaredOnly | */ BindingFlags.Static | BindingFlags.Public, null, new Type[] {typeof(XmlSchemaSet)}, null); 462MethodInfo method = GetMethodFromSchemaProvider(provider, type);
System\Xml\Serialization\XmlSchemaExporter.cs (1)
828System.Reflection.MethodInfo format = formatter.GetMethod("ToString", new Type[] { pm.TypeDesc.Type });
System\Xml\Serialization\XmlSerializationILGen.cs (5)
191MethodInfo Hashtable_set_Item = typeof(Hashtable).GetMethod( 322MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod( 348MethodInfo writerType_writeMethod = CreatedTypes[writerClass].GetMethod( 372MethodInfo readerType_readMethod = CreatedTypes[readerClass].GetMethod( 394MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod(
System\Xml\Serialization\XmlSerializationReaderILGen.cs (135)
225MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 232MethodInfo XmlReader_get_NameTable = typeof(XmlReader).GetMethod( 239MethodInfo XmlNameTable_Add = typeof(XmlNameTable).GetMethod( 281MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 288MethodInfo XmlReader_IsStartElement = typeof(XmlReader).GetMethod( 327MethodInfo method = typeof(XmlSerializationReader).GetMethod( 356MethodInfo XmlSerializationReader_UnknownNode1 = typeof(XmlSerializationReader).GetMethod( 415MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 422MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 510MethodInfo XmlSerializationReader_set_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 529MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 545MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 557MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 574MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 603MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 662MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 669MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 714MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 721MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 733MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 740MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 766MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 773MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 785MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 792MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 820MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 832MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 839MethodInfo XmlReader_method = typeof(XmlReader).GetMethod( 852MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 865MethodInfo ToXXX; 896MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 903MethodInfo XmlReader_ReadXXXString = typeof(XmlReader).GetMethod( 915MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 922MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1011MethodInfo Hashtable_Add = typeof(Hashtable).GetMethod( 1071MethodInfo XmlSerializationReader_ToEnum = typeof(XmlSerializationReader).GetMethod( 1113MethodInfo String_op_Equality = typeof(string).GetMethod( 1135MethodInfo XmlSerializationReader_CreateUnknownConstantException = typeof(XmlSerializationReader).GetMethod( 1204MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1211MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1233MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 1240MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 1256MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 1319MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 1375MethodInfo XmlSerializationReader_GetXsiType = typeof(XmlSerializationReader).GetMethod( 1382MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 1421MethodInfo XmlSerializationReader_ReadTypedNull = typeof(XmlSerializationReader).GetMethod( 1469MethodInfo XmlSerializationReader_ReadTypedPrimitive = typeof(XmlSerializationReader).GetMethod( 1488MethodInfo XmlSerializationReader_ReadTypedPrimitive = typeof(XmlSerializationReader).GetMethod( 1502MethodInfo XmlSerializationReader_CreateUnknownTypeException = typeof(XmlSerializationReader).GetMethod( 1529MethodInfo XmlSerializationReader_CreateAbstractTypeException = typeof(XmlSerializationReader).GetMethod( 1544MethodInfo XmlSerializationReader_set_DecodeName = typeof(XmlSerializationReader).GetMethod( 1634MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1641MethodInfo XmlReader_MoveToElement = typeof(XmlReader).GetMethod( 1653MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 1664MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 1680MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 1697MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 1712MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 1734MethodInfo XmlQualifiedName_get_Name = typeof(XmlQualifiedName).GetMethod( 1741MethodInfo XmlQualifiedName_get_Namespace = typeof(XmlQualifiedName).GetMethod( 1778MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1785MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1792MethodInfo XmlReader_get_NamespaceURI = typeof(XmlReader).GetMethod( 1849MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 1856MethodInfo XmlReader_MoveToNextAttribute = typeof(XmlReader).GetMethod( 1906MethodInfo XmlSerializationReader_IsXmlnsAttribute = typeof(XmlSerializationReader).GetMethod( 1913MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 1920MethodInfo XmlReader_get_LocalName = typeof(XmlReader).GetMethod( 1927MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 1958MethodInfo Add = xmlnsMember.Mapping.TypeDesc.Type.GetMethod( 1965MethodInfo String_get_Length = typeof(String).GetMethod( 1994MethodInfo XmlSerializationReader_IsXmlnsAttribute = typeof(XmlSerializationReader).GetMethod( 2001MethodInfo XmlReader_get_Name = typeof(XmlReader).GetMethod( 2018MethodInfo XmlSerializationReader_get_Document = typeof(XmlSerializationReader).GetMethod( 2025MethodInfo XmlDocument_ReadNode = typeof(XmlDocument).GetMethod( 2039MethodInfo XmlSerializationReader_ParseWsdlArrayType = typeof(XmlSerializationReader).GetMethod( 2070MethodInfo elseCallMethod = typeof(XmlSerializationReader).GetMethod( 2127MethodInfo String_Split = typeof(String).GetMethod( 2134MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2141MethodInfo XmlReader_get_Value = typeof(XmlReader).GetMethod( 2220MethodInfo XmlSerializationReader_CreateReadOnlyCollectionException = typeof(XmlSerializationReader).GetMethod( 2282MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2289MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2317MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2324MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 2375MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2382MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2389MethodInfo XmlSerializationReader_get_Document = typeof(XmlSerializationReader).GetMethod( 2396MethodInfo XmlDocument_CreateTextNode = typeof(XmlDocument).GetMethod( 2423MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2430MethodInfo XmlReader_ReadString = typeof(XmlReader).GetMethod( 2441MethodInfo XmlSerializationReader_CollapseWhitespace = typeof(XmlSerializationReader).GetMethod( 2454MethodInfo XmlSerializationReader_ReadString = typeof(XmlSerializationReader).GetMethod( 2553MethodInfo XmlSerializationReader_get_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 2580MethodInfo XmlSerializationReader_set_IsReturnValue = typeof(XmlSerializationReader).GetMethod( 2670MethodInfo XmlSerializationReader_ShrinkArray = typeof(XmlSerializationReader).GetMethod( 2742MethodInfo XmlSerializationReader_EnsureArrayIndex = typeof(XmlSerializationReader).GetMethod( 2835MethodInfo Add = localA.LocalType.GetMethod( 2865MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 2899MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 2906MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 2923MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 2935MethodInfo XmlReader_ReadStartElement = typeof(XmlReader).GetMethod( 2949MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 2962MethodInfo XmlSerializationReader_ReadEndElement = typeof(XmlSerializationReader).GetMethod( 3014MethodInfo XmlSerializationReader_ReadNull = typeof(XmlSerializationReader).GetMethod( 3036MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3043MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3054MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3073MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3080MethodInfo XmlReader_get_IsEmptyElement = typeof(XmlReader).GetMethod( 3092MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3121MethodInfo XmlSerializationReader_ReadElementQualifiedName = typeof(XmlSerializationReader).GetMethod( 3159MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3166MethodInfo XmlReader_Skip = typeof(XmlReader).GetMethod( 3208MethodInfo XmlSerializationReader_ReadXmlXXX = typeof(XmlSerializationReader).GetMethod( 3227MethodInfo XmlSerializationReader_GetXsiType = typeof(XmlSerializationReader).GetMethod( 3254MethodInfo XmlSerializationReader_ReadSerializable = typeof(XmlSerializationReader).GetMethod( 3320MethodInfo XmlSerializationReader_ReadSerializable = typeof(XmlSerializationReader).GetMethod( 3340MethodInfo XmlSerializationReader_CreateBadDerivationException = typeof(XmlSerializationReader).GetMethod( 3359MethodInfo XmlSerializationReader_CreateMissingIXmlSerializableType = typeof(XmlSerializationReader).GetMethod( 3380MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3387MethodInfo XmlReader_MoveToContent = typeof(XmlReader).GetMethod( 3411MethodInfo XmlSerializationReader_get_Reader = typeof(XmlSerializationReader).GetMethod( 3418MethodInfo XmlReader_get_NodeType = typeof(XmlReader).GetMethod( 3447MethodInfo XmlSerializationReader_get_ReaderCount = typeof(XmlSerializationReader).GetMethod( 3464MethodInfo XmlSerializationReader_CheckReaderCount = typeof(XmlSerializationReader).GetMethod( 3499MethodInfo XmlSerializationReader_CreateInaccessibleConstructorException = typeof(XmlSerializationReader).GetMethod( 3512MethodInfo XmlSerializationReader_CreateCtorHasSecurityException = typeof(XmlSerializationReader).GetMethod( 3535MethodInfo XmlSerializationReader_CreateInvalidCastException = typeof(XmlSerializationReader).GetMethod( 3547MethodInfo XmlSerializationReader_GetTarget = typeof(XmlSerializationReader).GetMethod( 3592MethodInfo XmlSerializationReader_UnknownNode1 = typeof(XmlSerializationReader).GetMethod( 3599MethodInfo XmlSerializationReader_UnknownNode2 = typeof(XmlSerializationReader).GetMethod( 3673MethodInfo XmlSerializationReader_CreateUnknownNodeException = typeof(XmlSerializationReader).GetMethod(
System\Xml\Serialization\XmlSerializationWriter.cs (1)
3516writer.Write("static "+typeof(MethodInfo).FullName+" "+methodVariable+" = "+typeVariable+".GetMethod(");
System\Xml\Serialization\XmlSerializationWriterILGen.cs (68)
100MethodInfo XmlSerializationWriter_WriteXXX = typeof(XmlSerializationWriter).GetMethod( 143MethodInfo XmlConvert_ToString = typeof(XmlConvert).GetMethod( 161MethodInfo FromXXX = typeof(XmlSerializationWriter).GetMethod( 239MethodInfo XmlSerializationWriter_method = typeof(XmlSerializationWriter).GetMethod( 254MethodInfo XmlSerializationWriter_Method = typeof(XmlSerializationWriter).GetMethod( 268MethodInfo XmlSerializationWriter_Method = typeof(XmlSerializationWriter).GetMethod( 288MethodInfo XmlSerializationWriter_WriteEndElement = typeof(XmlSerializationWriter).GetMethod( 299MethodInfo XmlSerializationWriter_WriteEndElement = typeof(XmlSerializationWriter).GetMethod( 336MethodInfo XmlSerializationWriter_WriteStartDocument = typeof(XmlSerializationWriter).GetMethod( 346MethodInfo XmlSerializationWriter_TopLevelElement = typeof(XmlSerializationWriter).GetMethod( 513MethodInfo XmlSerializationWriter_WriteStartDocument = typeof(XmlSerializationWriter).GetMethod( 533MethodInfo XmlSerializationWriter_TopLevelElement = typeof(XmlSerializationWriter).GetMethod( 630MethodInfo XmlSerializationWriter_FromEnum = typeof(XmlSerializationWriter).GetMethod( 650MethodInfo CultureInfo_get_InvariantCulture = typeof(CultureInfo).GetMethod( 657MethodInfo Int64_ToString = typeof(Int64).GetMethod( 664MethodInfo XmlSerializationWriter_CreateInvalidEnumValueException = typeof(XmlSerializationWriter).GetMethod( 722MethodInfo methodBuilder = EnsureMethodBuilder(typeBuilder, 750MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 757MethodInfo XmlWriter_WriteStartElement = typeof(XmlWriter).GetMethod( 769MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 786MethodInfo XmlWriter_WriteString = typeof(XmlWriter).GetMethod( 801MethodInfo XmlWriter_WriteEndElement = typeof(XmlWriter).GetMethod( 825MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 832MethodInfo XmlWriter_WriteStartElement = typeof(XmlWriter).GetMethod( 844MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 858MethodInfo XmlWriter_WriteEndElement = typeof(XmlWriter).GetMethod( 903MethodInfo XmlSerializationWriter_WriteNullTagLiteral = typeof(XmlSerializationWriter).GetMethod( 923MethodInfo Object_GetType = typeof(object).GetMethod( 943MethodInfo XmlSerializationWriter_WriteTypedPrimitive = typeof(XmlSerializationWriter).GetMethod( 959MethodInfo XmlSerializationWriter_CreateUnknownTypeException = typeof(XmlSerializationWriter).GetMethod( 977MethodInfo XmlSerializationWriter_set_EscapeName = typeof(XmlSerializationWriter).GetMethod( 1012MethodInfo XmlSerializationWriter_WriteStartElement = typeof(XmlSerializationWriter).GetMethod( 1023MethodInfo XmlSerializationWriter_WriteXsiType = typeof(XmlSerializationWriter).GetMethod( 1126MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1133MethodInfo XmlWriter_WriteStartAttribute = typeof(XmlWriter).GetMethod( 1184MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1191MethodInfo XmlWriter_WriteString = typeof(XmlWriter).GetMethod( 1208MethodInfo StringBuilder_Append = typeof(StringBuilder).GetMethod( 1231MethodInfo method = methodType.GetMethod( 1252MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1259MethodInfo XmlWriter_WriteEndAttribute = typeof(XmlWriter).GetMethod( 1271MethodInfo StringBuilder_get_Length = typeof(StringBuilder).GetMethod( 1292MethodInfo Object_ToString = typeof(Object).GetMethod( 1302MethodInfo XmlSerializationWriter_WriteAttribute = typeof(XmlSerializationWriter).GetMethod( 1328MethodInfo XmlSerializationWriter_WriteXmlAttribute = typeof(XmlSerializationWriter).GetMethod( 1409MethodInfo XmlSerializationWriter_CreateInvalidChoiceIdentifierValueException = typeof(XmlSerializationWriter).GetMethod( 1441MethodInfo getEnumeratorMethod = arrayTypeDesc.Type.GetMethod( 1482MethodInfo IEnumerator_MoveNext = typeof(IEnumerator).GetMethod( 1650MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1657MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 1667MethodInfo String_op_Equality = typeof(string).GetMethod( 1691MethodInfo XmlSerializationWriter_CreateChoiceIdentifierValueException = typeof(XmlSerializationWriter).GetMethod( 1717MethodInfo XmlSerializationWriter_CreateUnknownAnyElementException = typeof(XmlSerializationWriter).GetMethod( 1726MethodInfo XmlNode_get_Name = typeof(XmlNode).GetMethod( 1733MethodInfo XmlNode_get_NamespaceURI = typeof(XmlNode).GetMethod( 1776MethodInfo XmlSerializationWriter_CreateUnknownTypeException = typeof(XmlSerializationWriter).GetMethod( 1807MethodInfo XmlSerializationWriter_WriteValue = typeof(XmlSerializationWriter).GetMethod( 1820MethodInfo WriteTo = source.Type.GetMethod( 1827MethodInfo XmlSerializationWriter_get_Writer = typeof(XmlSerializationWriter).GetMethod( 1850MethodInfo Nullable_get_HasValue = element.Mapping.TypeDesc.Type.GetMethod( 1982MethodInfo XmlSerializationWriter_CreateInvalidAnyTypeException = typeof(XmlSerializationWriter).GetMethod( 2003MethodInfo XmlSerializationWriter_func = typeof(XmlSerializationWriter).GetMethod( 2033MethodInfo String_get_Length = typeof(string).GetMethod( 2071MethodInfo op_Inequality = valueType.GetMethod( 2103MethodInfo XmlSerializationWriter_CreateMismatchChoiceException = typeof(XmlSerializationWriter).GetMethod( 2131MethodInfo XmlSerializationWriter_WriteNamespaceDeclarations = typeof(XmlSerializationWriter).GetMethod( 2324MethodInfo XName_op_Implicit = xName.GetMethod( 2351MethodInfo Activator_CreateInstance = typeof(Activator).GetMethod(
System\Xml\XmlQualifiedName.cs (1)
174MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static);
System\Xml\Xslt\XslCompiledTransform.cs (2)
286MethodInfo executeMethod = compiledStylesheet.GetMethod("Execute", BindingFlags.Static | BindingFlags.NonPublic); 301public void Load(MethodInfo executeMethod, byte[] queryData, Type[] earlyBoundTypes) {
System\Xml\Xslt\XslTransform.cs (3)
290private MethodInfo getBltIn; 291private MethodInfo onCompile; 292private MethodInfo onExecute;
WindowsBase (20)
Base\MS\Internal\ComponentModel\AttachInfo.cs (4)
45private MethodInfo AttachMethod 68MethodInfo m = AttachMethod; 136MethodInfo m = AttachMethod; 241private MethodInfo _getMethod;
Base\MS\Internal\ComponentModel\DependencyObjectPropertyDescriptor.cs (12)
161MethodInfo method = GetSpecialMethod("ShouldSerialize"); 385internal static MethodInfo GetAttachedPropertyMethod(DependencyProperty dp) 392MethodInfo method; 404method = methodObj as MethodInfo; 466MethodInfo mi = GetAttachedPropertyMethod(_dp); 552private static MethodInfo GetAttachedPropertySetMethod(DependencyProperty dp) 559MethodInfo method; 571method = methodObj as MethodInfo; 598private MethodInfo GetSpecialMethod(string methodPrefix) 635MethodInfo methodInfo = reflectionType.GetMethod(methodName, flags, _dpBinder, types, null); 857private MethodInfo _shouldSerializeMethod; 858private MethodInfo _resetMethod;
Base\System\Windows\Markup\TypeConverterHelper.cs (2)
53MethodInfo methodInfo; 81if ((methodInfo = dpOrPiOrMi as MethodInfo) != null)
Base\System\Windows\WeakEventManager.cs (2)
153internal static MethodInfo DeliverEventMethodInfo 509private static MethodInfo s_DeliverEventMethodInfo;