diff --git a/src/FluentNHibernate/MappingModel/AttributeStore.cs b/src/FluentNHibernate/MappingModel/AttributeStore.cs index 45bd711be..f1350d582 100644 --- a/src/FluentNHibernate/MappingModel/AttributeStore.cs +++ b/src/FluentNHibernate/MappingModel/AttributeStore.cs @@ -60,7 +60,7 @@ public bool Equals(AttributeStore other) public override bool Equals(object obj) { var typed = obj as AttributeStore; - if (null == typed) return false; + if (typed is null) return false; return Equals(typed); } @@ -85,4 +85,4 @@ public static T GetOrDefault(this AttributeStore store, string attribute) return (T)(store.Get(attribute) ?? default(T)); } } -} \ No newline at end of file +}