3118 references to DynamicallyAccessedMemberTypes
Aspire.Azure.Npgsql.EntityFrameworkCore.PostgreSQL (4)
Aspire.Azure.Security.KeyVault (1)
Aspire.Dashboard.Tests (6)
Aspire.Microsoft.EntityFrameworkCore.Cosmos (7)
Aspire.Microsoft.EntityFrameworkCore.SqlServer (7)
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL (7)
Aspire.Oracle.EntityFrameworkCore (7)
Aspire.Pomelo.EntityFrameworkCore.MySql (7)
Aspire.StackExchange.Redis (2)
illink (350)
Linker.Dataflow\DynamicallyAccessedMembersTypeHierarchy.cs (23)
40readonly Dictionary<TypeDefinition, (DynamicallyAccessedMemberTypes annotation, bool applied)> _typesInDynamicallyAccessedMembersHierarchy;
46_typesInDynamicallyAccessedMembersHierarchy = new Dictionary<TypeDefinition, (DynamicallyAccessedMemberTypes, bool)>();
50public (DynamicallyAccessedMemberTypes annotation, bool applied) ProcessMarkedTypeForDynamicallyAccessedMembersHierarchy(TypeDefinition type)
56DynamicallyAccessedMemberTypes annotation = _context.Annotations.FlowAnnotations.GetTypeAnnotation(type);
89Debug.Assert(!apply || annotation != DynamicallyAccessedMemberTypes.None);
92bool applyOptimizeTypeHierarchyAnnotations = (annotation != DynamicallyAccessedMemberTypes.None) && !_context.IsOptimizationEnabled(CodeOptimizations.OptimizeTypeHierarchyAnnotations, type);
104if (annotation != DynamicallyAccessedMemberTypes.None || type.IsInterface)
125public DynamicallyAccessedMemberTypes ApplyDynamicallyAccessedMembersToTypeHierarchy(TypeDefinition type)
127(var annotation, var applied) = ProcessMarkedTypeForDynamicallyAccessedMembersHierarchy(type);
131if (applied || annotation == DynamicallyAccessedMemberTypes.None)
159if (candidate.Value.annotation == DynamicallyAccessedMemberTypes.None || candidate.Value.applied)
180(var annotation, var applied) = GetCachedInfoForTypeInHierarchy(type);
182if (annotation == DynamicallyAccessedMemberTypes.None)
218void ApplyDynamicallyAccessedMembersToType(TypeDefinition type, DynamicallyAccessedMemberTypes annotation)
221Debug.Assert(annotation != DynamicallyAccessedMemberTypes.None);
230if (!baseAnnotation.applied && baseAnnotation.annotation != DynamicallyAccessedMemberTypes.None)
232var annotationToApplyToBase = Annotations.GetMissingMemberTypes(annotation, baseAnnotation.annotation);
242if (annotation.HasFlag(DynamicallyAccessedMemberTypes.Interfaces) && type.HasInterfaces)
244var annotationToApplyToInterfaces = annotation == DynamicallyAccessedMemberTypes.All ? annotation : DynamicallyAccessedMemberTypes.Interfaces;
272(DynamicallyAccessedMemberTypes annotation, bool applied) GetCachedInfoForTypeInHierarchy(TypeDefinition type)
279return (DynamicallyAccessedMemberTypes.None, false);
Linker.Dataflow\FlowAnnotations.cs (74)
36&& (methodAnnotations.ReturnParameterAnnotation != DynamicallyAccessedMemberTypes.None || methodAnnotations.ParameterAnnotations != null);
62GetGenericParameterAnnotation(genericParameter) != DynamicallyAccessedMemberTypes.None;
64internal DynamicallyAccessedMemberTypes GetParameterAnnotation(ParameterProxy param)
67return DynamicallyAccessedMemberTypes.None;
73return DynamicallyAccessedMemberTypes.None;
76public DynamicallyAccessedMemberTypes GetReturnParameterAnnotation(MethodReference methodRef)
79return DynamicallyAccessedMemberTypes.None;
84return DynamicallyAccessedMemberTypes.None;
87public DynamicallyAccessedMemberTypes GetFieldAnnotation(FieldReference fieldRef)
90return DynamicallyAccessedMemberTypes.None;
95return DynamicallyAccessedMemberTypes.None;
98public DynamicallyAccessedMemberTypes GetTypeAnnotation(TypeDefinition type) =>
109public DynamicallyAccessedMemberTypes GetGenericParameterAnnotation(GenericParameter genericParameter)
114if (GetAnnotations(declaringType).TryGetAnnotation(genericParameter, out var annotation))
117return DynamicallyAccessedMemberTypes.None;
122methodTypeAnnotations.TryGetAnnotation(genericParameter, out var methodAnnotation))
125return DynamicallyAccessedMemberTypes.None;
133if (annotation.ParameterAnnotations == null && annotation.ReturnParameterAnnotation == DynamicallyAccessedMemberTypes.None)
216DynamicallyAccessedMemberTypes GetMemberTypesForDynamicallyAccessedMembersAttribute(IMemberDefinition member, ICustomAttributeProvider? providerIfNotMember = null)
220return DynamicallyAccessedMemberTypes.None;
226return (DynamicallyAccessedMemberTypes)(int)attribute.ConstructorArguments[0].Value;
230return DynamicallyAccessedMemberTypes.None;
236DynamicallyAccessedMemberTypes typeAnnotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(type);
245DynamicallyAccessedMemberTypes annotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(field);
246if (annotation == DynamicallyAccessedMemberTypes.None)
269DynamicallyAccessedMemberTypes[]? paramAnnotations = null;
272if (GetMemberTypesForDynamicallyAccessedMembersAttribute(method) != DynamicallyAccessedMemberTypes.None
280DynamicallyAccessedMemberTypes pa = GetMemberTypesForDynamicallyAccessedMembersAttribute(method, param.GetCustomAttributeProvider());
281if (pa == DynamicallyAccessedMemberTypes.None)
293paramAnnotations ??= new DynamicallyAccessedMemberTypes[method.GetParametersCount()];
297DynamicallyAccessedMemberTypes returnAnnotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(method, providerIfNotMember: method.MethodReturnType);
298if (returnAnnotation != DynamicallyAccessedMemberTypes.None && !IsTypeInterestingForDataflow(method.ReturnType))
300returnAnnotation = DynamicallyAccessedMemberTypes.None;
304DynamicallyAccessedMemberTypes[]? genericParameterAnnotations = null;
310var annotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(method, providerIfNotMember: genericParameter);
311if (annotation != DynamicallyAccessedMemberTypes.None)
313genericParameterAnnotations ??= new DynamicallyAccessedMemberTypes[method.GenericParameters.Count];
319if (returnAnnotation != DynamicallyAccessedMemberTypes.None || paramAnnotations != null || genericParameterAnnotations != null)
344DynamicallyAccessedMemberTypes annotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(property);
345if (annotation == DynamicallyAccessedMemberTypes.None)
379if (setterAnnotation?.ParameterAnnotations?[^1] is not (null or DynamicallyAccessedMemberTypes.None))
388DynamicallyAccessedMemberTypes[] paramAnnotations;
390paramAnnotations = new DynamicallyAccessedMemberTypes[setMethod.GetParametersCount()];
395annotatedMethods.Add(new MethodAnnotations(setMethod, paramAnnotations, DynamicallyAccessedMemberTypes.None, null));
423if (getterAnnotation?.ReturnParameterAnnotation is not (null or DynamicallyAccessedMemberTypes.None))
462DynamicallyAccessedMemberTypes[]? typeGenericParameterAnnotations = null;
469var annotation = GetMemberTypesForDynamicallyAccessedMembersAttribute(type, providerIfNotMember: provider);
470if (annotation != DynamicallyAccessedMemberTypes.None)
472typeGenericParameterAnnotations ??= new DynamicallyAccessedMemberTypes[type.GenericParameters.Count];
609void ValidateMethodParametersHaveNoAnnotations(DynamicallyAccessedMemberTypes[] parameterAnnotations, OverrideInformation ov)
613var annotation = parameterAnnotations[parameterIndex];
614if (annotation != DynamicallyAccessedMemberTypes.None)
622void ValidateMethodGenericParametersHaveNoAnnotations(DynamicallyAccessedMemberTypes[] genericParameterAnnotations, OverrideInformation ov)
626if (genericParameterAnnotations[genericParameterIndex] != DynamicallyAccessedMemberTypes.None)
674readonly DynamicallyAccessedMemberTypes _typeAnnotation;
677readonly DynamicallyAccessedMemberTypes[]? _genericParameterAnnotations;
681DynamicallyAccessedMemberTypes typeAnnotation,
684DynamicallyAccessedMemberTypes[]? genericParameterAnnotations)
688public DynamicallyAccessedMemberTypes TypeAnnotation { get => _typeAnnotation; }
732public bool TryGetAnnotation(GenericParameter genericParameter, out DynamicallyAccessedMemberTypes annotation)
757public readonly DynamicallyAccessedMemberTypes[]? ParameterAnnotations;
758public readonly DynamicallyAccessedMemberTypes ReturnParameterAnnotation;
759public readonly DynamicallyAccessedMemberTypes[]? GenericParameterAnnotations;
763DynamicallyAccessedMemberTypes[]? paramAnnotations,
764DynamicallyAccessedMemberTypes returnParamAnnotations,
765DynamicallyAccessedMemberTypes[]? genericParameterAnnotations)
769public bool TryGetAnnotation(GenericParameter genericParameter, out DynamicallyAccessedMemberTypes annotation)
792public readonly DynamicallyAccessedMemberTypes Annotation;
794public FieldAnnotation(FieldDefinition field, DynamicallyAccessedMemberTypes annotation)
802internal partial MethodReturnValue GetMethodReturnValue(MethodProxy method, bool isNewObj, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes)
810internal partial GenericParameterValue GetGenericParameterValue(GenericParameterProxy genericParameter, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes)
818internal partial MethodParameterValue GetMethodParameterValue(ParameterProxy param, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes)
826internal partial MethodParameterValue GetMethodThisParameterValue(MethodProxy method, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes)
839var damt = GetParameterAnnotation(param);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (145)
95Debug.Assert(requiresDataFlowAnalysis || annotatedMethodReturnValue.DynamicallyAccessedMemberTypes == DynamicallyAccessedMemberTypes.None);
247var targetValue = _annotations.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
270DynamicallyAccessedMemberTypes returnMemberTypes = DynamicallyAccessedMemberTypes.Interfaces;
274&& valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes == DynamicallyAccessedMemberTypes.All)
275returnMemberTypes = DynamicallyAccessedMemberTypes.All;
295var targetValue = _annotations.GetMethodThisParameterValue(calledMethod, DynamicallyAccessedMemberTypes.Interfaces);
302DynamicallyAccessedMemberTypes returnMemberTypes = DynamicallyAccessedMemberTypes.Interfaces;
306&& valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes == DynamicallyAccessedMemberTypes.All)
307returnMemberTypes = DynamicallyAccessedMemberTypes.All;
370&& (damAnnotatedHandle.UnderlyingTypeValue.DynamicallyAccessedMemberTypes & DynamicallyAccessedMemberTypes.NonPublicConstructors) != 0)
404DynamicallyAccessedMemberTypes memberTypes;
409IntrinsicId.Type_GetConstructors__BindingFlags => DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors,
410IntrinsicId.Type_GetMethods__BindingFlags => DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods,
411IntrinsicId.Type_GetEvents__BindingFlags => DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents,
412IntrinsicId.Type_GetFields__BindingFlags => DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields,
413IntrinsicId.Type_GetProperties__BindingFlags => DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties,
414IntrinsicId.Type_GetNestedTypes__BindingFlags => DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes,
415IntrinsicId.Type_GetMembers__BindingFlags => DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors |
416DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents |
417DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields |
418DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods |
419DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties |
420DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes,
474DynamicallyAccessedMemberTypes memberTypes = intrinsicId switch
549DynamicallyAccessedMemberTypes requiredMemberTypes;
552requiredMemberTypes = DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors |
553DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents |
554DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields |
555DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods |
556DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties |
557DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes;
678const DynamicallyAccessedMemberTypes ImplicitNestedTypeAccessLevel =
680DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypesEx.NonPublicMethodsWithInherited |
681DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypesEx.NonPublicFieldsWithInherited |
682DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypesEx.NonPublicPropertiesWithInherited |
683DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypesEx.NonPublicEventsWithInherited |
685DynamicallyAccessedMemberTypes.Interfaces;
738if (value is ValueWithDynamicallyAccessedMembers { DynamicallyAccessedMemberTypes: DynamicallyAccessedMemberTypes.All })
739AddReturnValue(_annotations.GetMethodReturnValue(calledMethod, _isNewObj, DynamicallyAccessedMemberTypes.All));
768DynamicallyAccessedMemberTypes requiredMemberTypes = intrinsicId switch
770IntrinsicId.RuntimeReflectionExtensions_GetRuntimeEvent => DynamicallyAccessedMemberTypes.PublicEvents,
771IntrinsicId.RuntimeReflectionExtensions_GetRuntimeField => DynamicallyAccessedMemberTypes.PublicFields,
772IntrinsicId.RuntimeReflectionExtensions_GetRuntimeMethod => DynamicallyAccessedMemberTypes.PublicMethods,
773IntrinsicId.RuntimeReflectionExtensions_GetRuntimeProperty => DynamicallyAccessedMemberTypes.PublicProperties,
840var targetValue = _annotations.GetMethodParameterValue(new(calledMethod, (ParameterIndex)0), DynamicallyAccessedMemberTypes.PublicParameterlessConstructor);
886_annotations.GetMethodParameterValue(new(calledMethod, (ParameterIndex)1), DynamicallyAccessedMemberTypes.None).GetDiagnosticArgumentsForAnnotationMismatch().ToArray());
900DynamicallyAccessedMemberTypes memberTypes = intrinsicId == IntrinsicId.Expression_Property
901? DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties
902: DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields;
1203DynamicallyAccessedMemberTypes propagatedMemberTypes = DynamicallyAccessedMemberTypes.None;
1204if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes == DynamicallyAccessedMemberTypes.All)
1205propagatedMemberTypes = DynamicallyAccessedMemberTypes.All;
1216if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.PublicEvents))
1217propagatedMemberTypes |= DynamicallyAccessedMemberTypes.PublicEvents;
1222if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.PublicFields))
1223propagatedMemberTypes |= DynamicallyAccessedMemberTypes.PublicFields;
1228if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.PublicMethods))
1229propagatedMemberTypes |= DynamicallyAccessedMemberTypes.PublicMethods;
1244if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.PublicProperties))
1245propagatedMemberTypes |= DynamicallyAccessedMemberTypes.PublicProperties;
1250if (valueWithDynamicallyAccessedMembers.DynamicallyAccessedMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.Interfaces))
1251propagatedMemberTypes |= DynamicallyAccessedMemberTypes.Interfaces;
1326var requiredMemberTypes = GetDynamicallyAccessedMemberTypesFromBindingFlagsForConstructors(bindingFlags);
1328if (requiredMemberTypes == DynamicallyAccessedMemberTypes.PublicConstructors && ctorParameterCount == 0)
1329requiredMemberTypes = DynamicallyAccessedMemberTypes.PublicParameterlessConstructor;
1446var requiredMemberTypes = GetDynamicallyAccessedMemberTypesFromBindingFlagsForConstructors(bindingFlags);
1449if (ctorParameterCount == 0 && requiredMemberTypes.HasFlag(DynamicallyAccessedMemberTypes.PublicConstructors))
1451requiredMemberTypes &= ~DynamicallyAccessedMemberTypes.PublicConstructors;
1452requiredMemberTypes |= DynamicallyAccessedMemberTypes.PublicParameterlessConstructor;
1580if (GetGenericParameterEffectiveMemberTypes(genericParameter) != DynamicallyAccessedMemberTypes.None)
1635static DynamicallyAccessedMemberTypes GetGenericParameterEffectiveMemberTypes(GenericParameterValue genericParameter)
1637DynamicallyAccessedMemberTypes result = genericParameter.DynamicallyAccessedMemberTypes;
1639result |= DynamicallyAccessedMemberTypes.PublicParameterlessConstructor;
1764internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForNestedTypes(BindingFlags? bindingFlags) =>
1765(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicNestedTypes : DynamicallyAccessedMemberTypes.None) |
1766(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicNestedTypes : DynamicallyAccessedMemberTypes.None) |
1767(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes : DynamicallyAccessedMemberTypes.None);
1769internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForConstructors(BindingFlags? bindingFlags) =>
1770(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicConstructors : DynamicallyAccessedMemberTypes.None) |
1771(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicConstructors : DynamicallyAccessedMemberTypes.None) |
1772(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors : DynamicallyAccessedMemberTypes.None);
1774internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForMethods(BindingFlags? bindingFlags) =>
1775(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicMethods : DynamicallyAccessedMemberTypes.None) |
1776(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicMethods : DynamicallyAccessedMemberTypes.None) |
1777(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods : DynamicallyAccessedMemberTypes.None);
1779internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForFields(BindingFlags? bindingFlags) =>
1780(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicFields : DynamicallyAccessedMemberTypes.None) |
1781(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicFields : DynamicallyAccessedMemberTypes.None) |
1782(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields : DynamicallyAccessedMemberTypes.None);
1784internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForProperties(BindingFlags? bindingFlags) =>
1785(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicProperties : DynamicallyAccessedMemberTypes.None) |
1786(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicProperties : DynamicallyAccessedMemberTypes.None) |
1787(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties : DynamicallyAccessedMemberTypes.None);
1789internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForEvents(BindingFlags? bindingFlags) =>
1790(HasBindingFlag(bindingFlags, BindingFlags.Public) ? DynamicallyAccessedMemberTypes.PublicEvents : DynamicallyAccessedMemberTypes.None) |
1791(HasBindingFlag(bindingFlags, BindingFlags.NonPublic) ? DynamicallyAccessedMemberTypes.NonPublicEvents : DynamicallyAccessedMemberTypes.None) |
1792(BindingFlagsAreUnsupported(bindingFlags) ? DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents : DynamicallyAccessedMemberTypes.None);
1794internal static DynamicallyAccessedMemberTypes GetDynamicallyAccessedMemberTypesFromBindingFlagsForMembers(BindingFlags? bindingFlags) =>
Microsoft.AspNetCore (4)
Microsoft.AspNetCore.Authentication (4)
AuthenticationBuilder.cs (4)
30private AuthenticationBuilder AddSchemeHelper<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
65public virtual AuthenticationBuilder AddScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
78public virtual AuthenticationBuilder AddScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, Action<TOptions>? configureOptions)
93public virtual AuthenticationBuilder AddRemoteScheme<TOptions, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] THandler>(string authenticationScheme, string? displayName, Action<TOptions>? configureOptions)
Microsoft.AspNetCore.Authentication.Abstractions (4)
Microsoft.AspNetCore.Authentication.OAuth (2)
Microsoft.AspNetCore.Components (26)
Microsoft.AspNetCore.Components.CustomElements (1)
Microsoft.AspNetCore.Components.Endpoints (18)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (9)
Microsoft.AspNetCore.Components.Web (18)
Microsoft.AspNetCore.Components.WebAssembly (9)
Microsoft.AspNetCore.Components.WebView (9)
Microsoft.AspNetCore.Connections.Abstractions (3)
Microsoft.AspNetCore.DataProtection (12)
Microsoft.AspNetCore.DataProtection.EntityFrameworkCore (1)
Microsoft.AspNetCore.Diagnostics (3)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (4)
Microsoft.AspNetCore.Hosting (15)
Microsoft.AspNetCore.Hosting.Abstractions (2)
Microsoft.AspNetCore.Http.Abstractions (9)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Extensions (16)
Microsoft.AspNetCore.Http.Results (3)
Microsoft.AspNetCore.HttpLogging (1)
Microsoft.AspNetCore.Identity (3)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (2)
UserStore.cs (2)
93public class UserStore<TUser, TRole, TContext, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim> :
126public class UserStore<TUser, TRole, TContext, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim, TUserPasskey> :
Microsoft.AspNetCore.JsonPatch (2)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (2)
Microsoft.AspNetCore.Mvc.Abstractions (2)
Microsoft.AspNetCore.Mvc.Core (10)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
Microsoft.AspNetCore.OpenApi (13)
Microsoft.AspNetCore.OutputCaching (5)
Microsoft.AspNetCore.RateLimiting (1)
Microsoft.AspNetCore.ResponseCompression (4)
Microsoft.AspNetCore.Routing (12)
Microsoft.AspNetCore.Routing.Abstractions (6)
Microsoft.AspNetCore.Shared.Tests (14)
Microsoft.AspNetCore.SignalR (3)
Microsoft.AspNetCore.SignalR.Core (23)
Microsoft.AspNetCore.SpaProxy (1)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.Authentication.WebAssembly.Msal (8)
Microsoft.DotNet.XUnitExtensions (2)
Microsoft.DotNet.XUnitV3Extensions (2)
Microsoft.Extensions.AI.Abstractions (8)
Microsoft.Extensions.Configuration.Binder (10)
Microsoft.Extensions.DependencyInjection (9)
Microsoft.Extensions.DependencyInjection.Abstractions (83)
ActivatorUtilities.cs (13)
49[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
224[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type)
249[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type)
274[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
311CreateFactory<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>(
331private static void CreateFactoryInternal([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType, Type[] argumentTypes, out ParameterExpression provider, out ParameterExpression argumentArray, out Expression factoryExpressionBody)
347public static T CreateInstance<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>(IServiceProvider provider, params object[] parameters)
358public static T GetServiceOrCreateInstance<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] T>(IServiceProvider provider)
371[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type type)
439[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
557[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
593[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
626[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type instanceType,
Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs (12)
21[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type service,
44[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
84public static void TryAddKeyedTransient<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
101public static void TryAddKeyedTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
137[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type service,
160[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
200public static void TryAddKeyedScoped<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
217public static void TryAddKeyedScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
253[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type service,
276[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
316public static void TryAddKeyedSingleton<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TService>(this IServiceCollection collection, object? serviceKey)
333public static void TryAddKeyedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(this IServiceCollection collection, object? serviceKey)
ServiceDescriptor.cs (20)
25[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType,
41[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType,
152[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
162[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
172[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
360public static ServiceDescriptor Transient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>()
376public static ServiceDescriptor KeyedTransient<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(object? serviceKey)
393[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
413[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
537public static ServiceDescriptor Scoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>()
553public static ServiceDescriptor KeyedScoped<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(object? serviceKey)
570[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
587[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
708public static ServiceDescriptor Singleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>()
724public static ServiceDescriptor KeyedSingleton<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
742[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
762[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType)
958private static ServiceDescriptor DescribeKeyed<TService, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TImplementation>(
982[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType,
1001[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type implementationType,
Microsoft.Extensions.DependencyInjection.AutoActivation (17)
Microsoft.Extensions.Diagnostics.Abstractions (1)
Microsoft.Extensions.Diagnostics.HealthChecks (6)
Microsoft.Extensions.Hosting (1)
Microsoft.Extensions.Hosting.Abstractions (1)
Microsoft.Extensions.Http (18)
Microsoft.Extensions.Identity.Core (18)
Microsoft.Extensions.Identity.Stores (3)
UserStoreBase.cs (2)
24public abstract class UserStoreBase<TUser, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey, TUserClaim, TUserLogin, TUserToken> :
997public abstract class UserStoreBase<TUser, TRole, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] TKey, TUserClaim, TUserRole, TUserLogin, TUserToken, TRoleClaim> :
Microsoft.Extensions.Logging.Console (5)
Microsoft.Extensions.Logging.EventSource (2)
Microsoft.Extensions.Options (8)
Microsoft.Extensions.Options.Contextual (1)
Microsoft.Extensions.Options.DataAnnotations (4)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Extensions.Validation (4)
Microsoft.JSInterop (8)
Microsoft.Maui (10)
Microsoft.Maui.Controls.Xaml (4)
Microsoft.VisualBasic.Core (29)
PresentationCore (5)
Shared (4)
System.ComponentModel.Annotations (27)
System.ComponentModel.TypeConverter (82)
System.Data.Common (87)
System\Data\Common\DataColumnMapping.cs (6)
74public DataColumn? GetDataColumnBySchemaAction(DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
80public static DataColumn? GetDataColumnBySchemaAction(string? sourceColumn, string? dataSetColumn, DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
115internal static DataColumn? CreateDataColumnBySchemaAction(string? sourceColumn, string? dataSetColumn, DataTable dataTable, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type? dataType, MissingSchemaAction schemaAction)
System\Data\DataColumn.cs (13)
29[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] // needed by Clone() to preserve derived ctors
35[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)]
103public DataColumn(string? columnName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type dataType) : this(columnName, dataType, null, MappingType.Element)
113public DataColumn(string? columnName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type dataType, string? expr) : this(columnName, dataType, expr, MappingType.Element)
124public DataColumn(string? columnName, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type dataType, string? expr, MappingType type)
156private void UpdateColumnType([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)] Type type, StorageType typeCode)
476[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.PublicFields)]
System.Diagnostics.DiagnosticSource (16)
System\Diagnostics\DiagnosticSourceEventSource.cs (9)
227[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
249[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
261[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
273[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
285[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
297[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
309[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
334[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
347[DynamicDependency(DynamicallyAccessedMemberTypes.PublicProperties, typeof(KeyValuePair<,>))]
System.Diagnostics.TraceSource (1)
System.Drawing.Primitives (1)
System.Linq.Expressions (18)
System.Net.Http (1)
System.Net.Quic (2)
System.ObjectModel (12)
System.Private.CoreLib (629)
src\libraries\System.Private.CoreLib\src\System\Delegate.cs (2)
67public static Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.AllMethods)] Type target, string method) => CreateDelegate(type, target, method, ignoreCase: false, throwOnBindFailure: true)!;
68public static Delegate CreateDelegate(Type type, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.AllMethods)] Type target, string method, bool ignoreCase) => CreateDelegate(type, target, method, ignoreCase, throwOnBindFailure: true)!;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (39)
311[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
329[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
380string name, TypeAttributes attr, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type? parent, Type[]? interfaces, RuntimeModuleBuilder module,
661[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors)]
671[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors)]
680[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)]
697[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)]
706[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields)]
715[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields)]
724[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.Interfaces)]
725[return: DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.Interfaces)]
734[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.Interfaces)]
750[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents)]
759[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents)]
768[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties)]
775[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties)]
784[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)]
793[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)]
811public override InterfaceMapping GetInterfaceMap([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] Type interfaceType)
819[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents)]
1332protected override TypeBuilder DefineNestedTypeCore(string name, TypeAttributes attr, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type? parent, Type[]? interfaces, PackingSize packSize, int typeSize)
1470[return: DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
1478[return: DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
1493[return: DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
1671protected override void SetParentCore([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type? parent)
1699protected override void AddInterfaceImplementationCore([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type interfaceType)
System.Private.DataContractSerialization (30)
System.Private.Windows.Core (25)
System.Private.Windows.Core.Tests (9)
System.Private.Windows.Core.TestUtilities (1)
System.Private.Xml (53)
System\Xml\Serialization\Models.cs (8)
97[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
102[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type,
111[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
131[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, TypeDesc typeDesc, ModelScope scope) : base(type, typeDesc, scope) { }
143[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type, TypeDesc typeDesc, ModelScope scope) : base(type, typeDesc, scope) { }
149[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type,
156[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)] Type type,
421[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
System.Reflection.DispatchProxy (16)
System.Reflection.Emit (201)
System.Reflection.MetadataLoadContext (2)
System.Reflection.TypeExtensions (78)
System\Reflection\TypeExtensions.cs (78)
14[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] this Type type,
24[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] this Type type)
33[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors)] this Type type,
44DynamicallyAccessedMemberTypes.PublicFields
45| DynamicallyAccessedMemberTypes.PublicMethods
46| DynamicallyAccessedMemberTypes.PublicEvents
47| DynamicallyAccessedMemberTypes.PublicProperties
48| DynamicallyAccessedMemberTypes.PublicConstructors
49| DynamicallyAccessedMemberTypes.PublicNestedTypes)] this Type type)
58[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents)] this Type type,
68[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents)] this Type type,
79[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents)] this Type type)
88[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents)] this Type type,
98[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] this Type type,
108[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields)] this Type type,
119[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields)] this Type type)
128[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields)] this Type type,
146[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.Interfaces)] this Type type)
156DynamicallyAccessedMemberTypes.PublicFields
157| DynamicallyAccessedMemberTypes.PublicMethods
158| DynamicallyAccessedMemberTypes.PublicEvents
159| DynamicallyAccessedMemberTypes.PublicProperties
160| DynamicallyAccessedMemberTypes.PublicConstructors
161| DynamicallyAccessedMemberTypes.PublicNestedTypes)] this Type type,
172DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields |
173DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods |
174DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents |
175DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties |
176DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors |
177DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)] this Type type,
189DynamicallyAccessedMemberTypes.PublicFields
190| DynamicallyAccessedMemberTypes.PublicMethods
191| DynamicallyAccessedMemberTypes.PublicEvents
192| DynamicallyAccessedMemberTypes.PublicProperties
193| DynamicallyAccessedMemberTypes.PublicConstructors
194| DynamicallyAccessedMemberTypes.PublicNestedTypes)] this Type type)
204DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields |
205DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods |
206DynamicallyAccessedMemberTypes.PublicEvents | DynamicallyAccessedMemberTypes.NonPublicEvents |
207DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties |
208DynamicallyAccessedMemberTypes.PublicConstructors | DynamicallyAccessedMemberTypes.NonPublicConstructors |
209DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)] this Type type,
219[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] this Type type,
229[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] this Type type,
240[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] this Type type,
251[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] this Type type)
260[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods | DynamicallyAccessedMemberTypes.NonPublicMethods)] this Type type,
270[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)] this Type type,
281[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicNestedTypes | DynamicallyAccessedMemberTypes.NonPublicNestedTypes)] this Type type,
291[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] this Type type)
300[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties)] this Type type,
310[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] this Type type,
320[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties)] this Type type,
331[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] this Type type,
342[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] this Type type,
System.Resources.Extensions (11)
System.Runtime (1)
System.Runtime.InteropServices (2)
System.Runtime.Serialization.Formatters (16)
System.Security.Cryptography (2)
System.Text.Json (16)
System.Text.RegularExpressions (3)
System.Windows.Forms (107)
System.Windows.Forms.Design (30)
System.Windows.Forms.Primitives (14)
System.Windows.Forms.Tests (4)
System.Windows.Forms.TestUtilities (8)
xunit.assert (659)
DictionaryAsserts.cs (60)
45 DynamicallyAccessedMemberTypes.PublicFields
46 | DynamicallyAccessedMemberTypes.NonPublicFields
47 | DynamicallyAccessedMemberTypes.PublicProperties
48 | DynamicallyAccessedMemberTypes.NonPublicProperties
49 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
79 DynamicallyAccessedMemberTypes.PublicFields
80 | DynamicallyAccessedMemberTypes.NonPublicFields
81 | DynamicallyAccessedMemberTypes.PublicProperties
82 | DynamicallyAccessedMemberTypes.NonPublicProperties
83 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
113 DynamicallyAccessedMemberTypes.PublicFields
114 | DynamicallyAccessedMemberTypes.NonPublicFields
115 | DynamicallyAccessedMemberTypes.PublicProperties
116 | DynamicallyAccessedMemberTypes.NonPublicProperties
117 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
135 DynamicallyAccessedMemberTypes.PublicFields
136 | DynamicallyAccessedMemberTypes.NonPublicFields
137 | DynamicallyAccessedMemberTypes.PublicProperties
138 | DynamicallyAccessedMemberTypes.NonPublicProperties
139 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
157 DynamicallyAccessedMemberTypes.PublicFields
158 | DynamicallyAccessedMemberTypes.NonPublicFields
159 | DynamicallyAccessedMemberTypes.PublicProperties
160 | DynamicallyAccessedMemberTypes.NonPublicProperties
161 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
180 DynamicallyAccessedMemberTypes.PublicFields
181 | DynamicallyAccessedMemberTypes.NonPublicFields
182 | DynamicallyAccessedMemberTypes.PublicProperties
183 | DynamicallyAccessedMemberTypes.NonPublicProperties
184 | DynamicallyAccessedMemberTypes.PublicMethods)]TKey, TValue>(
202 DynamicallyAccessedMemberTypes.PublicFields
203 | DynamicallyAccessedMemberTypes.NonPublicFields
204 | DynamicallyAccessedMemberTypes.PublicProperties
205 | DynamicallyAccessedMemberTypes.NonPublicProperties
206 | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
232 public static void DoesNotContain<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields | DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
258 public static void DoesNotContain<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields | DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
274 public static void DoesNotContain<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields | DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
290 public static void DoesNotContain<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicFields | DynamicallyAccessedMemberTypes.NonPublicFields | DynamicallyAccessedMemberTypes.PublicProperties | DynamicallyAccessedMemberTypes.NonPublicProperties | DynamicallyAccessedMemberTypes.PublicMethods)] TKey, TValue>(
308 DynamicallyAccessedMemberTypes.PublicFields
309 | DynamicallyAccessedMemberTypes.NonPublicFields
310 | DynamicallyAccessedMemberTypes.PublicProperties
311 | DynamicallyAccessedMemberTypes.NonPublicProperties
312 | DynamicallyAccessedMemberTypes.PublicMethods)]TKey, TValue>(