31 references to ParseAndValidate
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (31)
Parsing\ScriptParsingTests.cs (31)
65ParseAndValidate(test, new ErrorDescription { Code = 1585, Line = 4, Column = 1 } //static must precede type
283ParseAndValidate(test, new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 10 });
292ParseAndValidate(test, new ErrorDescription { Code = 1520, Line = 2, Column = 8 });
301ParseAndValidate(test, new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 11 });
1321ParseAndValidate(test);
1699ParseAndValidate(test,
1829ParseAndValidate(test,
1843ParseAndValidate(test, new ErrorDescription { Code = 7002, Line = 5, Column = 14 });
1853ParseAndValidate(test, new ErrorDescription { Code = 439, Line = 3, Column = 1 });
1863ParseAndValidate(test, new ErrorDescription { Code = 439, Line = 3, Column = 1 });
1873ParseAndValidate(test, new ErrorDescription { Code = 439, Line = 3, Column = 1 });
1884ParseAndValidate(test, new ErrorDescription { Code = 439, Line = 3, Column = 1 });
1894ParseAndValidate(test, new ErrorDescription { Code = 1529, Line = 3, Column = 1 });
1904ParseAndValidate(test, new ErrorDescription { Code = 1529, Line = 3, Column = 1 });
1942ParseAndValidate(test);
1952ParseAndValidate(test);
1962ParseAndValidate(test);
1971ParseAndValidate(test, new ErrorDescription { Code = 1597, Line = 2, Column = 21 });
9463ParseAndValidate(test,
9474ParseAndValidate(test,
9486ParseAndValidate(test,
9498ParseAndValidate(test,
9510ParseAndValidate(test,
9522ParseAndValidate(test,
9541ParseAndValidate(test, new ErrorDescription { Code = 145, Line = 3, Column = 11 });
9553ParseAndValidate(test);
9563ParseAndValidate(test);
9572ParseAndValidate(test,
9588ParseAndValidate(test,
9600ParseAndValidate(test,
9621ParseAndValidate(test,