Remove redundant function call of EscapeTypeName to make (mono/mono#16425)
authorFan Yang <52458914+fanyang-mono@users.noreply.github.com>
Thu, 5 Sep 2019 16:12:57 +0000 (12:12 -0400)
committerMarek Safar <marek.safar@gmail.com>
Thu, 5 Sep 2019 16:12:57 +0000 (18:12 +0200)
* Remove redundant function call

* Remove commented out line of code

Commit migrated from https://github.com/mono/mono/commit/abe48e3fd48407a5b76a6581ae7853c66d800b19

src/mono/netcore/CoreFX.issues.rsp
src/mono/netcore/System.Private.CoreLib/src/System/TypeNameParser.cs

index b797846..dba5ff3 100644 (file)
 # https://github.com/mono/mono/issues/15344
 -nomethod System.Reflection.Tests.TypeInvariants.TestInvariantCode
 
-# System.TypeLoadException : Could not find type 'Typ\\W\[t\]S\+r\*n\&e\,haracters' in assembly ''.
-# https://github.com/mono/mono/issues/15349
--nomethod System.Reflection.Tests.TypeTests.TypesWithStrangeCharacters
-
 # flaky tests
 -nomethod System.Reflection.Tests.TypeInfoDeclaredImplementedInterfacesTests.*
 
index f1e5ec7..bbb8b4c 100644 (file)
@@ -125,7 +125,7 @@ namespace System
                {
             Type type = null;
 
-            string name = EscapeTypeName (names [0]);
+                       string name = names [0];
             // Resolve the top level type.
             if (typeResolver != null) {
                 type = typeResolver (assembly, name, ignoreCase);