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

CopyTypeCustomModifiers() should copy NativeIntegerAttribute values #42500

Closed
cston opened this issue Mar 17, 2020 · 1 comment · Fixed by #47536
Closed

CopyTypeCustomModifiers() should copy NativeIntegerAttribute values #42500

cston opened this issue Mar 17, 2020 · 1 comment · Fixed by #47536

Comments

@cston
Copy link
Member

cston commented Mar 17, 2020

CustomModifierUtils.CopyTypeCustomModifiers() should copy NativeIntegerAttribute values.

See #42419 (comment), #42419 (comment).

@AlekseyTs
Copy link
Contributor

The assert at the end of the method should also be adjusted:

Debug.Assert(resultType.Equals(destinationType, TypeCompareKind.IgnoreCustomModifiersAndArraySizesAndLowerBounds)); // Same object/dynamic, nullability and tuple names as destination type.

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

Successfully merging a pull request may close this issue.

4 participants