Skip to content

Commit 0d3e0f8

Browse files
Fix yoda expressions (#574)
+semver:patch
1 parent ae00081 commit 0d3e0f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FluentNHibernate/MappingModel/AttributeStore.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public bool Equals(AttributeStore other)
6060
public override bool Equals(object obj)
6161
{
6262
var typed = obj as AttributeStore;
63-
if (null == typed) return false;
63+
if (typed is null) return false;
6464
return Equals(typed);
6565
}
6666

@@ -85,4 +85,4 @@ public static T GetOrDefault<T>(this AttributeStore store, string attribute)
8585
return (T)(store.Get(attribute) ?? default(T));
8686
}
8787
}
88-
}
88+
}

0 commit comments

Comments
 (0)