We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8df11c commit f955383Copy full SHA for f955383
1 file changed
Orm/Xtensive.Orm/Tuples/TupleDescriptor.cs
@@ -86,7 +86,10 @@ IEnumerator IEnumerable.GetEnumerator()
86
/// <inheritdoc/>
87
public bool Equals(TupleDescriptor other)
88
{
89
- if (FieldCount!=other.FieldCount) {
+ if (FieldTypes == null) {
90
+ return other.FieldTypes == null;
91
+ }
92
+ if (other.FieldTypes == null || FieldCount != other.FieldCount) {
93
return false;
94
}
95
0 commit comments