Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ EnsureNotDisposed()

static void System.Security.Cryptography.CryptoStream.EnsureNotDisposed ( Stream stream,
string objectName )
inlinestaticprivate

Definition at line 631 of file CryptoStream.cs.

632 {
633 if (!stream.CanRead && !stream.CanWrite)
634 {
635 throw new ObjectDisposedException(objectName);
636 }
637 }

References System.stream.

Referenced by System.Security.Cryptography.CryptoStream.CheckCopyToArguments().