Skip to content

Commit

Permalink
Update PinnedLocalTest approval file and skip this test on net461 and…
Browse files Browse the repository at this point in the history
… netcore2.1 (#5511)
  • Loading branch information
dudikeleti authored Apr 29, 2024
1 parent a486c1a commit 39fcc70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
"type": "PinnedLocal",
"value": "PinnedLocal"
}
},
"locals": {
"p": {
"type": "Char",
"value": "h"
}
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public void Run()
}

[MethodImpl(MethodImplOptions.NoInlining)]
[LogMethodProbeTestData]
[LogMethodProbeTestData(skipOnFrameworks: new[] { "net462", "netcoreapp2.1"})]
public unsafe void MethodWithPinnedLocal()
{
fixed (char* p = "hello")
Expand Down

0 comments on commit 39fcc70

Please sign in to comment.