getenuemrator() メソッドがクラスで定義されていないというエラーがあるコードを見つけてください
private sealed class SelfAndBaseClasses : IEnumerable<Type>, IEnumerator<Type>, IEnumerable, IEnumerator, IDisposable
{
private int state;
private Type current;
public Type type;
private int initialThreadId;
//public Type type;
[DebuggerHidden]
public SelfAndBaseClasses(int state)
{
this.state = state;
this.initialThreadId = Thread.CurrentThread.ManagedThreadId;
}
private bool MoveNext()
{
switch (this.state)
{
case 0:
this.state = -1;
break;
case 1:
this.state = -1;
this.type = this.type.BaseType;
break;
default:
goto Label_0055;
}
if (this.type != null)
{
this.current = this.type;
this.state = 1;
return true;
}
Label_0055:
return false;
}
[DebuggerHidden]
IEnumerator<Type> IEnumerable<Type>.GetEnumerator()
{
ExpressionParser.SelfAndBaseClasses d;
if ((Thread.CurrentThread.ManagedThreadId == this.initialThreadId) && (this.state == -2))
{
this.state = 0;
d = this;
}
else
{
d = new ExpressionParser.SelfAndBaseClasses(0);
}
d.type = this.type;
return d;
}
[DebuggerHidden]
IEnumerator IEnumerable.GetEnumerator()
{
return this.System.Collections.Generic.IEnumerable<System.Type>.GetEnumerator();
}
[DebuggerHidden]
void IEnumerator.Reset()
{
throw new NotSupportedException();
}
void IDisposable.Dispose()
{
}
Type IEnumerator<Type>.Current
{
[DebuggerHidden]
get
{
return this.current;
}
}
object IEnumerator.Current
{
[DebuggerHidden]
get
{
return this.current;
}
}
}