8 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)
53throw new ArrayTypeMismatchException();
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\ThrowHelpers.cs (1)
74throw new ArrayTypeMismatchException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
483throw new ArrayTypeMismatchException(SR.ArrayTypeMismatch_ConstrainedCopy); 494throw new ArrayTypeMismatchException(SR.ArrayTypeMismatch_CantAssignType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (1)
750return new System.ArrayTypeMismatchException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
77throw new ArrayTypeMismatchException();
System\RuntimeExceptionHelpers.cs (1)
81return new ArrayTypeMismatchException();
95 references to ArrayTypeMismatchException
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.AspNetCore.Razor.Utilities.Shared (4)
ArrayExtensions.cs (4)
31/// <exception cref="ArrayTypeMismatchException"> 74/// <exception cref="ArrayTypeMismatchException"> 116/// <exception cref="ArrayTypeMismatchException"> 160/// <exception cref="ArrayTypeMismatchException">
Microsoft.Build (4)
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.Extensions.Package (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\FileIO\FileSystem.vb (1)
1333TypeOf ex Is RankException Or TypeOf ex Is ArrayTypeMismatchException Or
mscorlib (1)
src\runtime\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))]
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (3)
937catch (ArrayTypeMismatchException) 1419catch (ArrayTypeMismatchException) 1627catch (ArrayTypeMismatchException)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedList`1.cs (1)
466catch (ArrayTypeMismatchException)
System.Collections (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
68catch (ArrayTypeMismatchException)
System\Collections\Generic\LinkedList.cs (1)
494catch (ArrayTypeMismatchException)
System\Collections\Generic\OrderedDictionary.cs (3)
1319catch (ArrayTypeMismatchException) 1562catch (ArrayTypeMismatchException) 1871catch (ArrayTypeMismatchException)
System\Collections\Generic\PriorityQueue.cs (1)
977catch (ArrayTypeMismatchException)
System\Collections\Generic\SortedDictionary.cs (2)
580catch (ArrayTypeMismatchException) 741catch (ArrayTypeMismatchException)
System\Collections\Generic\SortedList.cs (3)
498catch (ArrayTypeMismatchException) 1062catch (ArrayTypeMismatchException) 1176catch (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)
1589catch (ArrayTypeMismatchException)
System\Collections\Concurrent\ConcurrentBag.cs (1)
300catch (ArrayTypeMismatchException e)
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenDictionary.cs (1)
453catch (ArrayTypeMismatchException)
System.Numerics.Tensors (6)
System\Numerics\Tensors\netcore\TensorSpan_1.cs (6)
33/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception> 45/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception> 50/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception> 62/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception> 94/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception> 106/// <exception cref="ArrayTypeMismatchException"><paramref name="array"/> is covariant and its type is not exactly T[].</exception>
System.Private.CoreLib (24)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (3)
1633catch (ArrayTypeMismatchException) 2108catch (ArrayTypeMismatchException) 2302catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\List.cs (1)
399catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Queue.cs (1)
160catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\Collection.cs (1)
234catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\CollectionHelpers.cs (1)
68catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyCollection.cs (1)
165catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
202catch (ArrayTypeMismatchException)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Memory.cs (2)
35/// <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>
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (7)
3740/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 3766/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 3800/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 3839/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 3871/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 3909/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception> 3929/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="segment"/> is covariant and array's type is not exactly T[].</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (2)
37/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception> 60/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\MemoryMarshal.cs (1)
638/// <exception cref="ArrayTypeMismatchException">Thrown when <paramref name="array"/> is covariant and array's type is not exactly T[].</exception>
src\runtime\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\Array.NativeAot.cs (1)
428catch (ArrayTypeMismatchException)
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
42[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ArrayTypeMismatchException))]
System.Windows.Forms (1)
misc\CollectionHelper.cs (1)
61catch (ArrayTypeMismatchException)