summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaryam Ariyan <maryam.ariyan@microsoft.com>2018-10-31 20:18:02 -0700
committerJan Kotas <jkotas@microsoft.com>2018-11-01 09:58:05 -0700
commit127bdfe680f1eccb7a349b040a07123441af1e62 (patch)
tree4773a711baffc0e5ae5216b59d91b90fe50eceee
parent6fe7effad7fddf8d5dc0b3ac3d5be5ec80e158ff (diff)
downloadcoreclr-127bdfe680f1eccb7a349b040a07123441af1e62.tar.gz
coreclr-127bdfe680f1eccb7a349b040a07123441af1e62.tar.bz2
coreclr-127bdfe680f1eccb7a349b040a07123441af1e62.zip
corert compile fixes, corert class Debug should be partial and s_WriteCore need to be assigned
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs2
-rw-r--r--src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
index 3dce03af92..cd22c81746 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/Debug.cs
@@ -11,7 +11,7 @@ namespace System.Diagnostics
/// <summary>
/// Provides a set of properties and methods for debugging code.
/// </summary>
- public static class Debug
+ public static partial class Debug
{
private static volatile DebugProvider s_provider = new DebugProvider();
diff --git a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
index 416423e289..3150e68ed5 100644
--- a/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
+++ b/src/System.Private.CoreLib/shared/System/Diagnostics/DebugProvider.cs
@@ -78,6 +78,6 @@ namespace System.Diagnostics
}
// internal and not readonly so that the tests can swap this out.
- internal static Action<string> s_WriteCore;
+ internal static Action<string> s_WriteCore = null;
}
} \ No newline at end of file