We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version Used: VS 17.10.5
Steps to Reproduce: Compile this code:
namespace ConsoleApp24 { internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); IEnumerable<string> test = ["Test"]; } } }
Then decompile the related assembly.
The class u003cu003ez__ReadOnlySingleElementList does not have [CompilerGenerated] on it, however some of its members and private types do.
u003cu003ez__ReadOnlySingleElementList
[CompilerGenerated]
Expected Behavior: [CompilerGenerated] is present on the type.
Actual Behavior: [CompilerGenerated] is NOT present on the type.
The text was updated successfully, but these errors were encountered:
See also #72539.
Sorry, something went wrong.
Thank you @333fred !
@TonyValenti don't thank me, thank @DoctorKrolic. I just merged the PR 🙂.
Thank you @DoctorKrolic !
cston
Successfully merging a pull request may close this issue.
Version Used:
VS 17.10.5
Steps to Reproduce:
Compile this code:
Then decompile the related assembly.
The class
u003cu003ez__ReadOnlySingleElementList
does not have[CompilerGenerated]
on it, however some of its members and private types do.Expected Behavior:
[CompilerGenerated]
is present on the type.Actual Behavior:
[CompilerGenerated]
is NOT present on the type.The text was updated successfully, but these errors were encountered: