Example #1
0
			internal override IDecompilationStep[] LanguageDecompilationSteps(bool inlineAggressively)
			{
				stackVariable1 = new IDecompilationStep[45];
				stackVariable1[0] = new OutParameterAssignmentAnalysisStep();
				stackVariable1[1] = new RebuildAsyncStatementsStep();
				stackVariable1[2] = new RebuildYieldStatementsStep();
				stackVariable1[3] = new RemoveDelegateCachingStep();
				stackVariable1[4] = new RebuildAnonymousDelegatesStep();
				stackVariable1[5] = new RebuildLambdaExpressions();
				stackVariable1[6] = new ResolveDynamicVariablesStep();
				stackVariable1[7] = new GotoCancelation();
				stackVariable1[8] = new CombinedTransformerStep();
				stackVariable1[9] = new MergeUnaryAndBinaryExpression();
				stackVariable1[10] = new RemoveLastReturn();
				stackVariable1[11] = new RebuildSwitchByString();
				stackVariable1[12] = new RebuildForeachStatements();
				stackVariable1[13] = new RebuildForeachArrayStatements();
				stackVariable1[14] = new RebuildForStatements();
				stackVariable1[15] = new RebuildLockStatements();
				stackVariable1[16] = new RebuildFixedStatements();
				stackVariable1[17] = new RebuildUsingStatements();
				stackVariable1[18] = new RenameEnumValues();
				stackVariable1[19] = new FixMethodOverloadsStep();
				stackVariable1[20] = new RebuildExpressionTreesStep();
				stackVariable1[21] = new TransformMemberHandlersStep();
				stackVariable1[22] = new SelfAssignment();
				stackVariable1[23] = new CodePatternsStep(inlineAggressively);
				stackVariable1[24] = new TransformCatchClausesFilterExpressionStep();
				stackVariable1[25] = new DetermineCtorInvocationStep();
				stackVariable1[26] = new DeduceImplicitDelegates();
				stackVariable1[27] = new RebuildLinqQueriesStep();
				stackVariable1[28] = new CreateIfElseIfStatementsStep();
				stackVariable1[29] = new CreateCompilerOptimizedSwitchByStringStatementsStep();
				stackVariable1[30] = new ParenthesizeExpressionsStep();
				stackVariable1[31] = new RemoveUnusedVariablesStep();
				stackVariable1[32] = new RebuildCatchClausesFilterStep();
				stackVariable1[33] = new DeclareVariablesOnFirstAssignment();
				stackVariable1[34] = new DeclareTopLevelVariables();
				stackVariable1[35] = new AssignOutParametersStep();
				stackVariable1[36] = new RenameSplitPropertiesMethodsAndBackingFields();
				stackVariable1[37] = new RenameVariables();
				stackVariable1[38] = new CastEnumsToIntegersStep();
				stackVariable1[39] = new CastIntegersStep();
				stackVariable1[40] = new ArrayVariablesStep();
				stackVariable1[41] = new CaseGotoTransformerStep();
				stackVariable1[42] = new UnsafeMethodBodyStep();
				stackVariable1[43] = new DetermineDestructorStep();
				stackVariable1[44] = new DependsOnAnalysisStep();
				return stackVariable1;
			}
Example #2
0
			protected override IDecompilationStep[] LanguageFilterMethodDecompilationSteps(bool inlineAggressively)
			{
				stackVariable1 = new IDecompilationStep[11];
				stackVariable1[0] = new DeclareVariablesOnFirstAssignment();
				stackVariable1[1] = new DeclareTopLevelVariables();
				stackVariable1[2] = new RenameSplitPropertiesMethodsAndBackingFields();
				stackVariable1[3] = new RenameVBVariables();
				stackVariable1[4] = new CastEnumsToIntegersStep();
				stackVariable1[5] = new CastIntegersStep();
				stackVariable1[6] = new ArrayVariablesStep();
				stackVariable1[7] = new UnsafeMethodBodyStep();
				stackVariable1[8] = new DetermineDestructorStep();
				stackVariable1[9] = new DependsOnAnalysisStep();
				stackVariable1[10] = new DetermineNotSupportedVBCodeStep();
				return stackVariable1;
			}