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
Custom attribute fails to parse when fixed argument is null
[AttributeUsage(AttributeTargets.All, AllowMultiple = true)] public class TestCase2Attribute : Attribute { public TestCase2Attribute(Type type) { Type = type; } public Type Type { get; set; } } [TestCase2(null)] public void FixedTypeArgumentNull() { }
var fixedMethod =.... //get MethodDefinition of FixedTypeArgumentNull var customAttribute = fixedMethod.CustomAttributes[0]; var fixedArg = customAttribute.Signature.FixedArguments[0]; var element = fixedArg.Element;
element to be null
The text was updated successfully, but these errors were encountered:
Merge branch 'issue/nullable-system-type-arguments' into development
93a8e07
Closes #224
Seems like a detail ECMA-335 forgot to mention. Should be fixed now.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Custom attribute fails to parse when fixed argument is null
To Reproduce
Expected behavior
element to be null
Platform
The text was updated successfully, but these errors were encountered: