Fix build errors in Interop.Errors
authorSantiago Fernandez Madero <safern@microsoft.com>
Fri, 19 Apr 2019 05:45:29 +0000 (22:45 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 19 Apr 2019 16:05:58 +0000 (09:05 -0700)
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/System.Private.CoreLib/shared/Interop/Unix/Interop.Errors.cs

index 5d9ccab..a4a7a43 100644 (file)
@@ -146,7 +146,9 @@ internal static partial class Interop
             return Interop.Sys.StrError(RawErrno);
         }
 
+#pragma warning disable CS8609 // TODO-NULLABLE: https://github.com/dotnet/roslyn/issues/23268
         public override string ToString()
+#pragma warning restore CS8609
         {
             return $"RawErrno: {RawErrno} Error: {Error} GetErrorMessage: {GetErrorMessage()}"; // No localization required; text is member names used for debugging purposes
         }