|
|
@ -64,7 +64,7 @@ namespace ICSharpCode.Decompiler.CSharp |
|
|
|
new InlineCompilerGeneratedVariables(), |
|
|
|
new InlineCompilerGeneratedVariables(), |
|
|
|
new ExpressionTransforms(), // must run once before "the loop" to allow RemoveDeadVariablesInit
|
|
|
|
new ExpressionTransforms(), // must run once before "the loop" to allow RemoveDeadVariablesInit
|
|
|
|
new RemoveDeadVariableInit(), // must run after ExpressionTransforms because it does not handle stobj(ldloca V, ...)
|
|
|
|
new RemoveDeadVariableInit(), // must run after ExpressionTransforms because it does not handle stobj(ldloca V, ...)
|
|
|
|
new DelegateConstruction(), |
|
|
|
//new DelegateConstruction(), causes assertions in NR.CSharp roundtrip
|
|
|
|
new LoopingTransform( // the loop: transforms that cyclicly depend on each other
|
|
|
|
new LoopingTransform( // the loop: transforms that cyclicly depend on each other
|
|
|
|
new ExpressionTransforms(), |
|
|
|
new ExpressionTransforms(), |
|
|
|
new TransformArrayInitializers(), |
|
|
|
new TransformArrayInitializers(), |
|
|
@ -74,7 +74,6 @@ namespace ICSharpCode.Decompiler.CSharp |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
List<IAstTransform> astTransforms = new List<IAstTransform> { |
|
|
|
List<IAstTransform> astTransforms = new List<IAstTransform> { |
|
|
|
//new PushNegation(),
|
|
|
|
|
|
|
|
new PatternStatementTransform(), |
|
|
|
new PatternStatementTransform(), |
|
|
|
new ReplaceMethodCallsWithOperators(), |
|
|
|
new ReplaceMethodCallsWithOperators(), |
|
|
|
new IntroduceUnsafeModifier(), |
|
|
|
new IntroduceUnsafeModifier(), |
|
|
|