1 write to Results
Microsoft.CodeAnalysis (1)
SourceGeneration\RunResults.cs (1)
25this.Results = results;
60 references to Results
Microsoft.Analyzers.Extra.Tests (4)
Resources\RoslynTestUtils.cs (4)
197return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 228return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Analyzers.Local.Tests (4)
Resources\RoslynTestUtils.cs (4)
197return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 228return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.CodeAnalysis (4)
SourceGeneration\RunResults.cs (4)
43/// This is equivalent to the union of all <see cref="GeneratorRunResult.Diagnostics"/> in <see cref="Results"/>. 51ImmutableInterlocked.InterlockedInitialize(ref _lazyDiagnostics, Results.Where(r => !r.Diagnostics.IsDefaultOrEmpty).SelectMany(r => r.Diagnostics).ToImmutableArray()); 61/// This is equivalent to the union of all <see cref="GeneratedSourceResult.SyntaxTree"/>s in each <see cref="GeneratorRunResult.GeneratedSources"/> in each <see cref="Results"/> 69ImmutableInterlocked.InterlockedInitialize(ref _lazyGeneratedTrees, Results.Where(r => !r.GeneratedSources.IsDefaultOrEmpty).SelectMany(r => r.GeneratedSources.Select(g => g.SyntaxTree)).ToImmutableArray());
Microsoft.CodeAnalysis.Workspaces (5)
SourceGeneratorTelemetry\SourceGeneratorTelemetryCollectorWorkspaceService.cs (1)
59foreach (var generatorResult in driverRunResult.Results)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
894foreach (var result in driverRunResult.Results)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (3)
344runResult.Results.Sum(r => r.GeneratedSources.IsDefaultOrEmpty ? 0 : r.GeneratedSources.Length); 354foreach (var generatorResult in runResult.Results) 498if (!priorRunResult.Results.Any(r => r.Generator == context.Generator && !r.GeneratedSources.IsDefault))
Microsoft.Gen.BuildMetadata.Unit.Tests (7)
GeneratorTests.cs (1)
115return (diagnostics, runResult.Results[0].GeneratedSources);
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.ComplianceReports.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.ContextualOptions.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.Logging.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.MetadataExtractor.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.Metrics.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);
Microsoft.Gen.MetricsReports.Unit.Tests (6)
test\Generators\Shared\RoslynTestUtils.cs (6)
238return (r.Results[0].Diagnostics, r.Results[0].GeneratedSources); 282return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources); 328return (Sort(r.Results[0].Diagnostics), r.Results[0].GeneratedSources);