We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baa60e2 commit 86580daCopy full SHA for 86580da
1 file changed
src/PolylineAlgorithm/Polyline.cs
@@ -8,6 +8,7 @@ namespace PolylineAlgorithm;
8
using PolylineAlgorithm.Properties;
9
using System;
10
using System.Diagnostics;
11
+using System.Diagnostics.CodeAnalysis;
12
using System.Runtime.InteropServices;
13
14
/// <summary>
@@ -96,6 +97,11 @@ public override string ToString() {
96
97
/// <returns>
98
/// A string that includes the polyline value, truncated if necessary, for debugging purposes.
99
/// </returns>
100
+ [ExcludeFromCodeCoverage(
101
+#if NET5_0_OR_GREATER
102
+ Justification = "Only used during debugging."
103
+#endif
104
+ )]
105
private string ToDebugString() {
106
if (IsEmpty) {
107
return string.Empty;
0 commit comments