/// <summary> /// Creates a new instance of this attribute. /// </summary> /// <param name="aliasedMemberName">Optionally, the member to be aliased. /// If not specified, the name of the current member is used.</param> /// <param name="aliasedMemberDeclaringType">The declaring type of the member. If not specified, the modified type is used.</param> /// <param name="callMode">Specifies whether calls to this alias should be translated in some special way.</param> public MemberAliasAttribute(string aliasedMemberName = null, object aliasedMemberDeclaringType = null, AliasCallMode callMode = AliasCallMode.NoChange) : base(ModificationScope.Nothing) { AliasedMemberName = aliasedMemberName; AliasedMemberDeclaringType = aliasedMemberDeclaringType; CallMode = callMode; }