Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 4aee110

Browse files
jkotassafern
authored andcommitted
Search/replace _DEBUG => DEBUG
Signed-off-by: dotnet-bot-corefx-mirror <dotnet-bot@microsoft.com>
1 parent acbe9f5 commit 4aee110

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Common/src/CoreLib/System/Convert.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public static class Convert
134134

135135
private const Int32 base64LineBreakPosition = 76;
136136

137-
#if _DEBUG
137+
#if DEBUG
138138
private static bool TriggerAsserts = DoAsserts();
139139
private static bool DoAsserts()
140140
{

src/Common/src/CoreLib/System/Text/StringBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ void ISerializable.GetObjectData(SerializationInfo info, StreamingContext contex
270270
info.AddValue(ThreadIDField, 0);
271271
}
272272

273-
[System.Diagnostics.Conditional("_DEBUG")]
273+
[System.Diagnostics.Conditional("DEBUG")]
274274
private void AssertInvariants()
275275
{
276276
Debug.Assert(m_ChunkOffset + m_ChunkChars.Length >= m_ChunkOffset, "The length of the string is greater than int.MaxValue.");

0 commit comments

Comments
 (0)