diff options
author | Marek Safar <marek.safar@gmail.com> | 2018-06-13 11:45:40 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-06-13 11:45:40 +0300 |
commit | f57cc36d292953fa8acaff4855da3c901cfdf1fa (patch) | |
tree | aa561071846ca09f95050fb9337975ace6dc1c6d | |
parent | 9a3d31fdd87d8e2f6a657279e9bc595b32c15b91 (diff) |
More of System.Diagnostics.Private
-rw-r--r-- | src/Common/src/CoreLib/System/String.Comparison.cs | 2 | ||||
-rw-r--r-- | src/Common/src/CoreLib/System/String.cs | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Common/src/CoreLib/System/String.Comparison.cs b/src/Common/src/CoreLib/System/String.Comparison.cs index 32951b4aa5..fdb4704a96 100644 --- a/src/Common/src/CoreLib/System/String.Comparison.cs +++ b/src/Common/src/CoreLib/System/String.Comparison.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -using System.Diagnostics; +using System.Diagnostics.Private; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Common/src/CoreLib/System/String.cs b/src/Common/src/CoreLib/System/String.cs index 07d65ead43..8af736978a 100644 --- a/src/Common/src/CoreLib/System/String.cs +++ b/src/Common/src/CoreLib/System/String.cs @@ -6,6 +6,7 @@ using System.Buffers; using System.Collections; using System.Collections.Generic; using System.Diagnostics; +using System.Diagnostics.Private; using System.Globalization; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; @@ -20,7 +21,9 @@ namespace System // positions (indices) are zero-based. [Serializable] +#if !MONO [System.Runtime.CompilerServices.TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] +#endif public sealed partial class String : IComparable, IEnumerable, IEnumerable<char>, IComparable<String>, IEquatable<String>, IConvertible, ICloneable { // String constructors |