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

redundant explicit boxing #6

Closed
itaibh opened this issue Feb 17, 2011 · 1 comment
Closed

redundant explicit boxing #6

itaibh opened this issue Feb 17, 2011 · 1 comment

Comments

@itaibh
Copy link

itaibh commented Feb 17, 2011

double num = 12.345;
double num2 = 12.0;
Console.WriteLine("{0:#.#} {1:#.#}", box(System.Double, num), box(System.Double, num2));

Notice the unnecessary box(...) instructions around num and num2.

@dgrunwald
Copy link
Member

Add support for starg, box and unbox instructions. Closed by a9416f2.

pgourlain pushed a commit to pgourlain/ILSpy that referenced this issue Apr 15, 2014
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants