Skip to content

Commit 606796c

Browse files
committed
[tests] Fix the ParameterInfoName test according to recent linker changes.
See: dotnet/runtime#105714
1 parent 385c65b commit 606796c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/linker/ios/link sdk/ReflectionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void ParameterInfoName ()
2525

2626
var mi = GetType ().Assembly.GetType ("Linker.Shared.Reflection.ReflectionTestClass").GetMethod ("MethodWithParameters");
2727
var p = mi.GetParameters ();
28-
#if DEBUG && !NET
28+
#if DEBUG
2929
// dotnet has adopted (and adapted) the metadata reducer and runs it on it's own conditions
3030
var optimized = false;
3131
#else

0 commit comments

Comments
 (0)