Definition at line 1360 of file CollectionDataContract.cs.
1361 {
1364 {
1367 {
1370 {
1372 Array.Sort(interfaces, (
Type x,
Type y) =>
string.Compare(x.FullName, y.FullName));
1375 {
1377 {
1380 {
1381 break;
1382 }
1383 }
1384 }
1385 }
1386 }
1387 }
1388 else
1389 {
1391 }
1393 {
1394 return;
1395 }
1398 {
1400 where t.FullName.StartsWith(
"System.Collections.Generic.IEnumerable")
1403 {
1404 type3 = Globals.TypeOfIEnumerable;
1405 }
1407 }
1408 }
static void FindCollectionMethodsOnInterface([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type interfaceType, ref MethodInfo addMethod, ref MethodInfo getEnumeratorMethod)
static MethodInfo GetIEnumerableGetEnumeratorMethod([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] Type ienumerableInterface)
static bool IsKnownInterface(Type type)
References System.array, System.Runtime.Serialization.Dictionary, System.Type.EmptyTypes, System.Runtime.Serialization.CollectionDataContract.FindCollectionMethodsOnInterface(), System.Type.FullName, System.Runtime.Serialization.CollectionDataContract.GetIEnumerableGetEnumeratorMethod(), System.Runtime.Serialization.CollectionDataContract.IsKnownInterface(), System.Array.Sort(), System.type, System.Runtime.Serialization.Globals.TypeOfIEnumerable, and System.Runtime.Serialization.Globals.TypeOfIEnumerator.
Referenced by System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate().