ParameterInfo.DefaultValue may return Type.Missing #9438
Labels
area-System.Reflection
help wanted
Good for community contributors to help [up-for-grabs]
Pri3
Indicates issues/PRs that are low priority
ParameterInfo.DefaultValue
may returnType.Missing
if parameter is optional, but no default value in metadata (probably COM interop case). Same forParameterInfo.RawDefaultValue
See implementation
https://github.com/dotnet/runtime/blob/v7.0.13/src/coreclr/System.Private.CoreLib/src/System/Reflection/RuntimeParameterInfo.cs#L287-L298
The text was updated successfully, but these errors were encountered: