Browse Source

Rename UsingStatementTransform to PatternStatementTransform.

pull/37/head
Daniel Grunwald 15 years ago
parent
commit
b388bfefc9
  1. 2
      ICSharpCode.Decompiler/Ast/Transforms/PatternStatementTransform.cs
  2. 2
      ICSharpCode.Decompiler/Ast/Transforms/TransformationPipeline.cs
  3. 2
      ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

2
ICSharpCode.Decompiler/Ast/Transforms/UsingStatementTransform.cs → ICSharpCode.Decompiler/Ast/Transforms/PatternStatementTransform.cs

@ -13,7 +13,7 @@ namespace Decompiler.Transforms
/// <summary> /// <summary>
/// Finds the expanded form of using statements using pattern matching and replaces it with a UsingStatement. /// Finds the expanded form of using statements using pattern matching and replaces it with a UsingStatement.
/// </summary> /// </summary>
public class UsingStatementTransform : IAstTransform public class PatternStatementTransform : IAstTransform
{ {
public void Run(AstNode compilationUnit) public void Run(AstNode compilationUnit)
{ {

2
ICSharpCode.Decompiler/Ast/Transforms/TransformationPipeline.cs

@ -19,7 +19,7 @@ namespace Decompiler.Transforms
return new IAstTransform[] { return new IAstTransform[] {
new PushNegation(), new PushNegation(),
new DelegateConstruction(context), new DelegateConstruction(context),
new UsingStatementTransform(), new PatternStatementTransform(),
new ConvertConstructorCallIntoInitializer(), new ConvertConstructorCallIntoInitializer(),
new ReplaceMethodCallsWithOperators(), new ReplaceMethodCallsWithOperators(),
}; };

2
ICSharpCode.Decompiler/ICSharpCode.Decompiler.csproj

@ -67,7 +67,7 @@
<Compile Include="Ast\Transforms\RemoveGotos.cs" /> <Compile Include="Ast\Transforms\RemoveGotos.cs" />
<Compile Include="Ast\Transforms\RestoreLoop.cs" /> <Compile Include="Ast\Transforms\RestoreLoop.cs" />
<Compile Include="Ast\Transforms\TransformationPipeline.cs" /> <Compile Include="Ast\Transforms\TransformationPipeline.cs" />
<Compile Include="Ast\Transforms\UsingStatementTransform.cs" /> <Compile Include="Ast\Transforms\PatternStatementTransform.cs" />
<Compile Include="CecilExtensions.cs" /> <Compile Include="CecilExtensions.cs" />
<Compile Include="DecompilerException.cs" /> <Compile Include="DecompilerException.cs" />
<Compile Include="Disassembler\DisassemblerHelpers.cs" /> <Compile Include="Disassembler\DisassemblerHelpers.cs" />

Loading…
Cancel
Save