We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c6e9be commit dcff709Copy full SHA for dcff709
1 file changed
Orm/Xtensive.Orm/Orm/Model/TypeInfo.cs
@@ -7,6 +7,7 @@
7
using System;
8
using System.Collections;
9
using System.Collections.Generic;
10
+using System.Collections.Immutable;
11
using System.Collections.ObjectModel;
12
using System.Diagnostics;
13
using System.Linq;
@@ -38,7 +39,7 @@ public sealed class TypeInfo : SchemaMappedNode
38
39
/// </summary>
40
public const int MinTypeId = 100;
41
- private static readonly IReadOnlySet<TypeInfo> EmptyTypes = new HashSet<TypeInfo>();
42
+ private static readonly IReadOnlySet<TypeInfo> EmptyTypes = ImmutableHashSet<TypeInfo>.Empty;
43
44
private readonly ColumnInfoCollection columns;
45
private readonly FieldMap fieldMap;
0 commit comments