3 instantiations of BuildCheckRuleTelemetryData
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckWrapper.cs (1)
56
ruleTelemetryData[idx++] = new
BuildCheckRuleTelemetryData
(
Microsoft.Build.Framework.UnitTests (2)
BuildCheckTracingEventArgs_Tests.cs (2)
30
BuildCheckRuleTelemetryData ruleData1 =
new
("id1", "name1", true, DiagnosticSeverity.Suggestion,
34
BuildCheckRuleTelemetryData ruleData2 =
new
("id2", "name2", false, DiagnosticSeverity.Error,
24 references to BuildCheckRuleTelemetryData
Microsoft.Build (8)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (1)
474
private readonly List<
BuildCheckRuleTelemetryData
> _ruleTelemetryData = [];
BuildCheck\Infrastructure\CheckWrapper.cs (7)
18
private readonly
BuildCheckRuleTelemetryData
[] _ruleTelemetryData;
46
_ruleTelemetryData = new
BuildCheckRuleTelemetryData
[check.SupportedRules.Count];
51
private static void InitializeTelemetryData(
BuildCheckRuleTelemetryData
[] ruleTelemetryData, Check check)
86
foreach (
BuildCheckRuleTelemetryData
ruleTelemetryData in _ruleTelemetryData)
122
BuildCheckRuleTelemetryData
? telemetryData =
184
internal IReadOnlyList<
BuildCheckRuleTelemetryData
> GetRuleTelemetryData()
186
foreach (
BuildCheckRuleTelemetryData
ruleTelemetryData in _ruleTelemetryData)
Microsoft.Build.Framework (14)
BuildCheck\BuildCheckEventArgs.cs (4)
57
foreach (
BuildCheckRuleTelemetryData
data in TracingData.TelemetryData.Values)
96
List<
BuildCheckRuleTelemetryData
> tracingData = new List<
BuildCheckRuleTelemetryData
>(count);
123
BuildCheckRuleTelemetryData
data = new BuildCheckRuleTelemetryData(
BuildCheck\BuildCheckRuleTelemetryData.cs (3)
46
public static
BuildCheckRuleTelemetryData
Merge(
47
BuildCheckRuleTelemetryData
data1,
48
BuildCheckRuleTelemetryData
data2)
BuildCheck\BuildCheckTracingData.cs (6)
18
Dictionary<string,
BuildCheckRuleTelemetryData
> telemetryData,
21
public BuildCheckTracingData(IReadOnlyList<
BuildCheckRuleTelemetryData
> telemetryData, Dictionary<string, TimeSpan> infrastructureTracingData)
26
: this(new Dictionary<string,
BuildCheckRuleTelemetryData
>(), [])
30
: this(new Dictionary<string,
BuildCheckRuleTelemetryData
>(), executionData)
33
public Dictionary<string,
BuildCheckRuleTelemetryData
> TelemetryData { get; private set; } = telemetryData;
49
TelemetryData.Merge(other.TelemetryData,
BuildCheckRuleTelemetryData
.Merge);
Telemetry\BuildCheckTelemetry.cs (1)
62
foreach (
BuildCheckRuleTelemetryData
buildCheckRuleTelemetryData in data.TelemetryData.Values)
Microsoft.Build.Framework.UnitTests (2)
BuildCheckTracingEventArgs_Tests.cs (2)
30
BuildCheckRuleTelemetryData
ruleData1 = new("id1", "name1", true, DiagnosticSeverity.Suggestion,
34
BuildCheckRuleTelemetryData
ruleData2 = new("id2", "name2", false, DiagnosticSeverity.Error,