Skip to content

Commit 785d221

Browse files
committed
Redundant null-check
1 parent fa1425a commit 785d221

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Orm/Xtensive.Orm/Orm/Linq/Materialization/MaterializationContext.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,7 @@ public TypeMapping GetTypeMapping(int entityIndex, TypeInfo approximateType, int
8888
return result;
8989
}
9090

91-
private int ResolveTypeToNodeSpecificTypeIdentifier(TypeInfo typeInfo)
92-
{
93-
ArgumentNullException.ThrowIfNull(typeInfo);
94-
return TypeIdRegistry[typeInfo];
95-
}
96-
91+
private int ResolveTypeToNodeSpecificTypeIdentifier(TypeInfo typeInfo) => TypeIdRegistry[typeInfo];
9792

9893
// Constructors
9994

0 commit comments

Comments
 (0)