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

Missing whitespace between new() and where #2825

Closed
yufeih opened this issue Nov 2, 2022 · 0 comments
Closed

Missing whitespace between new() and where #2825

yufeih opened this issue Nov 2, 2022 · 0 comments
Labels

Comments

@yufeih
Copy link

yufeih commented Nov 2, 2022

Steps to reproduce

  1. Create a class like this
[Serializable]
public class Cat<T, K> : ICat
        where T : class, new()
        where K : struct
{ }
  1. View the decompiled code in ILSpy

  2. See that a whitespace is missing between new() and where
    image

  3. Expect a space between similar to other where cases
    image

Details

ILSpy version 7.2.1.6856
.NET version 4.8.9065.0

@yufeih yufeih added the Bug label Nov 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant