We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code snippet does not have ParamName for the ArgumentNullException that is thrown in Native AOT
ParamName
ArgumentNullException
using System.ComponentModel; var attribute = new InstallerTypeAttribute((string)null); try { var v1 = attribute.InstallerType; }catch(ArgumentNullException ex) { Console.WriteLine(ex.Message); Console.WriteLine(ex.ParamName); }
.NET
<Value cannot be null. (Parameter 'typeName')> <typeName>
NativeAOT
<Value cannot be null.> <>
The text was updated successfully, but these errors were encountered:
The fix for this is just about adding a nameof(typeName) as a parameter to this line:
nameof(typeName)
runtime/src/coreclr/nativeaot/System.Private.CoreLib/src/Internal/Reflection/Core/Execution/ExecutionDomain.cs
Line 45 in 264b45e
Sorry, something went wrong.
Fixed with #73734
LakshanF
No branches or pull requests
The following code snippet does not have
ParamName
for theArgumentNullException
that is thrown in Native AOT.NET
NativeAOT
The text was updated successfully, but these errors were encountered: