5 references to Create
Microsoft.CodeAnalysis (5)
CommandLine\CommonCompiler.cs (2)
379
diagnostics.Add(Diagnostic.
Create
(ToFileReadDiagnostics(MessageProvider, e, filePath)));
602
=> ReportDiagnostics(diagnostics.Select(info => Diagnostic.
Create
(info)), consoleOutput, errorLoggerOpt, compilation);
Diagnostic\Diagnostic.cs (2)
282
return
Create
(new DiagnosticInfo(messageProvider, errorCode));
287
return
Create
(new DiagnosticInfo(messageProvider, errorCode, arguments));
Syntax\SyntaxToken.cs (1)
23
private static readonly Func<DiagnosticInfo, Diagnostic> s_createDiagnosticWithoutLocation = Diagnostic.
Create
;