49 references to WithTrackingName
Microsoft.AspNetCore.Http.RequestDelegateGenerator (2)
RequestDelegateGenerator.cs (2)
40.WithTrackingName(GeneratorSteps.EndpointModelStep); 52.WithTrackingName(GeneratorSteps.EndpointsWithoutDiagnosicsStep);
Microsoft.CodeAnalysis (6)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (2)
91.WithTrackingName("compilationAndGroupedNodes_ForAttributeWithMetadataName"); 133}).WithTrackingName("result_ForAttributeWithMetadataName");
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (4)
67.WithTrackingName("compilationUnit_ForAttribute"); 73.WithTrackingName("individualFileGlobalAliases_ForAttribute"); 105.WithTrackingName("compilationUnitAndGlobalAliases_ForAttribute"); 110.WithTrackingName("result_ForAttributeInternal");
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)
GenerateFileForEachAdditionalFileWithContentsCommented.cs (1)
20context.RegisterSourceOutput(context.AdditionalTextsProvider.Select((t, ct) => t).WithTrackingName(StepName), (context, additionalText) =>
Microsoft.Interop.ComInterfaceGenerator (3)
VtableIndexStubGenerator.cs (3)
76.WithTrackingName(StepNames.CalculateStubInformation); 85.WithTrackingName(StepNames.GenerateManagedToNativeStub); 102.WithTrackingName(StepNames.GenerateNativeToManagedStub);
Microsoft.Interop.JavaScript.JSImportGenerator (4)
JSExportGenerator.cs (2)
86.WithTrackingName(StepNames.CalculateStubInformation) 91.WithTrackingName(StepNames.GenerateSingleStub);
JSImportGenerator.cs (2)
84.WithTrackingName(StepNames.CalculateStubInformation) 89.WithTrackingName(StepNames.GenerateSingleStub);
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
99.WithTrackingName(StepNames.CalculateStubInformation) 105.WithTrackingName(StepNames.GenerateSingleStub);
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
DownlevelLibraryImportGenerator.cs (2)
76.WithTrackingName(StepNames.CalculateStubInformation) 81.WithTrackingName(StepNames.GenerateSingleStub);
Microsoft.Maui.Controls.BindingSourceGen (2)
BindingSourceGenerator.cs (2)
22 .WithTrackingName(TrackingNames.BindingsWithDiagnostics); 35 .WithTrackingName(TrackingNames.Bindings);
Microsoft.Maui.Controls.SourceGen (4)
CodeBehindGenerator.cs (4)
45 .WithTrackingName(TrackingNames.ProjectItemProvider); 50 .WithTrackingName(TrackingNames.XamlProjectItemProvider); 54 .WithTrackingName(TrackingNames.CssProjectItemProvider); 74 .WithTrackingName(TrackingNames.XamlSourceProvider);