17 references to DefaultBinder
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ExportServices.cs (1)
42Type.DefaultBinder,
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Reflection\FieldInfo.cs (1)
68public void SetValue(object? obj, object? value) => SetValue(obj, value, BindingFlags.Default, Type.DefaultBinder, null);
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (2)
417binder ??= DefaultBinder; 887if (binder != null && binder != DefaultBinder)
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1593field.SetValue(attribute, value, BindingFlags.Default, Type.DefaultBinder, null);
src\System\RuntimeType.CoreCLR.cs (4)
2816binder ??= DefaultBinder; 2843binder ??= DefaultBinder; 2881binder ??= DefaultBinder; 3829binder ??= DefaultBinder;
System.Reflection.Context (2)
System\Reflection\Context\Custom\CustomType.cs (2)
135binder ??= Type.DefaultBinder; 277binder ??= Type.DefaultBinder;
System.Reflection.Emit (1)
System\Reflection\Emit\TypeBuilderImpl.cs (1)
1071binder ??= DefaultBinder;
System.Security.Cryptography (3)
System\Security\Cryptography\CryptoConfig.cs (3)
467ConstructorInfo? rci = Type.DefaultBinder.BindToMethod( 483object retval = rci.Invoke(ConstructorDefault, Type.DefaultBinder, args, null); 488Type.DefaultBinder.ReorderArgumentArray(ref args, state);
System.Xaml (2)
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
141return Type.DefaultBinder.BindToMethod(
System\Xaml\XamlType.cs (1)
674MethodBase result = Type.DefaultBinder.SelectMethod(ConstructorBindingFlags, ctorArray, paramTypes, null);