Skip to content
New issue

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

Fix null check in BamlDecompilerTypeSystem.HasType #2509

Merged
merged 1 commit into from
Oct 3, 2021

Conversation

yyjdelete
Copy link
Contributor

@yyjdelete yyjdelete commented Sep 27, 2021

Fix CS8073: The result of the expression is always 'true' since a value of type 'TypeDefinitionHandle' is never equal to 'null' of type 'TypeDefinitionHandle?'

TypeDefinitionHandle is an struct and can never be null.

@siegfriedpammer siegfriedpammer merged commit 6b2dd35 into icsharpcode:master Oct 3, 2021
@siegfriedpammer
Copy link
Member

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants