{
[Theory]
[MemberData(nameof(RefReturnInvokeTestData))]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static void TestRefReturnPropertyGetValue<T>(T value)
{
TestRefReturnInvoke<T>(value, (p, t) => p.GetValue(t));
[Theory]
[MemberData(nameof(RefReturnInvokeTestData))]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static void TestRefReturnMethodInvoke<T>(T value)
{
TestRefReturnInvoke<T>(value, (p, t) => p.GetGetMethod().Invoke(t, Array.Empty<object>()));
}
[Fact]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static void TestRefReturnNullable()
{
TestRefReturnInvokeNullable<int>(42);
}
[Fact]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static void TestRefReturnNullableNoValue()
{
TestRefReturnInvokeNullable<int>(default(int?));
[Theory]
[MemberData(nameof(RefReturnInvokeTestData))]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static void TestNullRefReturnInvoke<T>(T value)
{
TestClass<T> tc = new TestClass<T>(value);
}
[Fact]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static unsafe void TestRefReturnOfPointer()
{
int* expected = (int*)0x1122334455667788;
}
[Fact]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static unsafe void TestNullRefReturnOfPointer()
{
TestClassIntPointer tc = new TestClassIntPointer(null);
}
[Fact]
- [ActiveIssue("TFS 603305 - Bring Project N up to sync", TargetFrameworkMonikers.UapAot)]
public static unsafe void TestByRefLikeRefReturn()
{
ByRefLike brl = new ByRefLike();