7 instantiations of ArrayTypeMismatchException
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
95Throw New Global.System.ArrayTypeMismatchException()
System.Numerics.Tensors (1)
System\ThrowHelper.cs (1)
34throw new ArrayTypeMismatchException();
System.Private.CoreLib (5)
src\coreclr\nativeaot\Runtime.Base\src\System\Runtime\ExceptionHandling.cs (1)
321ExceptionIDs.ArrayTypeMismatch => new ArrayTypeMismatchException(),
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (2)
71throw new ArrayTypeMismatchException(); 77throw new ArrayTypeMismatchException(SR.ArrayTypeMismatch_CantAssignType);
src\System\Array.CoreCLR.cs (1)
86throw new ArrayTypeMismatchException(SR.ArrayTypeMismatch_ConstrainedCopy);
src\System\Runtime\CompilerServices\CastHelpers.cs (1)
386throw new ArrayTypeMismatchException();
49 references to ArrayTypeMismatchException
Microsoft.Build.Framework (4)
SegmentedDictionary`2.cs (3)
907catch (ArrayTypeMismatchException) 1375catch (ArrayTypeMismatchException) 1575catch (ArrayTypeMismatchException)
SegmentedList`1.cs (1)
393catch (ArrayTypeMismatchException)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\FileIO\FileSystem.vb (1)
1333TypeOf ex Is RankException Or TypeOf ex Is ArrayTypeMismatchException Or
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
54[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArrayTypeMismatchException))]
netstandard (1)
netstandard.cs (1)
47[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArrayTypeMismatchException))]
System.Collections (9)
System\Collections\Generic\LinkedList.cs (1)
494catch (ArrayTypeMismatchException)
System\Collections\Generic\PriorityQueue.cs (1)
963catch (ArrayTypeMismatchException)
System\Collections\Generic\SortedDictionary.cs (2)
588catch (ArrayTypeMismatchException) 749catch (ArrayTypeMismatchException)
System\Collections\Generic\SortedList.cs (3)
498catch (ArrayTypeMismatchException) 1061catch (ArrayTypeMismatchException) 1175catch (ArrayTypeMismatchException)
System\Collections\Generic\SortedSet.cs (1)
582catch (ArrayTypeMismatchException)
System\Collections\Generic\Stack.cs (1)
149catch (ArrayTypeMismatchException)
System.Collections.Concurrent (2)
System\Collections\Concurrent\BlockingCollection.cs (1)
1588catch (ArrayTypeMismatchException)
System\Collections\Concurrent\ConcurrentBag.cs (1)
306catch (ArrayTypeMismatchException e)
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenDictionary.cs (1)
400catch (ArrayTypeMismatchException)
System.Numerics.Tensors (6)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (3)
45/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 59/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 77/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
System\Numerics\Tensors\netcore\TensorSpan.cs (3)
47/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 62/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 80/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
System.Private.CoreLib (23)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1100catch (ArrayTypeMismatchException) 1575catch (ArrayTypeMismatchException) 1769catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
399catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
160catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
234catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
61catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
164catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
207catch (ArrayTypeMismatchException)
src\libraries\System.Private.CoreLib\src\System\Memory.cs (2)
38/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 83/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (7)
2650/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 2676/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 2710/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 2749/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 2781/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 2819/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 2839/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception>
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (2)
40/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 63/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (1)
598/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
src\libraries\System.Private.CoreLib\src\System\Span.cs (2)
40/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 64/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net9.0\System.Runtime.Forwards.cs (1)
42[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArrayTypeMismatchException))]