mirror of https://github.com/icsharpcode/ILSpy.git
				
				
			
			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.
		
		
		
		
		
			| 
				
					
						
							 | 
			8 years ago | |
|---|---|---|
| .. | ||
| Async.cs | 8 years ago | |
| BitNot.il | 8 years ago | |
| Capturing.cs | 8 years ago | |
| Comparisons.cs | 8 years ago | |
| CompoundAssignment.cs | 8 years ago | |
| ConditionalAttr.cs | 8 years ago | |
| ControlFlow.cs | 8 years ago | |
| Conversions.cs | 8 years ago | |
| DecimalFields.cs | 8 years ago | |
| ExpressionTrees.cs | 8 years ago | |
| FloatingPointArithmetic.cs | 8 years ago | |
| Generics.cs | 8 years ago | |
| HelloWorld.cs | 8 years ago | |
| InitializerTests.cs | 8 years ago | |
| Jmp.il | 8 years ago | |
| LINQRaytracer.cs | 8 years ago | |
| Loops.cs | 8 years ago | |
| MemberLookup.cs | 8 years ago | |
| MiniJSON.cs | 8 years ago | |
| NullPropagation.cs | 8 years ago | |
| NullableTests.cs | 8 years ago | |
| OverloadResolution.cs | 8 years ago | |
| PropertiesAndEvents.cs | 8 years ago | |
| Readme.txt | 8 years ago | |
| RefLocalsAndReturns.cs | 8 years ago | |
| StackTypes.il | 8 years ago | |
| Switch.cs | 8 years ago | |
| TrickyTypes.cs | 8 years ago | |
| UndocumentedExpressions.cs | 8 years ago | |
| UnsafeCode.cs | 8 years ago | |
| Using.cs | 8 years ago | |
| ValueTypeCall.cs | 8 years ago | |
| YieldReturn.cs | 8 years ago | |
		
			
				
				Readme.txt
			
		
		
			
			
		
	
	The files in this folder are correctness tests for the decompiler.
The NUnit class running these tests is ../../CorrectnessTestRunner.cs.
We:
* compile/assemble a test case (call the result "executable 1")
* decompile "executable 1" to C# ("decompiled.cs")
* compile decompiled.cs, resulting in "executable 2"
* run both executable and compare their output (exit code, stdout, stderr)
We repeat the steps above with a few different compiler options (/o+ or not; /debug or not).
The tests pass if the code compiles without error and produces the same output.
The tests do not care at all if the resulting code is pretty, or if any high-level constructs like closures were detected.