コード例 #1
0
        internal static RuntimeNamedMethodInfo <TRuntimeMethodCommon> GetRuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType)
        {
            RuntimeNamedMethodInfo <TRuntimeMethodCommon> method = new RuntimeNamedMethodInfo <TRuntimeMethodCommon>(common, reflectedType);

            method.WithDebugName();
            return(method);
        }
コード例 #2
0
ファイル: Dispensers.cs プロジェクト: rivy/corert
        internal static RuntimeNamedMethodInfo GetRuntimeNamedMethodInfo(MethodHandle methodHandle, RuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo)
        {
            RuntimeNamedMethodInfo method = new RuntimeNamedMethodInfo(methodHandle, definingTypeInfo, contextTypeInfo);

            method.WithDebugName();
            return(method);
        }
コード例 #3
0
ファイル: RuntimeNamedMethodInfo.cs プロジェクト: rivy/corert
 public sealed override bool Equals(Object obj)
 {
     RuntimeNamedMethodInfo other = obj as RuntimeNamedMethodInfo;
     if (other == null)
         return false;
     return this._common.Equals(other._common);
 }
コード例 #4
0
        public sealed override bool Equals(Object obj)
        {
            RuntimeNamedMethodInfo other = obj as RuntimeNamedMethodInfo;

            if (other == null)
            {
                return(false);
            }
            return(_common.Equals(other._common));
        }
コード例 #5
0
        public sealed override bool Equals(Object obj)
        {
            RuntimeNamedMethodInfo other = obj as RuntimeNamedMethodInfo;

            if (other == null)
            {
                return(false);
            }
            if (!_common.Equals(other._common))
            {
                return(false);
            }
            if (!(_reflectedType.Equals(other._reflectedType)))
            {
                return(false);
            }
            return(true);
        }
コード例 #6
0
ファイル: Dispensers.cs プロジェクト: rivy/corert
 internal static RuntimeMethodInfo GetRuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeType[] genericTypeArguments)
 {
     return(new RuntimeConstructedGenericMethodInfo(genericMethodDefinition, genericTypeArguments).WithDebugName());
 }
コード例 #7
0
 private RuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments)
 {
     _genericMethodDefinition = genericMethodDefinition;
     _genericTypeArguments    = genericTypeArguments;
 }
コード例 #8
0
 private RuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments)
 {
     _genericMethodDefinition = genericMethodDefinition;
     _genericTypeArguments = genericTypeArguments;
 }