コード例 #1
0
ファイル: MethodInfo.cs プロジェクト: zhichengzhu/coreclr
#pragma warning restore 618
#endif
        public override MethodBody GetMethodBody()
        {
            MethodBody mb = RuntimeMethodHandle.GetMethodBody(this, ReflectedTypeInternal);
            if (mb != null) 
                mb.m_methodBase = this;
            return mb;
        }        
コード例 #2
0
        public override MethodBody GetMethodBody()
        {
            RuntimeMethodBody mb = RuntimeMethodHandle.GetMethodBody(this, ReflectedTypeInternal);

            if (mb != null)
            {
                mb._methodBase = this;
            }
            return(mb);
        }
コード例 #3
0
        public override MethodBody GetMethodBody()
        {
            MethodBody methodBody = RuntimeMethodHandle.GetMethodBody(this, this.m_reflectedTypeCache.RuntimeType);

            if (methodBody != null)
            {
                methodBody.m_methodBase = this;
            }
            return(methodBody);
        }
コード例 #4
0
        public override MethodBody GetMethodBody()
        {
            MethodBody methodBody = RuntimeMethodHandle.GetMethodBody(this, this.ReflectedTypeInternal);

            if (methodBody != null)
            {
                methodBody.m_methodBase = this;
            }
            return(methodBody);
        }