20 references to RaiseUnexpected
Microsoft.TestPlatform.CommunicationUtilities (20)
Json\Jsonite\Jsonite.cs (20)
418RaiseUnexpected(""); 426RaiseUnexpected("while parsing a value. Expecting OBJECT, ARRAY, STRING, NUMBER, true, false or null"); // unit-test: 020-test-error-object3.txt 468RaiseUnexpected($"while parsing an object. Expecting a colon ':' after a member"); // unit test: 020-test-error-object2.txt 498RaiseUnexpected("while parsing an object. Expecting a STRING or '}'"); // unit test: 020-test-error-object1.txt 503RaiseUnexpected("while parsing an object"); // unit-test: 020-test-error-object4.txt 507RaiseUnexpected("while parsing an object. Expecting a STRING after a comma ','"); // unit-test: 020-test-error-object5.txt 553RaiseUnexpected("while parsing an array"); // unit-test: 030-test-error-array2.txt 559RaiseUnexpected("while parsing an array"); // unit-test: 030-test-error-array1.txt 563RaiseUnexpected("while parsing an array. Expecting a STRING, NUMBER, OBJECT, ARRAY, true, false or null after a comma ','"); // unit-test: 030-test-error-array3.txt 643RaiseUnexpected("while parsing a string. Expecting only hexadecimals [0-9a-fA-F] after escape \\u"); // unit-test: 001-test-error-string4.txt 646RaiseUnexpected("while parsing a string. Only \\ \" b f n r t v u0000-uFFFF are allowed"); // unit-test: 001-test-error-string1.txt 649RaiseUnexpected("while parsing a string"); // unit-test: 001-test-error-string2.txt 657RaiseUnexpected("while parsing a string. Use escape \\ instead"); // unit-test: 001-test-error-string3.txt 685RaiseUnexpected("while parsing a number after a '-'. Expecting a digit 0-9"); // unit-test: 002-test-error-number1.txt 697RaiseUnexpected("while parsing a number. The number '0' must followed by '.' or by an exponent or nothing"); // unit-test: 002-test-error-number2.txt 718RaiseUnexpected("while parsing the floating part of a number. Expecting a digit 0-9 after a period '.'"); // unit-test: 002-test-error-number3.txt 742RaiseUnexpected("while parsing the exponent of a number. Expecting a digit 0-9 after an exponent"); // unit-test: 002-test-error-number4.txt 851RaiseUnexpected("while trying to parse a BOOL 'true' value"); // unit-test: 000-test-error-true1.txt and 000-test-error-true2.txt 875RaiseUnexpected("while trying to parse a BOOL 'false' value"); // unit-test: 000-test-error-false1.txt 895RaiseUnexpected("while trying to parse the NULL 'null' value"); // unit-test: 000-test-error-null1.txt