internal static RuntimeNamedMethodInfo <TRuntimeMethodCommon> GetRuntimeNamedMethodInfo(TRuntimeMethodCommon common, RuntimeTypeInfo reflectedType) { RuntimeNamedMethodInfo <TRuntimeMethodCommon> method = new RuntimeNamedMethodInfo <TRuntimeMethodCommon>(common, reflectedType); method.WithDebugName(); return(method); }
internal static RuntimeNamedMethodInfo GetRuntimeNamedMethodInfo(MethodHandle methodHandle, RuntimeNamedTypeInfo definingTypeInfo, RuntimeTypeInfo contextTypeInfo) { RuntimeNamedMethodInfo method = new RuntimeNamedMethodInfo(methodHandle, definingTypeInfo, contextTypeInfo); method.WithDebugName(); return(method); }
public sealed override bool Equals(Object obj) { RuntimeNamedMethodInfo other = obj as RuntimeNamedMethodInfo; if (other == null) return false; return this._common.Equals(other._common); }
public sealed override bool Equals(Object obj) { RuntimeNamedMethodInfo other = obj as RuntimeNamedMethodInfo; if (other == null) { return(false); } return(_common.Equals(other._common)); }
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); }
internal static RuntimeMethodInfo GetRuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeType[] genericTypeArguments) { return(new RuntimeConstructedGenericMethodInfo(genericMethodDefinition, genericTypeArguments).WithDebugName()); }
private RuntimeConstructedGenericMethodInfo(RuntimeNamedMethodInfo genericMethodDefinition, RuntimeTypeInfo[] genericTypeArguments) { _genericMethodDefinition = genericMethodDefinition; _genericTypeArguments = genericTypeArguments; }