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