Cédric Luthi
03c1d20356
Use "fully qualified name" instead of "FQN" abbreviation
7 years ago
Siegfried Pammer
91389245fd
#545 : Add hyperlink on enum values and argument names in attribute declarations.
7 years ago
Siegfried Pammer
ad06a01441
Fix #1117 : NullReferenceException at Transforms.PatternStatementTransform.TransformForeachOnArray
7 years ago
Siegfried Pammer
bd15d69ada
Add test cases for #1138
7 years ago
Siegfried Pammer
5290677f80
Fix #1138 : Array-index out of bounds crash in TransformArrayInitializers.HandleSimpleArrayInitializer
7 years ago
Siegfried Pammer
b6dce5c27a
Fix #1137 : XamlParseException on startup - we require .NET 4.6 for the ILSpy UI: Update app.config.template to reflect this.
7 years ago
Daniel Grunwald
92b72c9570
Type system: add support for tuple conversions.
7 years ago
Daniel Grunwald
469501210c
Add support for C# 7 tuple types:
* 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.
7 years ago
Daniel Grunwald
395bc185a3
Decompile TupleElementNamesAttribute into tuple type syntax.
7 years ago
Rafaat Mir
87c33cc345
Refactor and add comment for clarity
7 years ago
Rafaat Mir
0f69536673
Enable search by abbreviated qualified name by prefixing search string with "s:"
7 years ago
Daniel Grunwald
d78d423d10
Add tuple types to type system and syntax tree.
7 years ago
Daniel Grunwald
58dfd70855
Revive NR ConversionTests
7 years ago
Daniel Grunwald
7757d98672
Remove unused IProjectContent+ISolutionSnapshot from type system.
7 years ago
Daniel Grunwald
61cbdd6f01
Removed unused TS code: IType.ToTypeReference()
7 years ago
Daniel Grunwald
0b48439170
Remove dead code from type system (CSharpConstantValue).
7 years ago
Daniel Grunwald
182ce2a7c3
Remove unused JsonWriter.
7 years ago
Siegfried Pammer
c53b898b55
Fix #1122 : Error decompiling dictionary initializer referencing parameter variable
7 years ago
Siegfried Pammer
ceb4e3eed0
Add C# 7.3 to language version dropdown.
7 years ago
Siegfried Pammer
a9ecbe9d86
Set master version to 3.2.0-alpha
7 years ago
Siegfried Pammer
69fdc55b41
Add support for C# 7.3 Attributes on backing fields: Allows [field: …] attributes on an auto-implemented property to target its backing field.
7 years ago
Daniel Grunwald
f4bbd100b9
Fix user-defined op_Addition 'p += 1;' being turned into 'p++;'
7 years ago
Siegfried Pammer
504fe200b6
Fix #1131 : Add a few safety null checks in TransformForeachOnMultiDimArray
7 years ago
Siegfried Pammer
644941d25b
Fix C# 1.0 switch on string transform and add tests
7 years ago
Daniel Grunwald
f7a314b64c
Merge pull request #1129 from icsharpcode/userdef-compound-assignment
Userdef compound assignment
7 years ago
Daniel Grunwald
0552b335c9
Implement InferType() for ldelema.
This improves decompilation of compound assignment on array elements.
7 years ago
Daniel Grunwald
f021ec4383
NumericCompoundAssign: implement ILiftableInstruction
7 years ago
Daniel Grunwald
3956fa685d
Refactor TransformAssignment to reduce code duplication.
7 years ago
Siegfried Pammer
a4ef9891dd
Reduce span of DisableAssemblyLoad-lock
7 years ago
Siegfried Pammer
6a1e865fba
Fix ScopedWhereUsedAnalyzer.GetReferencingAssemblies: When looking for referenced assemblies use built-in assembly resolver. This makes the analyzer use the same assembly references as the decompiler, which leads to better analysis results, or even any results when dealing with an assembly for which the framework is not installed. (Might be related to #1070 as well)
7 years ago
Siegfried Pammer
110d4592a6
Add delayed type inference step for stack slots (in RemoveDeadVariableInit).
7 years ago
Siegfried Pammer
9ebfbe57dd
Add transforms for userdef compound assignment
fix bugs in other transforms
7 years ago
Siegfried Pammer
845c620a9f
Implement UserDefinedCompoundAssign
rename CompoundAssignmentInstruction -> NumericCompoundAssign
7 years ago
Siegfried Pammer
e7c38b6cbd
Fix bug in PrettifyAssignments: did not convert +=/-= 1 on non-int expressions.
7 years ago
Siegfried Pammer
f4b2c83f1e
Add test cases for UserDefinedCompoundAssign
7 years ago
Daniel Grunwald
25706f2a39
Support logic.and/etc. in IsImplicitTruncation().
7 years ago
Daniel Grunwald
75a627d40b
Don't use compound assignment when the RHS value does not fit into the LHS type.
7 years ago
Daniel Grunwald
ceb2b69798
Update the Roslyn compiler for the tests to 2.8.0.
7 years ago
Daniel Grunwald
b2197b2f95
Regenerate all IL test cases.
This removes non-deterministic and system-dependent info from the files, so that in the future,
diffs should only show relevant changes.
7 years ago
Daniel Grunwald
293b60245f
Merge branch '3.1.x'
7 years ago
Daniel Grunwald
1df05e09e9
Fix base constructor calls.
7 years ago
Daniel Grunwald
d87820e226
Avoid redundant explicit boxing casts
7 years ago
Daniel Grunwald
80e191ae03
Fix missing 'base.' qualifier on non-virtual call to virtual base method.
7 years ago
Siegfried Pammer
1ab0066b1c
Merge branch '3.1.x' of https://github.com/icsharpcode/ILSpy
7 years ago
Siegfried Pammer
624a037bb5
Merge pull request #1124 from Chicken-Bones/issue1123
Include "base." qualifier as needed (fixes #1123 )
7 years ago
Chicken-Bones
16e12dfb1a
Add base. resolution to QualifierTests
7 years ago
Chicken-Bones
dc58a1b40c
Include "base." qualifier as needed ( fixes #1123 )
Adds BaseReferenceExpression to ThisReferenceExpression target required checks
7 years ago
Siegfried Pammer
a3840c534b
Merge pull request #1121 from Kevin-Mok/patch-1
Updated build instructions for Unix
7 years ago
Siegfried Pammer
ee093267a8
Add "Remove Assemblies with load errors" command (inspired by @mookiejones , see #1096 )
7 years ago
Kevin Mok
09848757db
Updated build instructions for Unix
Based on personal experience and #1062 .
7 years ago