File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm/Orm/Internals/Prefetch/Nodes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ namespace Xtensive.Orm.Internals.Prefetch
1414{
1515 internal class SetNode : BaseFieldNode , IHasNestedNodes
1616 {
17- public ReadOnlyCollection < BaseFieldNode > NestedNodes { get ; private set ; }
17+ public ReadOnlyCollection < BaseFieldNode > NestedNodes { get ; }
1818
19- public TypeInfo ElementType { get ; private set ; }
19+ public TypeInfo ElementType { get ; }
2020
2121 public IReadOnlyCollection < Key > ExtractKeys ( object target )
2222 {
23- if ( target == null ) {
23+ if ( target == null ) {
2424 return Array . Empty < Key > ( ) ;
2525 }
2626
@@ -30,15 +30,10 @@ public IReadOnlyCollection<Key> ExtractKeys(object target)
3030 return fetchedKeys . ToArray ( fetchedKeys . Count ) ;
3131 }
3232
33- public IHasNestedNodes ReplaceNestedNodes ( ReadOnlyCollection < BaseFieldNode > nestedNodes )
34- {
35- return new SetNode ( Path , Field , ElementType , NestedNodes ) ;
36- }
33+ public IHasNestedNodes ReplaceNestedNodes ( ReadOnlyCollection < BaseFieldNode > nestedNodes ) =>
34+ new SetNode ( Path , Field , ElementType , NestedNodes ) ;
3735
38- public override Node Accept ( NodeVisitor visitor )
39- {
40- return visitor . VisitSetNode ( this ) ;
41- }
36+ public override Node Accept ( NodeVisitor visitor ) => visitor . VisitSetNode ( this ) ;
4237
4338 // Constructors
4439
You can’t perform that action at this time.
0 commit comments