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 extraneous using System; #276

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

reflectronic
Copy link
Contributor

The value returned from this function is never directly inserted into the source. For example, this function is called when calculating type size, meaning that any structure that transitively included an IntPtr field would insert a using System; into the generated file for that type, regardless of whether the file itself used IntPtr. Avoid inserting using statements in this function.

@tannergooding tannergooding merged commit c6bcae9 into dotnet:main Oct 11, 2021
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