internal static ProjectAnalysisResult Create( Project project, ImmutableArray <Diagnostic> compilerDiagnostics, ImmutableArray <Diagnostic> diagnostics, ImmutableDictionary <DiagnosticAnalyzer, AnalyzerTelemetryInfo> telemetry) { return(new ProjectAnalysisResult( SimpleProjectInfo.Create(project), ImmutableArray.CreateRange(compilerDiagnostics, f => DiagnosticInfo.Create(f)), ImmutableArray.CreateRange(diagnostics, f => DiagnosticInfo.Create(f)), telemetry)); }
internal static ProjectAnalysisResult Create(Project project) { return(new ProjectAnalysisResult(SimpleProjectInfo.Create(project))); }