GetTypeByNameUsingCARules() static private method

static private GetTypeByNameUsingCARules ( string name, Module scope ) : Type
name string
scope Module
return Type
Beispiel #1
0
        internal static RuntimeType GetTypeByNameUsingCARules(string name, RuntimeModule scope)
        {
            if (name == null || name.Length == 0)
            {
                throw new ArgumentException("name");
            }
            RuntimeType o = (RuntimeType)null;

            RuntimeTypeHandle.GetTypeByNameUsingCARules(name, scope.GetNativeHandle(), JitHelpers.GetObjectHandleOnStack <RuntimeType>(ref o));
            return(o);
        }