13 references to MemberAccessor
System.Text.Json (13)
System\Text\Json\Serialization\Converters\Collection\ImmutableDictionaryOfTKeyTValueConverter.cs (1)
54jsonTypeInfo.CreateObjectWithArgs = DefaultJsonTypeInfoResolver.MemberAccessor.CreateImmutableDictionaryCreateRangeDelegate<TDictionary, TKey, TValue>();
System\Text\Json\Serialization\Converters\Collection\ImmutableEnumerableOfTConverter.cs (1)
42jsonTypeInfo.CreateObjectWithArgs = DefaultJsonTypeInfoResolver.MemberAccessor.CreateImmutableEnumerableCreateRangeDelegate<TCollection, TElement>();
System\Text\Json\Serialization\Converters\Collection\ImmutableSortedDictionaryOfTKeyTValueConverter.cs (1)
54jsonTypeInfo.CreateObjectWithArgs = DefaultJsonTypeInfoResolver.MemberAccessor.CreateImmutableDictionaryCreateRangeDelegate<TDictionary, TKey, TValue>();
System\Text\Json\Serialization\Converters\Collection\StackOrQueueConverter.cs (1)
85jsonTypeInfo.AddMethodDelegate = DefaultJsonTypeInfoResolver.MemberAccessor.CreateAddMethodDelegate<TCollection>();
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Large.cs (1)
70jsonTypeInfo.CreateObjectWithArgs = DefaultJsonTypeInfoResolver.MemberAccessor.CreateParameterizedConstructor<T>(ConstructorInfo!);
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.Small.cs (1)
126jsonTypeInfo.CreateObjectWithArgs = DefaultJsonTypeInfoResolver.MemberAccessor.CreateParameterizedConstructor<T, TArg0, TArg1, TArg2, TArg3>(ConstructorInfo!);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (5)
923jsonPropertyInfo.Get = MemberAccessor.CreatePropertyGetter<T>(propertyInfo); 929jsonPropertyInfo.Set = MemberAccessor.CreatePropertySetter<T>(propertyInfo); 937jsonPropertyInfo.Get = MemberAccessor.CreateFieldGetter<T>(fieldInfo); 941jsonPropertyInfo.Set = MemberAccessor.CreateFieldSetter<T>(fieldInfo); 968return MemberAccessor.CreateParameterlessConstructor(type, defaultCtor);
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Union.cs (2)
221Func<TUnion, object?> valueAccessor = MemberAccessor.CreatePropertyGetter<TUnion, object?>(valueProperty); 432Func<object?, TUnion> constructor = MemberAccessor.CreateSingleParameterConstructor<TUnion>(constructorInfo);