Skip to content

Commit 75b3758

Browse files
Update Orm/Xtensive.Orm/Orm/Model/TypeInfoCollection.cs
Co-authored-by: Alexey Kulakov <alexey.kulakov@dataobjects.net>
1 parent b9648f4 commit 75b3758

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Orm/Xtensive.Orm/Orm/Model/TypeInfoCollection.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ public IEnumerable<TypeInfo> FindImplementors(TypeInfo item, bool recursive) =>
248248
/// <param name="item">The type to search root for.</param>
249249
/// <returns><see cref="TypeInfo"/> instance that is root of specified <paramref name="item"/>.</returns>
250250
/// <exception cref="ArgumentNullException">When <paramref name="item"/> is <see langword="null"/>.</exception>
251-
[Obsolete("Use TypeInfo.GetRoot()")]
252-
public TypeInfo FindRoot(TypeInfo item) => item.GetRoot();
251+
[Obsolete("Use TypeInfo.Root")]
252+
public TypeInfo FindRoot(TypeInfo item) => item.Root;
253253

254254
/// <summary>
255255
/// Finds the ancestor of the specified <paramref name="type"/>.

0 commit comments

Comments
 (0)