3 instantiations of BuildCheckRuleTelemetryData
Microsoft.Build (1)
BuildCheck\Infrastructure\CheckWrapper.cs (1)
56ruleTelemetryData[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)
474private readonly List<BuildCheckRuleTelemetryData> _ruleTelemetryData = [];
BuildCheck\Infrastructure\CheckWrapper.cs (7)
18private readonly BuildCheckRuleTelemetryData[] _ruleTelemetryData; 46_ruleTelemetryData = new BuildCheckRuleTelemetryData[check.SupportedRules.Count]; 51private static void InitializeTelemetryData(BuildCheckRuleTelemetryData[] ruleTelemetryData, Check check) 86foreach (BuildCheckRuleTelemetryData ruleTelemetryData in _ruleTelemetryData) 122BuildCheckRuleTelemetryData? telemetryData = 184internal IReadOnlyList<BuildCheckRuleTelemetryData> GetRuleTelemetryData() 186foreach (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,