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 custom attributes compare bug #67

Merged
merged 4 commits into from
Oct 12, 2017
Merged

fix custom attributes compare bug #67

merged 4 commits into from
Oct 12, 2017

Conversation

oyji1992
Copy link
Contributor

(ILRuntimeWrapperType)attributeTypes[i] == (System.RuntimeType)attributeType 不能正常工作

直接调用==对比了ILRuntimeWrapperType和System.RuntimeType的HashCode。结果始终为false。
手动调用Equals(Type)会对比UnderlyingSystemType。就不会有这种问题了

@liiir1985 liiir1985 merged commit bdb9a61 into Ourpalm:master Oct 12, 2017
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