[mono] Fix several nits (#32529)
authorMaxim Lipnin <v-maxlip@microsoft.com>
Wed, 19 Feb 2020 10:53:43 +0000 (13:53 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2020 10:53:43 +0000 (11:53 +0100)
* Remove the commented code

* Remove unused nint/nuint aliases from PNSE version of Utf8String

src/libraries/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/AttributedModel/AllowNonPublicCompositionTests.cs
src/mono/netcore/System.Private.CoreLib/src/System/Utf8String.cs

index ebb787a..48a7cae 100644 (file)
@@ -11,15 +11,6 @@ using System.Text;
 using System.Text.Unicode;
 using Internal.Runtime.CompilerServices;
 
-#pragma warning disable SA1121 // explicitly using type aliases instead of built-in types
-#if TARGET_64BIT
-using nint = System.Int64;
-using nuint = System.UInt64;
-#else
-using nint = System.Int32;
-using nuint = System.UInt32;
-#endif
-
 namespace System
 {
     /// <summary>