We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66347d commit d427fdfCopy full SHA for d427fdf
1 file changed
src/Npgsql/NpgsqlCommand.cs
@@ -1532,7 +1532,6 @@ public override void Cancel()
1532
throw new ObjectDisposedException(GetType().FullName);
1533
if (Connection == null)
1534
throw new InvalidOperationException("Connection property has not been initialized.");
1535
- Contract.EndContractBlock();
1536
1537
if (State != CommandState.InProgress) {
1538
Log.Debug(String.Format("Skipping cancel because command is in state {0}", State), _connector.Id);
0 commit comments