38 references to Errors
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (38)
LexicalAndXml\LexicalTests.cs (33)
257
errors = trivia[0].
Errors
();
3854
var errors = trivia.
Errors
();
3882
var errors = trivia.
Errors
();
3961
var errors = trivia.
Errors
();
3974
errors = trivia.
Errors
();
3998
errors = trivia.
Errors
();
4019
errors = trivia1.
Errors
();
4039
errors = trivia4.
Errors
();
4052
errors = trivia1.
Errors
();
4067
errors = trivia3.
Errors
();
4177
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4195
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4217
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4235
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4265
var errors = trivia.
Errors
();
4280
errors = trivia.
Errors
();
4303
errors = trivia.
Errors
();
4325
errors = trivia1.
Errors
();
4339
errors = trivia4.
Errors
();
4354
errors = trivia1.
Errors
();
4365
errors = trivia3.
Errors
();
4386
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4395
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4404
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4425
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4441
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4457
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4481
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4497
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4515
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4539
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4557
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
4573
Assert.Equal((int)ErrorCode.ERR_Merge_conflict_marker_encountered, trivia.
Errors
().Single().Code);
LexicalAndXml\XmlDocCommentTests.cs (5)
2057
Assert.Equal(0, trivias[0].
Errors
().Length);
2123
Assert.Equal(0, trivias[0].
Errors
().Length);
2154
Assert.Equal(0, trivias[0].
Errors
().Length);
2184
Assert.Equal(0, trivias[0].
Errors
().Length);
2214
Assert.Equal(0, trivias[0].
Errors
().Length);