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