29 references to Telemetry
BuildActionTelemetryTable (1)
src\Workspaces\Core\Portable\Shared\Extensions\TelemetryExtensions.cs (1)
56
if (diagnostic.Descriptor.ImmutableCustomTags().Any(static t => t == WellKnownDiagnosticTags.
Telemetry
))
Microsoft.CodeAnalysis (3)
Diagnostic\DiagnosticInfo.cs (2)
36
private static readonly ImmutableArray<string> s_compilerErrorCustomTags = ImmutableArray.Create(WellKnownDiagnosticTags.Compiler, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable);
37
private static readonly ImmutableArray<string> s_compilerNonErrorCustomTags = ImmutableArray.Create(WellKnownDiagnosticTags.Compiler, WellKnownDiagnosticTags.
Telemetry
);
Diagnostic\WellKnownDiagnosticTags.cs (1)
34
public const string Telemetry = nameof(
Telemetry
);
Microsoft.CodeAnalysis.CodeStyle (10)
src\Analyzers\Core\Analyzers\DiagnosticCustomTags.cs (10)
17
private static readonly string[] s_microsoftCustomTags = [WellKnownDiagnosticTags.
Telemetry
];
18
private static readonly string[] s_editAndContinueCustomTags = [WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag];
19
private static readonly string[] s_unnecessaryCustomTags = [WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
];
20
private static readonly string[] s_notConfigurableCustomTags = [WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
];
21
private static readonly string[] s_unnecessaryAndNotConfigurableCustomTags = [WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
];
27
Assert(s_microsoftCustomTags, WellKnownDiagnosticTags.
Telemetry
);
36
Assert(s_editAndContinueCustomTags, WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag);
45
Assert(s_unnecessaryCustomTags, WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
);
54
Assert(s_notConfigurableCustomTags, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
);
63
Assert(s_unnecessaryAndNotConfigurableCustomTags, WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
);
Microsoft.CodeAnalysis.Features (10)
src\Analyzers\Core\Analyzers\DiagnosticCustomTags.cs (10)
17
private static readonly string[] s_microsoftCustomTags = [WellKnownDiagnosticTags.
Telemetry
];
18
private static readonly string[] s_editAndContinueCustomTags = [WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag];
19
private static readonly string[] s_unnecessaryCustomTags = [WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
];
20
private static readonly string[] s_notConfigurableCustomTags = [WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
];
21
private static readonly string[] s_unnecessaryAndNotConfigurableCustomTags = [WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
];
27
Assert(s_microsoftCustomTags, WellKnownDiagnosticTags.
Telemetry
);
36
Assert(s_editAndContinueCustomTags, WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag);
45
Assert(s_unnecessaryCustomTags, WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
);
54
Assert(s_notConfigurableCustomTags, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
);
63
Assert(s_unnecessaryAndNotConfigurableCustomTags, WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
);
Microsoft.CodeAnalysis.Workspaces (2)
Diagnostics\DiagnosticAnalyzerInfoCache.cs (1)
185
descriptors.Length > 0 && descriptors[0].ImmutableCustomTags().Any(static t => t == WellKnownDiagnosticTags.
Telemetry
);
Shared\Extensions\TelemetryExtensions.cs (1)
56
if (diagnostic.Descriptor.ImmutableCustomTags().Any(static t => t == WellKnownDiagnosticTags.
Telemetry
))
Microsoft.VisualStudio.LanguageServices (3)
PreviewPane\PreviewPaneService.cs (1)
105
logIdVerbatimInTelemetry: data.CustomTags.Contains(WellKnownDiagnosticTags.
Telemetry
),
TaskList\ProjectExternalErrorReporter.cs (2)
32
internal static readonly ImmutableArray<string> CustomTags = [WellKnownDiagnosticTags.
Telemetry
];
33
internal static readonly ImmutableArray<string> CompilerDiagnosticCustomTags = [WellKnownDiagnosticTags.Compiler, WellKnownDiagnosticTags.
Telemetry
];