Skip to content

Commit

Permalink
[tests] Use the correct corlib assembly name in linkall's AttributeTest.
Browse files Browse the repository at this point in the history
Fixes this linkall test failure:

    LinkAll.Attributes.AttributeTest
        [FAIL] DebuggerTypeProxy_24203 :   proxy
            Expected: not null
            But was:  null
                at LinkAll.Attributes.AttributeTest.DebuggerTypeProxy_24203() in /Users/rolf/work/maccore/whatever/xamarin-macios/tests/linker/ios/link all/AttributeTest.cs:line 191
  • Loading branch information
rolfbjarne committed Sep 1, 2020
1 parent 8d4e40f commit 41b1f54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/linker/ios/link all/AttributeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,11 @@ static public bool Check ()
public class AttributeTest {

// Good enough to fool linker to abort the tracking
#if NET
static string mscorlib = "System.Private.CoreLib";
#else
static string mscorlib = "mscorlib";
#endif

[Test]
public void DebugAssemblyAttributes ()
Expand Down

0 comments on commit 41b1f54

Please sign in to comment.