13 references to DynamicallyAccessedMemberTypes
Microsoft.Extensions.ObjectPool.DependencyInjection (13)
DependencyInjectionPooledObjectPolicy.cs (1)
10
internal sealed class DependencyInjectionPooledObjectPolicy<TService, [DynamicallyAccessedMembers(
DynamicallyAccessedMemberTypes
.PublicConstructors)] TImplementation> : IPooledObjectPolicy<TService>
ObjectPoolServiceCollectionExtensions.cs (3)
32
public static IServiceCollection AddPooled<[DynamicallyAccessedMembers(
DynamicallyAccessedMemberTypes
.PublicConstructors)] TService>(
53
public static IServiceCollection AddPooled<TService, [DynamicallyAccessedMembers(
DynamicallyAccessedMemberTypes
.PublicConstructors)] TImplementation>(
96
private static IServiceCollection AddPooledInternal<TService, [DynamicallyAccessedMembers(
DynamicallyAccessedMemberTypes
.PublicConstructors)] TImplementation>(
src\LegacySupport\TrimAttributes\DynamicallyAccessedMembersAttribute.cs (3)
50
public DynamicallyAccessedMembersAttribute(
DynamicallyAccessedMemberTypes
memberTypes)
56
/// Gets the <see cref="
DynamicallyAccessedMemberTypes
"/> which specifies the type
59
public
DynamicallyAccessedMemberTypes
MemberTypes { get; }
src\LegacySupport\TrimAttributes\DynamicDependencyAttribute.cs (6)
70
public DynamicDependencyAttribute(
DynamicallyAccessedMemberTypes
memberTypes, Type type)
83
public DynamicDependencyAttribute(
DynamicallyAccessedMemberTypes
memberTypes, string typeName, string assemblyName)
95
/// must not equal <see cref="
DynamicallyAccessedMemberTypes
.None"/>, but not both.
100
/// Gets the <see cref="
DynamicallyAccessedMemberTypes
"/> which specifies the type
105
/// must not equal <see cref="
DynamicallyAccessedMemberTypes
.None"/>, but not both.
107
public
DynamicallyAccessedMemberTypes
MemberTypes { get; }