System.IO.__Error.EndReadCalledTwice C# (CSharp) Method

EndReadCalledTwice() static private method

static private EndReadCalledTwice ( ) : void
return void
        internal static void EndReadCalledTwice() {
            // Should ideally be InvalidOperationExc but we can't maitain parity with Stream and FileStream without some work
            throw new ArgumentException(Environment.GetResourceString("InvalidOperation_EndReadCalledMultiple"));
        }