We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70b2c2 commit 20dcfaaCopy full SHA for 20dcfaa
README.md
@@ -121,8 +121,8 @@ var type = SourceReflector.GetType(typeof(TestEnum));
121
Assert.IsTrue(type.IsEnum);
122
Assert.AreEqual("A", type.DeclaredFields[0].Name);
123
Assert.AreEqual("B", type.DeclaredFields[1].Name);
124
-Assert.AreEqual(0, type.DeclaredFields[0].GetValue(null));
125
-Assert.AreEqual(1, type.DeclaredFields[1].GetValue(null));
+Assert.AreEqual(TestEnum.A, type.DeclaredFields[0].GetValue(null));
+Assert.AreEqual(TestEnum.B, type.DeclaredFields[1].GetValue(null));
126
```
127
128
## Array
0 commit comments