1 write to GeneratedSources
Microsoft.CodeAnalysis (1)
62 references to GeneratedSources
Microsoft.Analyzers.Extra.Tests (2)
Microsoft.Analyzers.Local.Tests (2)
Microsoft.AspNetCore.Http.Extensions.Tests (7)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (28)
SourceGeneration\GeneratorDriverTests.cs (26)
568Assert.True(result.GeneratedSources.IsDefault);
601Assert.Single(result.GeneratedSources);
602Assert.Equal(results.GeneratedTrees.Single(), result.GeneratedSources.Single().SyntaxTree);
635Assert.Equal(2, result1.GeneratedSources.Length);
636Assert.Equal(results.GeneratedTrees[0], result1.GeneratedSources[0].SyntaxTree);
637Assert.Equal(results.GeneratedTrees[1], result1.GeneratedSources[1].SyntaxTree);
641Assert.Single(result2.GeneratedSources);
642Assert.Equal(results.GeneratedTrees[2], result2.GeneratedSources[0].SyntaxTree);
646Assert.Single(result3.GeneratedSources);
647Assert.Equal(results.GeneratedTrees[3], result3.GeneratedSources[0].SyntaxTree);
687Assert.Empty(result1.GeneratedSources);
693Assert.Empty(result2.GeneratedSources);
1076Assert.Equal(2, result.GeneratedSources.Length);
1109Assert.Equal(2, result1.GeneratedSources.Length);
1110Assert.Equal(results.GeneratedTrees[0], result1.GeneratedSources[0].SyntaxTree);
1111Assert.Equal(results.GeneratedTrees[1], result1.GeneratedSources[1].SyntaxTree);
1115Assert.Single(result2.GeneratedSources);
1116Assert.Equal(results.GeneratedTrees[2], result2.GeneratedSources[0].SyntaxTree);
1120Assert.Single(result3.GeneratedSources);
1121Assert.Equal(results.GeneratedTrees[3], result3.GeneratedSources[0].SyntaxTree);
1512Assert.Equal("// generated", runResults.Results.Single().GeneratedSources.Single().SourceText.ToString());
3117Assert.DoesNotContain(result.Results[0].GeneratedSources, isTextForKind);
3128Assert.Contains(result.Results[0].GeneratedSources, isTextForKind);
3553Assert.Empty(result.GeneratedSources);
4392Assert.Equal(1, result.Results[0].GeneratedSources.Length);
4397Assert.True(result.Results[1].GeneratedSources.IsDefault);
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.Gen.ComplianceReports.Unit.Tests (3)
Microsoft.Gen.ContextualOptions.Unit.Tests (3)
Microsoft.Gen.Logging.Unit.Tests (3)
Microsoft.Gen.Metrics.Unit.Tests (3)
Microsoft.Gen.MetricsReports.Unit.Tests (3)