Skip to content

Commit

Permalink
[tests][linker] Re-enable the metadata reducer test case for dotnet
Browse files Browse the repository at this point in the history
It's been enabled (on dotnet side) for a while, even in debug.

Fix #9612
  • Loading branch information
Sebastien Pouliot committed Aug 10, 2021
1 parent a20d417 commit c90b90a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/linker/ios/link sdk/ReflectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ public void MethodWithParameters (string firstParameter, int secondParameter)
{
}

#if NET
[Ignore ("Metadata reduction not implemented yet: https://github.com/xamarin/xamarin-macios/issues/9612")]
#endif
[Test]
public void ParameterInfoName ()
{
Expand All @@ -28,7 +25,8 @@ public void ParameterInfoName ()

var mi = this.GetType ().GetMethod ("MethodWithParameters");
var p = mi.GetParameters ();
#if DEBUG
#if DEBUG && !NET
// dotnet has adopted (and adapted) the metadata reducer and runs it on it's own conditions
var optimized = false;
#else
var optimized = TestRuntime.IsLinkAll;
Expand Down

0 comments on commit c90b90a

Please # to comment.