switch (this.<>1__state)
{
case 0:
this.<>1__state = -1;
this.<type>5__19 = this.<>4__this.TargetType;
if (this.<type>5__19.GetCustomAttributes(typeof(HasSelfValidationAttribute), false).Length != 0)
{
this.<>1__state = 1;
this.<>7__wrap1f = this.<type>5__19.GetMethods(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
this.<>7__wrap20 = 0;
while (this.<>7__wrap20 < this.<>7__wrap1f.Length)
{
this.<methodInfo>5__1a = this.<>7__wrap1f[this.<>7__wrap20];
this.<hasReturnType>5__1b = this.<methodInfo>5__1a.ReturnType != typeof(void);
this.<parameters>5__1c = this.<methodInfo>5__1a.GetParameters();
if ((!this.<hasReturnType>5__1b && (this.<parameters>5__1c.Length == 1)) && (this.<parameters>5__1c[0].ParameterType == typeof(ValidationResults)))
{
this.<>1__state = 2;
this.<>7__wrap22 = this.<methodInfo>5__1a.GetCustomAttributes(typeof(SelfValidationAttribute), false);
this.<>7__wrap23 = 0;
while (this.<>7__wrap23 < this.<>7__wrap22.Length)
{
case 0:
this.<>1__state = -1;
this.<type>5__19 = this.<>4__this.TargetType;
if (this.<type>5__19.GetCustomAttributes(typeof(HasSelfValidationAttribute), false).Length != 0)
{
this.<>1__state = 1;
this.<>7__wrap1f = this.<type>5__19.GetMethods(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
this.<>7__wrap20 = 0;
while (this.<>7__wrap20 < this.<>7__wrap1f.Length)
{
this.<methodInfo>5__1a = this.<>7__wrap1f[this.<>7__wrap20];
this.<hasReturnType>5__1b = this.<methodInfo>5__1a.ReturnType != typeof(void);
this.<parameters>5__1c = this.<methodInfo>5__1a.GetParameters();
if ((!this.<hasReturnType>5__1b && (this.<parameters>5__1c.Length == 1)) && (this.<parameters>5__1c[0].ParameterType == typeof(ValidationResults)))
{
this.<>1__state = 2;
this.<>7__wrap22 = this.<methodInfo>5__1a.GetCustomAttributes(typeof(SelfValidationAttribute), false);
this.<>7__wrap23 = 0;
while (this.<>7__wrap23 < this.<>7__wrap22.Length)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货