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