We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b10284 commit 8ed2bafCopy full SHA for 8ed2baf
tests/PublicApi.cs
@@ -37,10 +37,7 @@ public TargetFrameworksTheoryData()
37
var project = XDocument.Load(csprojPath);
38
var targetFrameworks = project.XPathSelectElement("/Project/PropertyGroup/TargetFrameworks")
39
?? throw new Exception($"TargetFrameworks element not found in {csprojPath}");
40
- foreach (var targetFramework in targetFrameworks.Value.Split(';'))
41
- {
42
- Add(targetFramework);
43
- }
+ AddRange(targetFrameworks.Value.Split(';'));
44
}
45
46
0 commit comments