49 references to WithTrackingName
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (23)
SourceGeneration\GeneratorDriverTests.cs (9)
1736ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((at, ct) => at).WithTrackingName("AdditionalTextsTransform"), (spc, at) => { });
2279.WithTrackingName("Select");
2394.Select((c, ct) => c).WithTrackingName("Classes");
2707ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((t, _) => t.Path).WithTrackingName("Paths"), (spc, p) => { });
2893var paths = texts.Select((t, _) => t?.Path).WithTrackingName("Path");
2894var contents = texts.Select((t, ct) => t?.GetText(ct)?.ToString()).WithTrackingName("Content");
3151ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).WithTrackingName("Syntax"), (context, ct) => { });
3285ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).WithTrackingName("Syntax"), (context, ct) => { });
4058.WithTrackingName("MyTransformNode");
SourceGeneration\SyntaxAwareGeneratorTests.cs (14)
1016var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields");
1091var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields");
1223var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields");
1306var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields");
1393(c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Syntax")
1394.Select((s, ct) => s).WithTrackingName("Fields");
1516source = source.WithComparer(new LambdaComparer<string>((a, b) => true)).WithTrackingName("Fields");
1683}).WithTrackingName("Fields");
1685context.RegisterSourceOutput(source.Select((s, ct) => $"Output1_{s}").WithTrackingName("Output"), (spc, fieldName) =>
1689context.RegisterSourceOutput(source.Select((s, ct) => $"Output2_{s}").WithTrackingName("Output"), (spc, fieldName) =>
1742}).WithTrackingName("Fields");
1748context.RegisterSourceOutput(source2.Select((value, ct) => value.Left.Left.Left).WithTrackingName("Output"), (spc, output) =>
1795}).WithTrackingName("Fields");
1801context.RegisterSourceOutput(joinedSource.Select((value, ct) => value.Left).WithTrackingName("Output"), (spc, fieldName) =>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.Interop.JavaScript.JSImportGenerator (4)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
Microsoft.Maui.Controls.BindingSourceGen (2)
Microsoft.Maui.Controls.SourceGen (4)