Skip to content

Commit 3e0e1cb

Browse files
committed
Fix an unused variable warning.
1 parent a296e2d commit 3e0e1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Machine.VSTestAdapter/Discovery/BuiltIn/SourceCodeLocationFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ private SourceCodeLocationInfo GetFieldLocationCore(TypeDefinition type, string
9797

9898
private bool IsHidden(SequencePoint sequencePoint)
9999
{
100-
const int lineNumberIndicatingHiddenLine = 0xfeefee;
101100

102101
#if NETCOREAPP1_1
103102
return sequencePoint.IsHidden;
104103
#else
104+
const int lineNumberIndicatingHiddenLine = 0xfeefee;
105105
return sequencePoint.StartLine == lineNumberIndicatingHiddenLine;
106106
#endif
107107
}

0 commit comments

Comments
 (0)