public void Test007() { var member = new MemberReflection(); var result = member.IsReadOnly(typeof(Dummy02).GetMember("ReadonlyField")[0]); Assert.IsTrue(result); }
public void Test011() { var member = new MemberReflection(); var result = member.IsReadOnly(typeof(string).GetMethod("Trim", new Type[] { })); Assert.IsTrue(result); }
public void Test012() { var member = new MemberReflection(); var result = member.IsReadOnly(typeof(string).GetConstructors()[0]); Assert.IsTrue(result); }
public void Test010() { var member = new MemberReflection(); var result = member.IsReadOnly(typeof(Dummy02).GetMember("MutableProperty")[0]); Assert.IsFalse(result); }