Browse Source

fix unit tests

pull/728/head
Siegfried Pammer 10 years ago
parent
commit
bed48beb3d
  1. 5
      ICSharpCode.Decompiler/CSharp/Transforms/IntroduceUsingDeclarations.cs
  2. 2
      NRefactory

5
ICSharpCode.Decompiler/CSharp/Transforms/IntroduceUsingDeclarations.cs

@ -170,6 +170,11 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms @@ -170,6 +170,11 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms
base.VisitSimpleType(simpleType);
return;
}
// HACK : ignore type names in attributes (TypeSystemAstBuilder doesn't handle them correctly)
if (simpleType.Parent is NRefactory.CSharp.Attribute) {
base.VisitSimpleType(simpleType);
return;
}
simpleType.ReplaceWith(astBuilder.ConvertType(rr.Type));
}
}

2
NRefactory

@ -1 +1 @@ @@ -1 +1 @@
Subproject commit c57d52dd02bc0a01815bb9313f4505d92cf75525
Subproject commit 2d65653491ba5a804dd2b44b946b1d33b00c0623
Loading…
Cancel
Save