public override MemberRef PrimSubstitute(IImSeq <TypeRef> typeBoundArguments, IImSeq <TypeRef> methodBoundArguments) { var methodTypeArguments = default(Seq <TypeRef>); if (MethodTypeArguments.Count > 0) { methodTypeArguments = MethodTypeArguments.Select(type => type.PrimSubstitute(typeBoundArguments, methodBoundArguments)). ToSeq(); } return(new MethodRef (Annotations, DefiningType.PrimSubstitute(typeBoundArguments, methodBoundArguments), signature, methodTypeArguments)); }
public override MemberRef PrimSubstitute(IImSeq <TypeRef> typeBoundArguments, IImSeq <TypeRef> methodBoundArguments) { return(new EventRef(Annotations, DefiningType.PrimSubstitute(typeBoundArguments, methodBoundArguments), signature)); }