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)); 178CreateDelegate<JsonTypeInfo.ParameterizedConstructorDelegate<T, TArg0, TArg1, TArg2, TArg3>>( 273CreateDelegate<Action<TCollection, object?>>(CreateAddMethodDelegate(typeof(TCollection))); 299CreateDelegate<Func<IEnumerable<TElement>, TCollection>>( 323CreateDelegate<Func<IEnumerable<KeyValuePair<TKey, TValue>>, TCollection>>( 347CreateDelegate<Func<object, TProperty>>(CreatePropertyGetter(propertyInfo, typeof(TProperty))); 393CreateDelegate<Action<object, TProperty>>(CreatePropertySetter(propertyInfo, typeof(TProperty))); 431CreateDelegate<Func<object, TProperty>>(CreateFieldGetter(fieldInfo, typeof(TProperty))); 465CreateDelegate<Action<object, TProperty>>(CreateFieldSetter(fieldInfo, typeof(TProperty)));