12 references to DiagnosticInfo
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.cs (1)
712var diag = new DiagnosticInfo(MessageProvider, errorCode);
Diagnostic\Diagnostic.cs (1)
282return Create(new DiagnosticInfo(messageProvider, errorCode));
Microsoft.CodeAnalysis.CSharp (1)
Errors\LazyDiagnosticInfo.cs (1)
14: base(CSharp.MessageProvider.Instance, (int)ErrorCode.Unknown)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\DiagnosticTest.cs (2)
71DiagnosticInfo di1 = new DiagnosticInfo(provider, 1); 2738: base(provider, 2)
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
113diagnosticsInfos.Add(new DiagnosticInfo(_compiler.MessageProvider, _compiler.MessageProvider.ERR_ExpectedSingleScript));
Microsoft.CodeAnalysis.VisualBasic (4)
Errors\ErrorFactories.vb (1)
59Return New DiagnosticInfo(MessageProvider.Instance, id)
Errors\LazyObsoleteDiagnosticInfo.vb (1)
19MyBase.New(VisualBasic.MessageProvider.Instance, ERRID.Unknown)
GlobalImport.ImportDiagnosticInfo.vb (1)
51MyBase.New(VisualBasic.MessageProvider.Instance, wrappedDiagnostic.Code)
OptionsValidator.vb (1)
45syntaxErrors = syntaxErrors.Concat(New VBDiagnostic(New DiagnosticInfo(MessageProvider.Instance, ERRID.ERR_ExpectedEOS), importsClausesSyntaxList(1).GetLocation()))
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Syntax\GeneratedTests.vb (1)
35Dim nodeWithDiags = node.SetDiagnostics(New DiagnosticInfo() {New DiagnosticInfo(msgProvider, ERRID.ERR_AccessMismatch6)})
TestSyntaxNodes.vb (1)
1054Return New DiagnosticInfo(s_messageProvider, code)