13 references to CreateDelegate
System.Text.Json (13)
System\Text\Json\Serialization\Metadata\ReflectionEmitMemberAccessor.cs (13)
68return CreateDelegate<Func<object>>(dynamicMethod); 72CreateDelegate<Func<object[], T>>(CreateParameterizedConstructor(constructor)); 178CreateDelegate<JsonTypeInfo.ParameterizedConstructorDelegate<T, TArg0, TArg1, TArg2, TArg3>>( 182CreateDelegate<Func<object?, T>>(CreateSingleParameterConstructor(constructor)); 336CreateDelegate<Action<TCollection, object?>>(CreateAddMethodDelegate(typeof(TCollection))); 362CreateDelegate<Func<IEnumerable<TElement>, TCollection>>( 386CreateDelegate<Func<IEnumerable<KeyValuePair<TKey, TValue>>, TCollection>>( 410CreateDelegate<Func<object, TProperty>>(CreatePropertyGetter(propertyInfo, typeof(TProperty))); 413CreateDelegate<Func<TDeclaringType, TProperty>>(CreatePropertyGetter(propertyInfo, typeof(TDeclaringType), typeof(TProperty))); 510CreateDelegate<Action<object, TProperty>>(CreatePropertySetter(propertyInfo, typeof(TProperty))); 548CreateDelegate<Func<object, TProperty>>(CreateFieldGetter(fieldInfo, typeof(TProperty))); 582CreateDelegate<Action<object, TProperty>>(CreateFieldSetter(fieldInfo, typeof(TProperty))); 613CreateDelegate<UnionTryGetValueAccessor<TUnion>>(CreateUnionTryGetValueAccessor(typeof(TUnion), entries));