25 references to DiagnosticsHelper
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (12)
Diagnostics\GetDiagnosticsTests.cs (12)
46DiagnosticsHelper.VerifyDiagnostics(model, source, @"(?s)^.*$", "CS1646", "CS1024", "CS1525", "CS1002");
47DiagnosticsHelper.VerifyDiagnostics(model, source, @"\s*(?=@)", "CS1646");
48DiagnosticsHelper.VerifyDiagnostics(model, source, @"#", "CS1024");
49DiagnosticsHelper.VerifyDiagnostics(model, source, @"(?<=\!)", "CS1525", "CS1002");
81DiagnosticsHelper.VerifyDiagnostics(model, source, @"var x = X;", "CS0103");
82DiagnosticsHelper.VerifyDiagnostics(model, source, @"return Y;", "CS0103");
97DiagnosticsHelper.VerifyDiagnostics(model, source, @"(?s)^.*$", ErrorId);
98DiagnosticsHelper.VerifyDiagnostics(model, source, @"Abracadabra", ErrorId);
99DiagnosticsHelper.VerifyDiagnostics(model, source, @"C : Abracadabra", ErrorId);
100DiagnosticsHelper.VerifyDiagnostics(model, source, @"C : Abracadabr", ErrorId);
101DiagnosticsHelper.VerifyDiagnostics(model, source, @"Abracadabra[\r\n]+", ErrorId);
102DiagnosticsHelper.VerifyDiagnostics(model, source, @"bracadabra[\r\n]+", ErrorId);
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (13)
Diagnostics\GetDiagnosticsTests.vb (13)
34DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "(?s)^.*$", "BC30035", "BC30248", "BC30203", "BC30157")
35DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "@", "BC30035")
36DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "#", "BC30248")
37DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "(?<=\!)", "BC30203", "BC30157")
38DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "!", "BC30203", "BC30157")
65DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "X", "BC30451")
66DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "Y", "BC30451")
84DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "(?s)^.*$", ErrorId)
85DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "Abracadabra", ErrorId)
86DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "ts Abracadabra", ErrorId)
87DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "ts Abracadabr", ErrorId)
88DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "Abracadabra[\r\n]+", ErrorId)
89DiagnosticsHelper.VerifyDiagnostics(model, sourceText, "bracadabra[\r\n]+", ErrorId)