lrieger
189e873461
FSharpTests: check-in IL instead of compiling F# source in the tests.
10 years ago
lrieger
d059c02ba3
test that the "F# using" does not get applied if the 'disposable' variable is used afterwards
...
add F# to C# decompilation unit tests
10 years ago
lrieger
42bfb9bb23
modify the using pattern to also detect F#
10 years ago
lrieger
b374915e5e
add nunit runner as nuget so tests can be run in the TestExplorer in VS
10 years ago
Daniel Grunwald
0869943ce8
Use lower-case GUIDs in project references.
...
This seems to be necessary for VS2015 to use the correct build order.
10 years ago
Daniel Grunwald
0a481a573c
Add AvalonEdit, NRefactory, and cecil submodules.
10 years ago
Daniel Grunwald
fe3bee36ad
Use tabs, not spaces.
10 years ago
Daniel Grunwald
bf5861babd
Fix #650 - C++ switch over `char`/`long` values crashes ILSpy
10 years ago
hardcase
3fa8ec0e54
Fix #635 . Decompile static methods in interfaces.
10 years ago
Daniel Grunwald
b018a188ae
Fix #607 : return value attributes missing in IL view
11 years ago
Daniel Grunwald
75dfa785d7
Fix #600 : variable called int should be displayed as @int
11 years ago
LordJZ
a116053510
Fixed #619 custom attributes on enum members
11 years ago
Tobias Käs
0ac1330d59
Fix for issue #612
...
AsyncDecompiler lost track of state machine variable when analyzing a
try/catch block.
11 years ago
Daniel Grunwald
382f24666a
Add NRefactory 5.5.1 source code.
...
For the moment, we need to use a customized Mono.Cecil in ILSpy (thread-safe branch + System.Runtime fix),
and build NRefactory against that.
Add script for building ICSharpCode.Decompiler NuGet package.
This package is built against the NuGet Mono.Cecil and NRefactory packages, not against the sourcecode included in this repository.
11 years ago
Daniel Grunwald
fa2b392707
Adjust ILSpy to new NRefactory and ICSharpCode.Decompiler versions.
11 years ago
Daniel Grunwald
02a500e762
ICSharpCode.Decompiler: Merge changes from SharpDevelop to ILSpy.
11 years ago
Daniel Grunwald
e88120cb4a
Remove NRefactory sourcecode and use the NuGet package instead.
11 years ago
LordJZ
7cacb70148
Fixed some corner cases
11 years ago
LordJZ
a1d2b812a3
Fixed tree traversal in IntroduceUnsafeModifier
11 years ago
LordJZ
e6058e819a
Spaces to tabs in pointer handling code
11 years ago
LordJZ
5f2097ade6
Fixed C++/CLI generated stackalloc
...
fixed #592
partially fixes #569
11 years ago
LordJZ
aeddcf4b80
Enhanced point arithmetic handling
...
This fixes more complex pointer addition/subtraction examples, like PointerArithmetic3 and 4 test cases. Test case 2 is still failing.
Fixes #565
Fixes #400
11 years ago
Siegfried Pammer
98f24c21e5
fix #556 : ILSpy doesn't highlight uses of invoked delegates
11 years ago
Siegfried Pammer
9f161006a5
fix #560 : properly recognize `lock` pattern of C# 2, and add `lock (this)` pattern
11 years ago
Siegfried Pammer
5bb6e4b85b
fix #557 - Missing namespaces when decompiling only a method
11 years ago
Siegfried Pammer
19cc44f9f9
fix #554 : Variables are moved outside of the block
11 years ago
Siegfried Pammer
b9090e43c6
Revert "Fixed decompiling empty async methods."
11 years ago
Siegfried Pammer
3bf00d3d21
add special formatting case for else-if to CSharpOutputVisitor
11 years ago
Siegfried Pammer
72a8229e90
fix #483 : if-else-if-... and nesting
11 years ago
Siegfried Pammer
f479496670
fix #531 - ICSharpCode.Decompiler.ReferenceResolvingException when Searching for Instantiations
11 years ago
Siegfried Pammer
59a03bba12
fix #541 : int vs uint enum decompiling confusion
11 years ago
Siegfried Pammer
4a4cc2e689
fix #524 - Mistake ILSpy decompile: delegate instantiation is only removed if an implicit conversion exists.
11 years ago
Siegfried Pammer
d04400ad45
working on #540 : use `EventDefinition` instead of `FieldDefinition` when referencing auto events in `TextOutputFormatter`
11 years ago
Siegfried Pammer
82db628ac9
fix visibility checking bug introduced in f9da13c
11 years ago
LordJZ
b75f217167
Enhanced DivideBySize
...
This fixes some redundant IntPtr casts. Some tests are still failing.
Partially fixes #271
11 years ago
LordJZ
25f82744a2
Added more pointer arithmetic tests
11 years ago
LordJZ
8b84fc6bb9
Removed incorrect type inference for Add/Sub/Localloc
...
CIL can Add/Sub type * and type I, but C# can add 8 types to a pointer, but not IntPtr.
CIL can Localloc only type U, but C# only int.
11 years ago
Ed Harvey
f9da13cbc0
fix #537 : ILSpy can't find any Overridden By methods
...
Overriding methods were not shown because the base method was marked
'internal' and so would normally only be visible within its own
assembly.
However the assembly had a InternalsVisibleToAttribute specified which
allowed access from the assembly containing the derived types....
11 years ago
krauthaufen
e10e42681f
added fix for unsigned comparison with signed integral types;
11 years ago
Schabse Laks
be718680fe
Add #pragma to suppress warning in test case
11 years ago
Schabse Laks
5bd1892e9a
Temporary workaround for Roslyn compiler bug
...
Roslyn doesn't look at inherited true/false operators.
https://roslyn.codeplex.com/workitem/358
11 years ago
Siegfried Pammer
0ada95d913
fix #470 : BAML to XAML conversion does not generate escape sequence {} correctly
11 years ago
Schabse Laks
9c23972074
Tests: Reuse decompiler roundtrip assertion code
...
This contains no functional changes, except that
it will ignore blank lines when comparing code.
This reduces duplicate code, and will make it
easier to add assertions for Roslyn compilers
11 years ago
LordJZ
a997ea2068
Fixed decompiling empty async methods.
...
Fixes #417 #446 #479
12 years ago
Daniel Grunwald
cc270c8f20
Set version number to 2.2
12 years ago
Daniel Grunwald
c1fb133fd3
Fix AsyncDecompiler for roslyn-compiled methods that have finally blocks.
12 years ago
Daniel Grunwald
58404e8f9e
AsyncDecompiler: fix some issues with Roslyn-compiled code
12 years ago
Daniel Grunwald
b71edb2a88
StateRange analysis / SymbolicExecution: add support for implicit int->bool conversion.
...
This is necessary for yield return decompilation on Roslyn.
12 years ago
Daniel Grunwald
d1eb868749
YieldReturnDecompiler: don't fail symbolic analysis if 'returnFalseLabel' is missing
12 years ago
Daniel Grunwald
1bf31f9086
YieldReturnDecompiler: in ConstructExceptionTable(), avoid ToEnclosingInterval() call and use the full StateRange instead.
...
This is necessary because the state indices for a given try block are no longer contiguous in Roslyn-compiled code.
Closes #468 .
12 years ago