@@ -1699,7 +1699,7 @@ internal static bool IsSingleLine<TNode>(
16991699 if ( span . IsEmpty )
17001700 return false ;
17011701
1702- SyntaxTree tree = list . First ( ) . SyntaxTree ;
1702+ SyntaxTree tree = list [ 0 ] . SyntaxTree ;
17031703
17041704 if ( tree == null )
17051705 return false ;
@@ -1718,7 +1718,7 @@ internal static bool IsMultiLine<TNode>(
17181718 if ( span . IsEmpty )
17191719 return false ;
17201720
1721- SyntaxTree tree = list . First ( ) . SyntaxTree ;
1721+ SyntaxTree tree = list [ 0 ] . SyntaxTree ;
17221722
17231723 if ( tree == null )
17241724 return false ;
@@ -1735,7 +1735,7 @@ internal static TextSpan GetSpan<TNode>(
17351735 return default ;
17361736
17371737 return TextSpan . FromBounds (
1738- GetStartIndex ( list . First ( ) , includeExteriorTrivia , trim ) ,
1738+ GetStartIndex ( list [ 0 ] , includeExteriorTrivia , trim ) ,
17391739 GetEndIndex ( list . Last ( ) , includeExteriorTrivia , trim ) ) ;
17401740 }
17411741
@@ -2150,7 +2150,7 @@ internal static bool IsSingleLine<TNode>(
21502150 if ( span . IsEmpty )
21512151 return false ;
21522152
2153- SyntaxTree tree = list . First ( ) . SyntaxTree ;
2153+ SyntaxTree tree = list [ 0 ] . SyntaxTree ;
21542154
21552155 if ( tree == null )
21562156 return false ;
@@ -2169,7 +2169,7 @@ internal static bool IsMultiLine<TNode>(
21692169 if ( span . IsEmpty )
21702170 return false ;
21712171
2172- SyntaxTree tree = list . First ( ) . SyntaxTree ;
2172+ SyntaxTree tree = list [ 0 ] . SyntaxTree ;
21732173
21742174 if ( tree == null )
21752175 return false ;
@@ -2186,7 +2186,7 @@ internal static TextSpan GetSpan<TNode>(
21862186 return default ;
21872187
21882188 return TextSpan . FromBounds (
2189- GetStartIndex ( list . First ( ) , includeExteriorTrivia , trim ) ,
2189+ GetStartIndex ( list [ 0 ] , includeExteriorTrivia , trim ) ,
21902190 GetEndIndex ( list . Last ( ) , includeExteriorTrivia , trim ) ) ;
21912191 }
21922192
0 commit comments