10 references to CreateDelegate
System.Text.Json (10)
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (10)
68return CreateDelegate<Func<object>>(dynamicMethod); 72CreateDelegate<Func<object[], T>>(CreateParameterizedConstructor(constructor)); 112CreateDelegate<JsonTypeInfo.ParameterizedConstructorDelegate<T, TArg0, TArg1, TArg2, TArg3>>( 157CreateDelegate<Action<TCollection, object?>>(CreateAddMethodDelegate(typeof(TCollection))); 183CreateDelegate<Func<IEnumerable<TElement>, TCollection>>( 207CreateDelegate<Func<IEnumerable<KeyValuePair<TKey, TValue>>, TCollection>>( 231CreateDelegate<Func<object, TProperty>>(CreatePropertyGetter(propertyInfo, typeof(TProperty))); 277CreateDelegate<Action<object, TProperty>>(CreatePropertySetter(propertyInfo, typeof(TProperty))); 315CreateDelegate<Func<object, TProperty>>(CreateFieldGetter(fieldInfo, typeof(TProperty))); 349CreateDelegate<Action<object, TProperty>>(CreateFieldSetter(fieldInfo, typeof(TProperty)));