File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ string ToDebugString(MetadataDebugStringOptions options = MetadataDebugStringOpt
9191 }
9292
9393 if ( ( options & MetadataDebugStringOptions . IncludePropertyIndexes ) != 0
94- && ( this is RuntimeAnnotatableBase || ( this is AnnotatableBase annotatable && annotatable . IsReadOnly ) ) )
94+ && ( this is RuntimeAnnotatableBase || this is AnnotatableBase { IsReadOnly : true } ) )
9595 {
9696 var indexes = ( ( IProperty ) this ) . GetPropertyIndexes ( ) ;
9797 builder . Append ( ' ' ) . Append ( indexes . Index ) ;
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ string ToDebugString(MetadataDebugStringOptions options = MetadataDebugStringOpt
165165 }
166166
167167 if ( ( options & MetadataDebugStringOptions . IncludePropertyIndexes ) != 0
168- && ( this is RuntimeAnnotatableBase || ( this is AnnotatableBase annotatable && annotatable . IsReadOnly ) ) )
168+ && ( this is RuntimeAnnotatableBase || this is AnnotatableBase { IsReadOnly : true } ) )
169169 {
170170 var indexes = ( ( INavigation ) this ) . GetPropertyIndexes ( ) ;
171171 builder . Append ( ' ' ) . Append ( indexes . Index ) ;
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ string ToDebugString(MetadataDebugStringOptions options = MetadataDebugStringOpt
433433 }
434434
435435 if ( ( options & MetadataDebugStringOptions . IncludePropertyIndexes ) != 0
436- && ( this is RuntimeAnnotatableBase || ( this is AnnotatableBase annotatable && annotatable . IsReadOnly ) ) )
436+ && ( this is RuntimeAnnotatableBase || this is AnnotatableBase { IsReadOnly : true } ) )
437437 {
438438 var indexes = ( ( IProperty ) this ) . GetPropertyIndexes ( ) ;
439439 builder . Append ( ' ' ) . Append ( indexes . Index ) ;
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ string ToDebugString(MetadataDebugStringOptions options = MetadataDebugStringOpt
9999 }
100100
101101 if ( ( options & MetadataDebugStringOptions . IncludePropertyIndexes ) != 0
102- && ( this is RuntimeAnnotatableBase || ( this is AnnotatableBase annotatable && annotatable . IsReadOnly ) ) )
102+ && ( this is RuntimeAnnotatableBase || this is AnnotatableBase { IsReadOnly : true } ) )
103103 {
104104 var indexes = ( ( ISkipNavigation ) this ) . GetPropertyIndexes ( ) ;
105105 builder . Append ( ' ' ) . Append ( indexes . Index ) ;
You can’t perform that action at this time.
0 commit comments