We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 488e251 commit 54092d4Copy full SHA for 54092d4
src/coreclr/nativeaot/System.Private.CoreLib/src/System/InvokeUtils.cs
@@ -418,7 +418,7 @@ private static Exception ConvertOrWidenPrimitivesEnumsAndPointersIfPossible(obje
418
Failure:
419
Debug.Fail("Unexpected CorElementType: " + dstElementType + ": Not a valid widening target.");
420
dstObject = null;
421
- return CreateChangeTypeException(srcEEType, dstEEType, semantics);
+ return null; // This code can never be reached
422
}
423
424
private static bool CanPrimitiveWiden(EETypeElementType destType, EETypeElementType srcType)
0 commit comments