Skip to content

Commit b117d4e

Browse files
committed
Cleanup code, remove dummy transaction and add missing Dispose() method to JetCommand.
1 parent a71fcc1 commit b117d4e

File tree

3 files changed

+91
-139
lines changed

3 files changed

+91
-139
lines changed

src/Shared/Check.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ internal static class Check
1515
[ContractAnnotation("value:null => halt")]
1616
public static T NotNull<T>([NoEnumeration] T value, [InvokerParameterName] [NotNull] string parameterName)
1717
{
18-
#pragma warning disable IDE0041 // Use 'is null' check
19-
if (ReferenceEquals(value, null))
20-
#pragma warning restore IDE0041 // Use 'is null' check
18+
if (value is null)
2119
{
2220
NotEmpty(parameterName, nameof(parameterName));
2321

0 commit comments

Comments
 (0)