7 references to Create
Microsoft.CodeAnalysis (5)
CommandLine\CommonCompiler.cs (2)
376diagnostics.Add(Diagnostic.Create(ToFileReadDiagnostics(MessageProvider, e, filePath))); 599=> 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)
26private static readonly Func<DiagnosticInfo, Diagnostic> s_createDiagnosticWithoutLocation = Diagnostic.Create;
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\CommandLineRunner.cs (1)
127var errors = _compiler.Arguments.Errors.Concat(diagnosticsInfos.Select(Diagnostic.Create));
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicParseOptions.vb (1)
256builder.Add(Diagnostic.Create(ErrorFactory.ErrorInfo(ERRID.ERR_ConditionalCompilationConstantNotValid,