30 references to Telemetry
BuildActionTelemetryTable (1)
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)
DiagnosticCustomTags.cs (10)
17
private static readonly string[] s_microsoftCustomTags = new string[] { WellKnownDiagnosticTags.
Telemetry
};
18
private static readonly string[] s_editAndContinueCustomTags = new string[] { WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag };
19
private static readonly string[] s_unnecessaryCustomTags = new string[] { WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
};
20
private static readonly string[] s_notConfigurableCustomTags = new string[] { WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
};
21
private static readonly string[] s_unnecessaryAndNotConfigurableCustomTags = new string[] { 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)
DiagnosticCustomTags.cs (10)
17
private static readonly string[] s_microsoftCustomTags = new string[] { WellKnownDiagnosticTags.
Telemetry
};
18
private static readonly string[] s_editAndContinueCustomTags = new string[] { WellKnownDiagnosticTags.EditAndContinue, WellKnownDiagnosticTags.
Telemetry
, WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag };
19
private static readonly string[] s_unnecessaryCustomTags = new string[] { WellKnownDiagnosticTags.Unnecessary, WellKnownDiagnosticTags.
Telemetry
};
20
private static readonly string[] s_notConfigurableCustomTags = new string[] { WellKnownDiagnosticTags.NotConfigurable, s_enforceOnBuildNeverTag, WellKnownDiagnosticTags.
Telemetry
};
21
private static readonly string[] s_unnecessaryAndNotConfigurableCustomTags = new string[] { 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)
139
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)
111
logIdVerbatimInTelemetry: data.CustomTags.Contains(WellKnownDiagnosticTags.
Telemetry
),
TaskList\ProjectExternalErrorReporter.cs (2)
32
internal static readonly ImmutableArray<string> CustomTags = ImmutableArray.Create(WellKnownDiagnosticTags.
Telemetry
);
33
internal static readonly ImmutableArray<string> CompilerDiagnosticCustomTags = ImmutableArray.Create(WellKnownDiagnosticTags.Compiler, WellKnownDiagnosticTags.
Telemetry
);
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
Diagnostics\ExternalDiagnosticUpdateSourceTests.vb (1)
186
Assert.Equal(WellKnownDiagnosticTags.
Telemetry
, ProjectExternalErrorReporter.CustomTags(0))