Skip to content

Commit c17089a

Browse files
Copilotmarcschier
andcommitted
Change [Conditional("DEBUG")] to [Conditional("CHECKED")] in DebugCheck methods
Co-authored-by: marcschier <11168470+marcschier@users.noreply.github.com>
1 parent 813a033 commit c17089a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Stack/Opc.Ua.Types/Diagnostics/TelemetryExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public static Func<ITelemetryContext> InternalOnly__TelemetryHook
149149
/// us to weed out areas that need telemetry plumbed through.
150150
/// </summary>
151151
/// <param name="telemetry">The telemetry context to use</param>
152-
[Conditional("DEBUG")]
152+
[Conditional("CHECKED")]
153153
private static void DebugCheck(ITelemetryContext? telemetry)
154154
{
155155
DebugLog.Instance.CollectIf(telemetry == null);

Stack/Opc.Ua.Types/Diagnostics/TelemetryUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void Dispose()
138138
}
139139
}
140140

141-
[Conditional("DEBUG")]
141+
[Conditional("CHECKED")]
142142
private static void DebugCheck()
143143
{
144144
Debug.Fail("Using a NullLogger");

0 commit comments

Comments
 (0)