Skip to content

Commit

Permalink
Fixed malformed Test case
Browse files Browse the repository at this point in the history
  • Loading branch information
liiir1985 committed Jul 7, 2022
1 parent f557c88 commit 244d0fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TestCases/ReflectionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public static void ReflectionTest04()

public static void ReflectionTest05()
{
var fi = typeof(TestCls).GetField("aa");
var fi2 = typeof(TestCls).GetField("bb");
var fi = typeof(TestCls).GetField("aa", BindingFlags.NonPublic | BindingFlags.Instance);
var fi2 = typeof(TestCls).GetField("bb", BindingFlags.NonPublic | BindingFlags.Static);

var a = new TestCls();

Expand Down

0 comments on commit 244d0fc

Please sign in to comment.