9 references to ThrowProtocolViolation
System.Net.HttpListener (9)
System\Net\Managed\ChunkStream.cs (9)
249ThrowProtocolViolation("2 CR found"); 265ThrowProtocolViolation("chunk size too long."); 271ThrowProtocolViolation("Missing \\n"); 282ThrowProtocolViolation("Cannot parse chunk size."); 295ThrowProtocolViolation("Cannot parse chunk size."); 318ThrowProtocolViolation("Expecting \\r"); 326ThrowProtocolViolation("Expecting \\n"); 369ThrowProtocolViolation("Error reading trailer (too long)."); 377ThrowProtocolViolation("Error reading trailer.");