The rule should flag types derived from Stream that override BeginRead/EndRead or BeginWrite/EndWrite but that don't override ReadAsync or WriteAsync. And it should flag types derived from Stream that override the array-based ReadAsync or WriteAsync but that don't override the Memory-based overloads of the same name. (Potentially the same should be done for the Span-based overloads, but as the array-based Read and Write methods are abstract and thus must be overridden, it's harder to say whether those should be or not.)
Category: Performance
The rule should flag types derived from
Streamthat overrideBeginRead/EndReadorBeginWrite/EndWritebut that don't overrideReadAsyncorWriteAsync. And it should flag types derived fromStreamthat override the array-basedReadAsyncorWriteAsyncbut that don't override theMemory-based overloads of the same name. (Potentially the same should be done for theSpan-based overloads, but as the array-basedReadandWritemethods are abstract and thus must be overridden, it's harder to say whether those should be or not.)Category: Performance