-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use tuple literals instead of calling 'new ValueTuple<..>' constructor * Where available, use element names for field access * Make CallBuilder aware of tuple-name/dynamic type erasure, to avoid introducing casts when the types differ only in the tuple element names. * Make CallBuilder provide a ResolveResult with the correct C# return type for the resulting expression. Previously we were using the type-erased return type from the IL. * Fix a bug that caused us to introduce returning casts when accessing an indexer.
- Loading branch information
Showing
28 changed files
with
1,159 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
344 changes: 344 additions & 0 deletions
344
ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.opt.roslyn.il
Large diffs are not rendered by default.
Oops, something went wrong.
359 changes: 359 additions & 0 deletions
359
ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTests.roslyn.il
Large diffs are not rendered by default.
Oops, something went wrong.
91 changes: 0 additions & 91 deletions
91
ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTypes.opt.roslyn.il
This file was deleted.
Oops, something went wrong.
92 changes: 0 additions & 92 deletions
92
ICSharpCode.Decompiler.Tests/TestCases/Pretty/TupleTypes.roslyn.il
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.