43 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"); 2699ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((t, _) => t.Path).WithTrackingName("Paths"), (spc, p) => { }); 2885var paths = texts.Select((t, _) => t?.Path).WithTrackingName("Path"); 2886var contents = texts.Select((t, ct) => t?.GetText(ct)?.ToString()).WithTrackingName("Content"); 3139ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).WithTrackingName("Syntax"), (context, ct) => { }); 3269ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).WithTrackingName("Syntax"), (context, ct) => { }); 4042.WithTrackingName("MyTransformNode");
SourceGeneration\SyntaxAwareGeneratorTests.cs (14)
1015var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields"); 1090var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields"); 1222var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields"); 1305var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Fields"); 1388(c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).WithTrackingName("Syntax") 1389.Select((s, ct) => s).WithTrackingName("Fields"); 1511source = source.WithComparer(new LambdaComparer<string>((a, b) => true)).WithTrackingName("Fields"); 1678}).WithTrackingName("Fields"); 1680context.RegisterSourceOutput(source.Select((s, ct) => $"Output1_{s}").WithTrackingName("Output"), (spc, fieldName) => 1684context.RegisterSourceOutput(source.Select((s, ct) => $"Output2_{s}").WithTrackingName("Output"), (spc, fieldName) => 1737}).WithTrackingName("Fields"); 1743context.RegisterSourceOutput(source2.Select((value, ct) => value.Left.Left.Left).WithTrackingName("Output"), (spc, output) => 1790}).WithTrackingName("Fields"); 1796context.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);