25 references to ArrayAssignType
System.Private.CoreLib (25)
src\System\Array.CoreCLR.cs (25)
65ArrayAssignType assignType = ArrayAssignType.WrongType; 68|| (assignType = CanAssignArrayType(sourceArray, destinationArray)) == ArrayAssignType.SimpleCopy) 112private static unsafe void CopySlow(Array sourceArray, int sourceIndex, Array destinationArray, int destinationIndex, int length, ArrayAssignType assignType) 116if (assignType == ArrayAssignType.WrongType) 123case ArrayAssignType.UnboxValueClass: 127case ArrayAssignType.BoxValueClassOrPrimitive: 131case ArrayAssignType.MustCast: 135case ArrayAssignType.PrimitiveWiden: 156private static unsafe ArrayAssignType CanAssignArrayType(Array sourceArray, Array destinationArray) 162return ArrayAssignType.SimpleCopy; 173return ArrayAssignType.BoxValueClassOrPrimitive; 175return ArrayAssignType.WrongType; 182return ArrayAssignType.UnboxValueClass; 184return ArrayAssignType.UnboxValueClass; 186return ArrayAssignType.WrongType; 196return ArrayAssignType.SimpleCopy; 198return ArrayAssignType.PrimitiveWiden; 200return ArrayAssignType.WrongType; 205return ArrayAssignType.SimpleCopy; 209return ArrayAssignType.MustCast; 213return ArrayAssignType.MustCast; 217return ArrayAssignType.MustCast; 225return ArrayAssignType.SimpleCopy; 228return ArrayAssignType.WrongType;