Skip to content

Commit dcff709

Browse files
committed
EmptyTypes = ImmutableHashSet<TypeInfo>.Empty;
1 parent 6c6e9be commit dcff709

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Orm/Xtensive.Orm/Orm/Model/TypeInfo.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
using System;
88
using System.Collections;
99
using System.Collections.Generic;
10+
using System.Collections.Immutable;
1011
using System.Collections.ObjectModel;
1112
using System.Diagnostics;
1213
using System.Linq;
@@ -38,7 +39,7 @@ public sealed class TypeInfo : SchemaMappedNode
3839
/// </summary>
3940
public const int MinTypeId = 100;
4041

41-
private static readonly IReadOnlySet<TypeInfo> EmptyTypes = new HashSet<TypeInfo>();
42+
private static readonly IReadOnlySet<TypeInfo> EmptyTypes = ImmutableHashSet<TypeInfo>.Empty;
4243

4344
private readonly ColumnInfoCollection columns;
4445
private readonly FieldMap fieldMap;

0 commit comments

Comments
 (0)