-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Replace RuntimeHelpers.CreateSpan<T>(LdMemberToken)
with new T[] { }
#3380
Replace RuntimeHelpers.CreateSpan<T>(LdMemberToken)
with new T[] { }
#3380
Conversation
ICSharpCode.Decompiler.Tests/TestCases/Correctness/InitializerTests.cs
Outdated
Show resolved
Hide resolved
ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs
Outdated
Show resolved
Hide resolved
ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs
Outdated
Show resolved
Hide resolved
ICSharpCode.Decompiler/IL/Transforms/TransformArrayInitializers.cs
Outdated
Show resolved
Hide resolved
f2c6aa1
to
9315d98
Compare
Sorry, I meant to come back to this. It just slipped my mind. |
I appreciate you working on it. If you want, I can finish things up. I saw that the CI failed for the unit test. I'll resolve that. |
- extract common code - reduce nesting
If there's any other changes you want me to make, let me know. |
I have fixed some more things locally, I will try to re-integrate your recent additions as well... |
fef9777
to
3a13d5a
Compare
Thank you very much for your contribution! Sorry for the trouble! |
Thank you as well! |
Problem
Resolves #3379
Solution
Span<T>(void*, int)
.