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