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