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
I have an attribute which receives a null argument, and when retrieving it from the model, it retrieves the AttributeArgument but it throws when I try to print it, because the Value inside it is null. I guess the problem is here: https://github.com/NeVeSpl/NTypewriter/blob/23a40b936caf1a2682bc97500de407bd6e30884a/NTypewriter.CodeModel.Roslyn/TypedConstant.cs#L35C78-L35C78 Because the typedConstant itself is not null, but its Value property is
AttributeArgument
typedConstant
Value
The text was updated successfully, but these errors were encountered:
#87 - AttributeArgument with null value, TypedConstant ToString throw…
bf8573c
…s NullReferenceException
Indeed, thank you for noticing that.
Sorry, something went wrong.
NeVeSpl
No branches or pull requests
I have an attribute which receives a null argument, and when retrieving it from the model, it retrieves the
AttributeArgument
but it throws when I try to print it, because the Value inside it is null.I guess the problem is here:
https://github.com/NeVeSpl/NTypewriter/blob/23a40b936caf1a2682bc97500de407bd6e30884a/NTypewriter.CodeModel.Roslyn/TypedConstant.cs#L35C78-L35C78
Because the
typedConstant
itself is not null, but itsValue
property isThe text was updated successfully, but these errors were encountered: