using System; using System.Runtime.Serialization; using Cpp2IlInjected; namespace System.Net { /// The exception that is thrown when an error is made while using a network protocol. // Token: 0x02000233 RID: 563 [Token(Token = "0x2000233")] [Serializable] public class ProtocolViolationException : InvalidOperationException, ISerializable { /// Initializes a new instance of the class. // Token: 0x06000E1E RID: 3614 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E1E")] [Address(RVA = "0x8AC420", Offset = "0x8AB420", VA = "0x1808AC420")] public ProtocolViolationException() { } /// Initializes a new instance of the class with the specified message. /// The error message string. // Token: 0x06000E1F RID: 3615 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E1F")] [Address(RVA = "0x8AC410", Offset = "0x8AB410", VA = "0x1808AC410")] public ProtocolViolationException(string message) { } /// Initializes a new instance of the class from the specified and instances. /// A that contains the information that is required to deserialize the . /// A that contains the source of the serialized stream that is associated with the new . // Token: 0x06000E20 RID: 3616 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E20")] [Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")] protected ProtocolViolationException(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Serializes this instance into the specified object. /// The object into which this will be serialized. /// The destination of the serialization. // Token: 0x06000E21 RID: 3617 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E21")] [Address(RVA = "0x7754D0", Offset = "0x7744D0", VA = "0x1807754D0", Slot = "4")] void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } /// Populates a with the data required to serialize the target object. /// The to populate with data. /// A that specifies the destination for this serialization. // Token: 0x06000E22 RID: 3618 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000E22")] [Address(RVA = "0x7754D0", Offset = "0x7744D0", VA = "0x1807754D0", Slot = "10")] public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext) { } } }