.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Siegfried Pammer 05454bd741 Fix SwitchOnStringTransform.SimplifyCascadingIfStatements: do not remove statements unrelated to switch pattern. 6 years ago
..
.gitignore
AnonymousTypes.cs
AssemblyCustomAttributes.cs
Async.cs
AsyncMain.cs
AutoProperties.cs
CS6_StringInterpolation.cs
CS72_PrivateProtected.cs
CS73_StackAllocInitializers.cs
CheckedUnchecked.cs
CompoundAssignmentTest.cs
ConstantsTests.cs
ConstructorInitializers.cs
CustomAttributeConflicts.cs
CustomAttributeSamples.cs
CustomAttributes.cs
CustomAttributes2.cs
CustomShortCircuitOperators.cs
DelegateConstruction.cs
Discards.cs
DynamicTests.cs Fix #1635: DynamicInvokeConstructorInstruction Did report the wrong StackType for value types and unknown types. 6 years ago
EnumTests.cs
ExceptionHandling.cs Fix #1643: Handle unbox.any in TransformCatchVariable. 6 years ago
ExpressionTrees.cs Do not convert simple LINQ method calls to LINQ expressions. Closes #1501. 6 years ago
FixProxyCalls.cs
Generics.cs
HelloWorld.cs
InitializerTests.cs Do not convert simple LINQ method calls to LINQ expressions. Closes #1501. 6 years ago
InlineAssignmentTest.cs
InterfaceTests.cs
Issue1080.cs
LiftedOperators.cs
LocalFunctions.cs
Lock.cs
Loops.cs
MemberTests.cs
MultidimensionalArray.cs
NamedArguments.cs
NullPropagation.cs
NullableRefTypes.cs Fix references to nested types in generic classes. 6 years ago
OptionalArguments.cs
OutVariables.cs
PInvoke.cs
PropertiesAndEvents.cs
QualifierTests.cs
QueryExpressions.cs
Readme.txt
ReduceNesting.cs
RefLocalsAndReturns.cs Fix #1630: Do not convert while to for statement, if any iterator variables are to be declared in the loop body. This causes problems with ref-typed variables. 6 years ago
ShortCircuit.cs
Switch.cs Fix SwitchOnStringTransform.SimplifyCascadingIfStatements: do not remove statements unrelated to switch pattern. 6 years ago
ThrowExpressions.cs
TupleTests.cs
TypeAnalysisTests.cs
TypeMemberTests.cs
UnsafeCode.cs
UserDefinedConversions.cs
Using.cs
ValueTypes.cs
VariableNaming.cs
VariableNamingWithoutSymbols.cs
WellKnownConstants.cs
YieldReturn.cs

Readme.txt

The files in this folder are prettiness tests for the decompiler.

The NUnit class running these tests is ../PrettyTestRunner.cs.

Each test case is a C# file.
The test runner will:
1. Compile the file into an .exe/.dll
2. Decompile the .exe/.dll
3. Compare the resulting code with the original input code.

The tests pass if the code looks exactly the same as the input code, ignoring comments, empty lines and preprocessor directives.
It also ignores disabled preprocessors sections (e.g. "#if ROSLYN") when the test runs with a compiler that does not set this symbol.
See Tester.GetPreprocessorSymbols() for the available symbols.