Skip to content

Commit 5f778cd

Browse files
committed
fix compilation with newer IDE/SDK
1 parent d7e14da commit 5f778cd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coverlet.core/Instrumentation/InstrumenterResult.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System;
55
using System.Collections.Generic;
66
using System.Diagnostics;
7+
using System.Diagnostics.CodeAnalysis;
78
using System.Runtime.Serialization;
89

910
namespace Coverlet.Core.Instrumentation
@@ -79,6 +80,7 @@ public Document()
7980

8081
[DebuggerDisplay("isBranch = {isBranch} docIndex = {docIndex} start = {start} end = {end}")]
8182
[DataContract]
83+
[SuppressMessage("Style", "IDE1006", Justification = "suppress casing error for API compatibility")]
8284
internal class HitCandidate
8385
{
8486
public HitCandidate(bool isBranch, int docIndex, int start, int end) => (this.isBranch, this.docIndex, this.start, this.end) = (isBranch, docIndex, start, end);

0 commit comments

Comments
 (0)