Skip to content

Commit 3596409

Browse files
committed
Fix a reversed equals in Assert.
1 parent 8c63305 commit 3596409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SqlSessionStateProviderAsync/SqlCommandExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static SqlParameter GetOutPutParameterValue(this SqlCommand cmd, string p
1313
// This is an internal method that only we call. We know 'parameterName' always begins
1414
// with an '@' so we don't need to check for that case. Be aware of that expectation.
1515
Debug.Assert(parameterName != null);
16-
Debug.Assert(parameterName[0] != '@');
16+
Debug.Assert(parameterName[0] == '@');
1717
return cmd.Parameters[parameterName];
1818
}
1919
}

0 commit comments

Comments
 (0)