20 references to TargetFrameworkMonikers
Microsoft.Build.Engine.UnitTests (3)
BuildEnvironmentHelper_Tests.cs (3)
353[ActiveIssue("https://github.com/dotnet/msbuild/issues/7552", TargetFrameworkMonikers.Any)] 371[ActiveIssue("https://github.com/dotnet/msbuild/issues/7552", TargetFrameworkMonikers.Any)] 385[ActiveIssue("https://github.com/dotnet/msbuild/issues/7552", TargetFrameworkMonikers.Any)]
Microsoft.DotNet.XUnitExtensions (16)
Attributes\ActiveIssueAttribute.cs (3)
20public ActiveIssueAttribute(string issue, TargetFrameworkMonikers framework) { } 22public ActiveIssueAttribute(string issue, TestPlatforms platforms = TestPlatforms.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any, TestRuntimes runtimes = TestRuntimes.Any) { }
Attributes\OuterLoopAttribute.cs (3)
22public OuterLoopAttribute(string reason, TargetFrameworkMonikers framework) { } 24public OuterLoopAttribute(string reason, TestPlatforms platforms = TestPlatforms.Any, TargetFrameworkMonikers framework = TargetFrameworkMonikers.Any, TestRuntimes runtimes = TestRuntimes.Any) { }
Attributes\SkipOnTargetFrameworkAttribute.cs (1)
16public SkipOnTargetFrameworkAttribute(TargetFrameworkMonikers platform, string reason = null) { }
DiscovererHelpers.cs (7)
42public static bool TestFrameworkApplies(TargetFrameworkMonikers frameworks) => 43(frameworks.HasFlag(TargetFrameworkMonikers.Netcoreapp) && IsRunningOnNetCoreApp) || 44(frameworks.HasFlag(TargetFrameworkMonikers.NetFramework) && IsRunningOnNetFramework); 70TargetFrameworkMonikers frameworks = TargetFrameworkMonikers.Any; 81else if (arg is TargetFrameworkMonikers) 83frameworks = (TargetFrameworkMonikers)arg;
Discoverers\SkipOnTargetFrameworkDiscoverer.cs (2)
26TargetFrameworkMonikers frameworks = (TargetFrameworkMonikers)traitAttribute.GetConstructorArguments().First();
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\ApplicationBaseTests.cs (1)
76[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Different entry assembly")]