10 references to CreateDelegate
System.Text.Json (10)
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (10)
70return CreateDelegate<Func<object>>(dynamicMethod); 74CreateDelegate<Func<object[], T>>(CreateParameterizedConstructor(constructor)); 116CreateDelegate<JsonTypeInfo.ParameterizedConstructorDelegate<T, TArg0, TArg1, TArg2, TArg3>>( 163CreateDelegate<Action<TCollection, object?>>(CreateAddMethodDelegate(typeof(TCollection))); 191CreateDelegate<Func<IEnumerable<TElement>, TCollection>>( 219CreateDelegate<Func<IEnumerable<KeyValuePair<TKey, TValue>>, TCollection>>( 247CreateDelegate<Func<object, TProperty>>(CreatePropertyGetter(propertyInfo, typeof(TProperty))); 293CreateDelegate<Action<object, TProperty>>(CreatePropertySetter(propertyInfo, typeof(TProperty))); 331CreateDelegate<Func<object, TProperty>>(CreateFieldGetter(fieldInfo, typeof(TProperty))); 365CreateDelegate<Action<object, TProperty>>(CreateFieldSetter(fieldInfo, typeof(TProperty)));