3696 {
3698 {
3700 }
3702 {
3704 }
3706 {
3709 {
3711 }
3712 }
3714 {
3716 {
3718 {
3720 }
3721 }
3723 {
3725 }
3726 }
3727 if (target != null && target.GetType().IsCOMObject)
3728 {
3730 {
3732 }
3734 {
3736 }
3738 {
3740 }
3742 {
3744 }
3746 {
3748 }
3750 {
3752 }
3753 if (name == null)
3754 {
3755 throw new ArgumentNullException("name");
3756 }
3760 try
3761 {
3763 }
3765 {
3766 throw ex.InnerException;
3767 }
3768 }
3770 {
3772 }
3775 {
3777 }
3779 {
3781 {
3783 }
3785 }
3787 {
3789 }
3790 if (name == null)
3791 {
3792 throw new ArgumentNullException("name");
3793 }
3794 if (
name.Length == 0 ||
name.Equals(
"[DISPID=0]"))
3795 {
3797 }
3801 {
3803 {
3805 {
3807 }
3809 {
3811 }
3812 }
3813 else
3814 {
3816 {
3817 throw new ArgumentNullException("providedArgs");
3818 }
3820 {
3822 }
3824 {
3826 }
3827 }
3830 if (
array.Length == 1)
3831 {
3833 }
3834 else if (
array.Length != 0)
3835 {
3837 }
3839 {
3841 {
3844 {
3846 for (
int i = 0;
i <
num2;
i++)
3847 {
3848 try
3849 {
3851 }
3852 catch (InvalidCastException)
3853 {
3855 }
3856 }
3859 {
3861 }
3863 return null;
3864 }
3865 }
3867 {
3868 if (num != 0)
3869 {
3871 }
3873 }
3874 if (num != 1)
3875 {
3877 }
3879 return null;
3880 }
3882 {
3883 throw new MissingFieldException(
FullName, name);
3884 }
3885 }
3889 {
3891 {
3893 {
3895 }
3896 }
3898 {
3900 }
3901 }
3905 {
3909 {
3911 {
3912 continue;
3913 }
3915 {
3917 continue;
3918 }
3920 {
3922 }
3924 }
3926 {
3928 }
3929 }
3931 {
3935 {
3939 {
3940 continue;
3941 }
3943 {
3945 continue;
3946 }
3948 {
3950 }
3952 }
3954 {
3956 }
3957 }
3959 {
3961 {
3963 }
3965 {
3967 }
3969 {
3971 }
3972 object state =
null;
3974 try
3975 {
3980 }
3981 catch (MissingMethodException)
3982 {
3983 }
3985 {
3986 throw new MissingMethodException(
FullName, name);
3987 }
3990 {
3992 }
3993 return result;
3994 }
3995 throw new MissingMethodException(
FullName, name);
3996 }
void Add(TKey key, TValue value)
string GetDefaultMemberName()
static bool FilterApplyMethodInfo(RuntimeMethodInfo method, BindingFlags bindingFlags, CallingConventions callConv, Type[] argumentTypes)
override MemberInfo[] GetMember(string name, MemberTypes type, BindingFlags bindingAttr)
override bool IsGenericParameter
object InvokeDispMethod(string name, BindingFlags invokeAttr, object target, object[] args, bool[] byrefModifiers, int culture, string[] namedParameters)
@ InvalidOperationException