50 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)
1784
ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((at, ct) => at).
WithTrackingName
("AdditionalTextsTransform"), (spc, at) => { });
2327
.
WithTrackingName
("Select");
2442
.Select((c, ct) => c).
WithTrackingName
("Classes");
2837
ctx.RegisterSourceOutput(ctx.AdditionalTextsProvider.Select((t, _) => t.Path).
WithTrackingName
("Paths"), (spc, p) => { });
3023
var paths = texts.Select((t, _) => t?.Path).
WithTrackingName
("Path");
3024
var contents = texts.Select((t, ct) => t?.GetText(ct)?.ToString()).
WithTrackingName
("Content");
3281
ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).
WithTrackingName
("Syntax"), (context, ct) => { });
3415
ctx.RegisterSourceOutput(ctx.SyntaxProvider.CreateSyntaxProvider((node, ct) => node is ClassDeclarationSyntax c, (context, ct) => context.Node).
WithTrackingName
("Syntax"), (context, ct) => { });
4188
.
WithTrackingName
("MyTransformNode");
SourceGeneration\SyntaxAwareGeneratorTests.cs (14)
1016
var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).
WithTrackingName
("Fields");
1091
var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).
WithTrackingName
("Fields");
1223
var source = context.SyntaxProvider.CreateSyntaxProvider((c, _) => c is FieldDeclarationSyntax fds, (c, _) => ((FieldDeclarationSyntax)c.Node).Declaration.Variables[0].Identifier.ValueText).
WithTrackingName
("Fields");
1306
var 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");
1516
source = source.WithComparer(new LambdaComparer<string>((a, b) => true)).
WithTrackingName
("Fields");
1683
}).
WithTrackingName
("Fields");
1685
context.RegisterSourceOutput(source.Select((s, ct) => $"Output1_{s}").
WithTrackingName
("Output"), (spc, fieldName) =>
1689
context.RegisterSourceOutput(source.Select((s, ct) => $"Output2_{s}").
WithTrackingName
("Output"), (spc, fieldName) =>
1742
}).
WithTrackingName
("Fields");
1748
context.RegisterSourceOutput(source2.Select((value, ct) => value.Left.Left.Left).
WithTrackingName
("Output"), (spc, output) =>
1795
}).
WithTrackingName
("Fields");
1801
context.RegisterSourceOutput(joinedSource.Select((value, ct) => value.Left).
WithTrackingName
("Output"), (spc, fieldName) =>
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
GenerateFileForEachAdditionalFileWithContentsCommented.cs (1)
20
context.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);
System.Text.Json.SourceGeneration (1)
JsonSourceGenerator.Roslyn4.0.cs (1)
51
.
WithTrackingName
(SourceGenerationSpecTrackingName)