public ICLRType GetNestType(ICLRSharp_Environment env, string fullname) { foreach (var stype in type_CLRSharp.NestedTypes) { if (stype.Name == fullname) { var itype = new Type_Common_CLRSharp(env, stype); env.RegType(itype); return(itype); } } return(null); }
public ICLRType GetNestType(ICLRSharp_Environment env, string fullname) { ICLRType result; foreach (TypeDefinition current in this.type_CLRSharp.NestedTypes) { bool flag = current.Name == fullname; if (flag) { Type_Common_CLRSharp type_Common_CLRSharp = new Type_Common_CLRSharp(env, current); env.RegType(type_Common_CLRSharp); result = type_Common_CLRSharp; return(result); } } result = null; return(result); }
public ICLRType GetNestType(ICLRSharp_Environment env, string fullname) { { // foreach(var stype in type_CLRSharp.NestedTypes) var __enumerator11 = (type_CLRSharp.NestedTypes).GetEnumerator(); while (__enumerator11.MoveNext()) { var stype = __enumerator11.Current; { if (stype.Name == fullname) { var itype = new Type_Common_CLRSharp(env, stype); env.RegType(itype); return(itype); } } } } return(null); }
public ICLRType GetNestType(ICLRSharp_Environment env, string fullname) { foreach (var stype in type_CLRSharp.NestedTypes) { if (stype.Name == fullname) { var itype = new Type_Common_CLRSharp(env, stype); env.RegType(itype); return itype; } } return null; }