6 references to GetEnumeratorMethodName
System.Private.DataContractSerialization (6)
System\Runtime\Serialization\CollectionDataContract.cs (6)
1065
getEnumeratorMethod = Globals.TypeOfIEnumerableGeneric.MakeGenericType(Globals.TypeOfKeyValuePair.MakeGenericType(genericArgs)).GetMethod(Globals.
GetEnumeratorMethodName
)!;
1074
getEnumeratorMethod = Globals.TypeOfIEnumerableGeneric.MakeGenericType(itemType).GetMethod(Globals.
GetEnumeratorMethodName
)!;
1095
getEnumeratorMethod = typeof(IEnumerable).GetMethod(Globals.
GetEnumeratorMethodName
)!;
1297
getEnumeratorMethod = t.GetMethod(Globals.
GetEnumeratorMethodName
) ?? getEnumeratorMethod;
1346
getEnumeratorMethod = type.GetMethod(Globals.
GetEnumeratorMethodName
, BindingFlags.Instance | BindingFlags.Public, Type.EmptyTypes);
1362
=> GetTargetMethodWithName(Globals.
GetEnumeratorMethodName
, type, ienumerableInterface);