@@ -202,7 +202,7 @@ public string Path
202202 var pathBuilder = new StringBuilder ( ) ;
203203 IncludeTreeNode ? parent = this ;
204204
205- while ( parent is { Relationship : not HiddenRootRelationship } )
205+ while ( parent is { Relationship : not HiddenRootRelationshipAttribute } )
206206 {
207207 pathBuilder . Insert ( 0 , pathBuilder . Length > 0 ? $ "{ parent . Relationship . PublicName } ." : parent . Relationship . PublicName ) ;
208208 parent = parent . _parent ;
@@ -220,7 +220,7 @@ private IncludeTreeNode(RelationshipAttribute relationship, IncludeTreeNode? par
220220
221221 public static IncludeTreeNode CreateRoot ( ResourceType resourceType )
222222 {
223- var relationship = new HiddenRootRelationship ( resourceType ) ;
223+ var relationship = new HiddenRootRelationshipAttribute ( resourceType ) ;
224224 return new IncludeTreeNode ( relationship , null ) ;
225225 }
226226
@@ -242,7 +242,7 @@ public IncludeExpression ToExpression()
242242 {
243243 IncludeElementExpression element = ToElementExpression ( ) ;
244244
245- if ( element . Relationship is HiddenRootRelationship )
245+ if ( element . Relationship is HiddenRootRelationshipAttribute )
246246 {
247247 return new IncludeExpression ( element . Children ) ;
248248 }
@@ -262,9 +262,9 @@ public override string ToString()
262262 return include . ToFullString ( ) ;
263263 }
264264
265- private sealed class HiddenRootRelationship : RelationshipAttribute
265+ private sealed class HiddenRootRelationshipAttribute : RelationshipAttribute
266266 {
267- public HiddenRootRelationship ( ResourceType rightType )
267+ public HiddenRootRelationshipAttribute ( ResourceType rightType )
268268 {
269269 ArgumentGuard . NotNull ( rightType , nameof ( rightType ) ) ;
270270
0 commit comments