Skip to content

Commit 6f77d06

Browse files
committed
Rearrange methots after properties
1 parent 22d8dae commit 6f77d06

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

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

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -148,28 +148,6 @@ public IReadOnlyList<TypeInfo> RecursiveImplementors
148148
}
149149
}
150150

151-
/// <summary>
152-
/// Gets the direct implementors of this instance.
153-
/// </summary>
154-
/// <param name="recursive">if set to <see langword="true"/> then both direct and non-direct implementors will be returned.</param>
155-
[Obsolete("Use Implementors/RecursiveImplementors properties instead")]
156-
public IEnumerable<TypeInfo> GetImplementors(bool recursive = false) => recursive ? RecursiveImplementors : Implementors;
157-
158-
/// <summary>
159-
/// Gets the persistent interfaces this instance implements.
160-
/// </summary>
161-
/// <param name="recursive">if set to <see langword="true"/> then both direct and non-direct implemented interfaces will be returned.</param>
162-
[Obsolete("Use Interfaces/RecursiveInterfaces properties instead")]
163-
public IEnumerable<TypeInfo> GetInterfaces(bool recursive = false) => recursive ? RecursiveInterfaces : Interfaces;
164-
165-
/// <summary>
166-
/// Gets descendants of this instance.
167-
/// </summary>
168-
/// <param name="recursive">if set to <see langword="true"/> then both direct and nested descendants will be returned.</param>
169-
/// <returns></returns>
170-
[Obsolete("Use Descendants/RecursiveDescendants properties instead")]
171-
public IEnumerable<TypeInfo> GetDescendants(bool recursive) => recursive ? RecursiveDescendants : Descendants;
172-
173151
/// <summary>
174152
/// Gets the ancestors recursively. Root-to-inheritor order.
175153
/// </summary>
@@ -520,6 +498,28 @@ internal set {
520498

521499
internal FieldAccessorProvider Accessors { get; private set; }
522500

501+
/// <summary>
502+
/// Gets the direct implementors of this instance.
503+
/// </summary>
504+
/// <param name="recursive">if set to <see langword="true"/> then both direct and non-direct implementors will be returned.</param>
505+
[Obsolete("Use Implementors/RecursiveImplementors properties instead")]
506+
public IEnumerable<TypeInfo> GetImplementors(bool recursive = false) => recursive ? RecursiveImplementors : Implementors;
507+
508+
/// <summary>
509+
/// Gets the persistent interfaces this instance implements.
510+
/// </summary>
511+
/// <param name="recursive">if set to <see langword="true"/> then both direct and non-direct implemented interfaces will be returned.</param>
512+
[Obsolete("Use Interfaces/RecursiveInterfaces properties instead")]
513+
public IEnumerable<TypeInfo> GetInterfaces(bool recursive = false) => recursive ? RecursiveInterfaces : Interfaces;
514+
515+
/// <summary>
516+
/// Gets descendants of this instance.
517+
/// </summary>
518+
/// <param name="recursive">if set to <see langword="true"/> then both direct and nested descendants will be returned.</param>
519+
/// <returns></returns>
520+
[Obsolete("Use Descendants/RecursiveDescendants properties instead")]
521+
public IEnumerable<TypeInfo> GetDescendants(bool recursive) => recursive ? RecursiveDescendants : Descendants;
522+
523523
/// <summary>
524524
/// Creates the tuple prototype with specified <paramref name="primaryKey"/>.
525525
/// </summary>

0 commit comments

Comments
 (0)