Beispiel #1
0
        static public ConstructorInfo GetNativeConstructorInfo(this ConstructorBuilder item)
        {
            if (item.IsCreated())
            {
                return(item.DeclaringType
                       .GetNativeInstanceConstructors()
                       .FindOnly(m => m.MetadataToken == item.GetToken().Token));
            }

            return(item);
        }