Skip to content

Commit d427fdf

Browse files
committed
Removed problematic contract
1 parent f66347d commit d427fdf

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/Npgsql/NpgsqlCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,6 @@ public override void Cancel()
15321532
throw new ObjectDisposedException(GetType().FullName);
15331533
if (Connection == null)
15341534
throw new InvalidOperationException("Connection property has not been initialized.");
1535-
Contract.EndContractBlock();
15361535

15371536
if (State != CommandState.InProgress) {
15381537
Log.Debug(String.Format("Skipping cancel because command is in state {0}", State), _connector.Id);

0 commit comments

Comments
 (0)