Skip to content

Commit

Permalink
Skip dynamic method local var type resolution test for unsupported pl…
Browse files Browse the repository at this point in the history
…atforms.
  • Loading branch information
Washi1337 committed Nov 19, 2023
1 parent 6e039b9 commit d2f8ec7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ public void ReadDynamicMethodInitializedByDynamicILInfoWithTokens()
Assert.Equal("WriteLine", reference.Name);
}

[Fact]
[SkippableFact]
public void ReadDynamicMethodInitializedByDynamicILInfoWithLocals()
{
Skip.IfNot(DynamicTypeSignatureResolver.IsSupported, "Current platform does not support dynamic type resolution.");

// Create new dynamic method.
var method = new DynamicMethod("Test", typeof(void), Type.EmptyTypes);
var info = method.GetDynamicILInfo();
Expand Down

0 comments on commit d2f8ec7

Please sign in to comment.