6 types derived from PropertyInfo
PresentationFramework (1)
System.Private.CoreLib (2)
System.Reflection.Context (2)
System.Reflection.MetadataLoadContext (1)
1590 references to PropertyInfo
aspire (1)
Aspire.Azure.Messaging.EventHubs.Tests (1)
Aspire.Cli.Tests (3)
Aspire.Confluent.Kafka (5)
Aspire.Dashboard.Components.Tests (1)
Aspire.Hosting.Browsers.Tests (1)
Aspire.Hosting.CodeGeneration.Go (10)
Aspire.Hosting.CodeGeneration.Java (5)
Aspire.Hosting.CodeGeneration.TypeScript (9)
Aspire.Hosting.CodeGeneration.TypeScript.Tests (2)
Aspire.Hosting.Native.CodeGeneration (17)
Aspire.Hosting.RemoteHost (26)
Aspire.Hosting.RemoteHost.Tests (3)
Aspire.Hosting.Tests (19)
Aspire.Hosting.Yarp (1)
Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.Tests (1)
Aspire.StackExchange.Redis (5)
Aspire.TypeSystem (7)
Client.TypedClient.IntegrationTests (2)
dotnet-format (1)
dotnet-svcutil-lib (95)
dotnet-svcutil.xmlserializer (3)
GenerateDocumentationAndConfigFiles (1)
GetDocument.Insider (1)
Infrastructure.Common (1)
Infrastructure.Tests (1)
Microsoft.AspNetCore.Components (26)
Microsoft.AspNetCore.Components.Endpoints (19)
Microsoft.AspNetCore.Components.Forms (7)
Microsoft.AspNetCore.Components.Web (3)
Microsoft.AspNetCore.Grpc.JsonTranscoding (5)
Microsoft.AspNetCore.Http.Abstractions (10)
Microsoft.AspNetCore.Http.Extensions (25)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (6)
Microsoft.AspNetCore.Identity.UI (2)
Microsoft.AspNetCore.InternalTesting (1)
Microsoft.AspNetCore.Mvc.Abstractions (9)
Microsoft.AspNetCore.Mvc.ApiExplorer (5)
Microsoft.AspNetCore.Mvc.Core (43)
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
Microsoft.AspNetCore.Mvc.Razor (6)
Microsoft.AspNetCore.Mvc.RazorPages (12)
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (13)
Microsoft.AspNetCore.OpenApi (14)
Microsoft.AspNetCore.Routing (10)
Microsoft.AspNetCore.Routing.Abstractions (10)
Microsoft.AspNetCore.Server.IntegrationTesting (1)
Microsoft.AspNetCore.SignalR.Core (6)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.Watch.BrowserRefresh (2)
Microsoft.Build (6)
Microsoft.Build.Framework (14)
Microsoft.Build.Tasks.Core (4)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.ExternalAccess.Extensions (1)
Microsoft.CodeAnalysis.NetAnalyzers (4)
Microsoft.CodeAnalysis.Scripting (6)
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
Microsoft.CSharp (13)
Microsoft.DotNet.Build.Tasks.Packaging (5)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Caching.Hybrid.Tests (3)
Microsoft.Extensions.Compliance.Redaction (2)
Microsoft.Extensions.Configuration.Binder (54)
ConfigurationBinder.cs (54)
29private readonly Dictionary<PropertyInfo, PropertyInfo>? _effectiveGetProperties;
30private readonly Dictionary<PropertyInfo, PropertyInfo>? _effectiveSetProperties;
31private readonly Dictionary<PropertyInfo, string>? _configurationKeyNames;
32private readonly HashSet<PropertyInfo>? _ignoredProperties;
35List<PropertyInfo> properties,
36Dictionary<PropertyInfo, PropertyInfo>? effectiveGetProperties,
37Dictionary<PropertyInfo, PropertyInfo>? effectiveSetProperties,
38Dictionary<PropertyInfo, string>? configurationKeyNames,
39HashSet<PropertyInfo>? ignoredProperties)
48public List<PropertyInfo> Properties { get; }
50public PropertyInfo? GetEffectiveGetProperty(PropertyInfo property)
57return _effectiveGetProperties?.TryGetValue(property, out PropertyInfo? getProperty) is true
62public PropertyInfo? GetEffectiveSetProperty(PropertyInfo property)
69return _effectiveSetProperties?.TryGetValue(property, out PropertyInfo? setProperty) is true
74public string GetConfigurationKeyName(PropertyInfo property)
81public bool IsIgnored(PropertyInfo property) =>
285foreach (PropertyInfo property in modelProperties.Properties)
307foreach (PropertyInfo property in modelProperties.Properties)
338private static void ResetPropertyValue(PropertyInfo property, in PropertyBindingData properties, object instance, BinderOptions options)
340PropertyInfo? getProperty = properties.GetEffectiveGetProperty(property);
341PropertyInfo? setProperty = properties.GetEffectiveSetProperty(property);
357private static void BindProperty(PropertyInfo property, in PropertyBindingData properties, object instance, IConfiguration config, BinderOptions options)
359PropertyInfo? getProperty = properties.GetEffectiveGetProperty(property);
369PropertyInfo? setProperty = properties.GetEffectiveSetProperty(property);
701foreach (PropertyInfo property in properties.Properties)
782PropertyInfo keyMethod = kvpType.GetProperty("Key", DeclaredOnlyLookup)!;
783PropertyInfo valueMethod = kvpType.GetProperty("Value", DeclaredOnlyLookup)!;
844PropertyInfo indexerProperty = dictionaryType.GetProperty("Item", DeclaredOnlyLookup)!;
1191var allProperties = new List<PropertyInfo>();
1192Dictionary<PropertyInfo, PropertyInfo>? effectiveGetProperties = null;
1193Dictionary<PropertyInfo, PropertyInfo>? effectiveSetProperties = null;
1194Dictionary<PropertyInfo, string>? configurationKeyNames = null;
1195HashSet<PropertyInfo>? ignoredProperties = null;
1205PropertyInfo[] properties = baseType.GetProperties(DeclaredOnlyLookup);
1207foreach (PropertyInfo property in properties)
1215PropertyInfo? getProperty = GetEffectiveProperty(property, getter: true);
1216PropertyInfo? setProperty = GetEffectiveProperty(property, getter: false);
1293private static PropertyInfo? GetEffectiveProperty(PropertyInfo property, bool getter)
1311PropertyInfo? candidate = GetDeclaredProperty(baseType, property.Name);
1333PropertyInfo? getProperty,
1334PropertyInfo? setProperty,
1346PropertyInfo property,
1364PropertyInfo? candidate = GetDeclaredProperty(baseType, property.Name);
1391private static PropertyInfo? GetDeclaredProperty(Type type, string name) =>
1401PropertyInfo property,
Microsoft.Extensions.Diagnostics.HealthChecks.ResourceUtilization (2)
Microsoft.Extensions.Diagnostics.Probes (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Documents.Abstractions.Tests (2)
Microsoft.Extensions.Http.Resilience (2)
Microsoft.Extensions.Http.Resilience.Tests (1)
Microsoft.Extensions.Options.DataAnnotations (2)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.VectorData.Abstractions (10)
Microsoft.Extensions.VectorData.Abstractions.Tests (6)
Microsoft.Extensions.VectorData.ConformanceTests (7)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.JSInterop (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (10)
Microsoft.Maui.Controls.Xaml (13)
Microsoft.ML.Core (1)
Microsoft.ML.Data (19)
Utils\ApiUtils.cs (8)
25private static readonly FuncStaticMethodInfo3<PropertyInfo, OpCode, Delegate> _generatePeekPropertyMethodInfo
26= new FuncStaticMethodInfo3<PropertyInfo, OpCode, Delegate>(GeneratePeek<int, int, int>);
31private static readonly FuncStaticMethodInfo3<PropertyInfo, Delegate> _generatePokePropertyMethodInfo
32= new FuncStaticMethodInfo3<PropertyInfo, Delegate>(GeneratePoke<int, int, int>);
77case PropertyInfo propertyInfo:
109private static Delegate GeneratePeek<TOwn, TRow, TValue>(PropertyInfo propertyInfo, OpCode assignmentOpCode)
145case PropertyInfo propertyInfo:
174private static Delegate GeneratePoke<TOwn, TRow, TValue>(PropertyInfo propertyInfo)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.IntegrationTests (1)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.ML.SearchSpace (2)
Microsoft.ML.Tests (2)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.TestPlatform.Build (1)
Microsoft.TestPlatform.CrossPlatEngine (2)
Microsoft.VisualStudio.TestPlatform.Common (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
MSBuild (3)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (58)
PresentationCore (5)
PresentationFramework (108)
System\Windows\Markup\XamlTypeMapper.cs (19)
824as PropertyInfo;
1101internal bool IsAllowedPropertySet(PropertyInfo pi)
1109internal bool IsAllowedPropertyGet(PropertyInfo pi)
1117internal static bool IsAllowedPropertySet(PropertyInfo pi, bool allowProtected, out bool isPublic)
1130private static bool IsAllowedPropertyGet(PropertyInfo pi, bool allowProtected, out bool isPublic)
1799internal PropertyInfo GetXmlLangProperty(
1896private PropertyInfo PropertyInfoFromName(
1903PropertyInfo info = null;
1945PropertyInfo[] infos = ownerType.GetProperties(
2046PropertyInfo propertyInfo = propertyMember as PropertyInfo;
2090PropertyInfo propertyInfo = propertyMember as PropertyInfo;
2768internal static object GetInternalPropertyValue(ParserContext pc, object rootElement, PropertyInfo pi, object target)
2783internal static bool SetInternalPropertyValue(ParserContext pc, object rootElement, PropertyInfo pi, object target, object value)
4002PropertyInfo dpInfo,
4071PropertyInfo dpInfo,
4085public PropertyInfo PropInfo;
4198public PropertyInfo XmlLangProperty;
PresentationUI (1)
ReachFramework (17)
Roslyn.Diagnostics.Analyzers (1)
Shared (2)
System.ComponentModel.Annotations (6)
System.ComponentModel.Composition (15)
System.ComponentModel.Composition.Registration (32)
System\ComponentModel\Composition\Registration\PartBuilder.cs (26)
27private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>> _propertyExports;
28private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>> _propertyImports;
39_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type>>();
40_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type>>();
109public PartBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter)
116public PartBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter,
117Action<PropertyInfo, ExportBuilder> exportConfiguration)
127public PartBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter)
134public PartBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter,
135Action<PropertyInfo, ExportBuilder> exportConfiguration)
145public PartBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter)
152public PartBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter,
153Action<PropertyInfo, ImportBuilder> importConfiguration)
162public PartBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter)
169public PartBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter,
170Action<PropertyInfo, ImportBuilder> importConfiguration)
420foreach (PropertyInfo pi in type.GetProperties())
423PropertyInfo declaredPi = pi.DeclaringType.UnderlyingSystemType.GetProperty(pi.Name, pi.PropertyType);
429foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportBuilder>, Type> importSpecification in _propertyImports)
469foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportBuilder>, Type> exportSpecification in _propertyExports)
System.ComponentModel.TypeConverter (12)
System.Composition.Convention (44)
System\Composition\Convention\PartConventionBuilder.cs (35)
31private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>> _propertyExports;
32private readonly List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>>> _propertyImports;
42_propertyExports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type>>();
43_propertyImports = new List<Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>>>();
177public PartConventionBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter)
190public PartConventionBuilder ExportProperties(Predicate<PropertyInfo> propertyFilter,
191Action<PropertyInfo, ExportConventionBuilder> exportConfiguration)
199private PartConventionBuilder ExportPropertiesImpl(Predicate<PropertyInfo> propertyFilter,
200Action<PropertyInfo, ExportConventionBuilder> exportConfiguration)
212public PartConventionBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter)
226public PartConventionBuilder ExportProperties<T>(Predicate<PropertyInfo> propertyFilter,
227Action<PropertyInfo, ExportConventionBuilder> exportConfiguration)
235private PartConventionBuilder ExportPropertiesImpl<T>(Predicate<PropertyInfo> propertyFilter,
236Action<PropertyInfo, ExportConventionBuilder> exportConfiguration)
247public PartConventionBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter)
260public PartConventionBuilder ImportProperties(Predicate<PropertyInfo> propertyFilter,
261Action<PropertyInfo, ImportConventionBuilder> importConfiguration)
269private PartConventionBuilder ImportPropertiesImpl(Predicate<PropertyInfo> propertyFilter,
270Action<PropertyInfo, ImportConventionBuilder> importConfiguration)
282public PartConventionBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter)
296public PartConventionBuilder ImportProperties<T>(Predicate<PropertyInfo> propertyFilter,
297Action<PropertyInfo, ImportConventionBuilder> importConfiguration)
305private PartConventionBuilder ImportPropertiesImpl<T>(Predicate<PropertyInfo> propertyFilter,
306Action<PropertyInfo, ImportConventionBuilder> importConfiguration)
308Predicate<PropertyInfo> typedFilter = pi => pi.PropertyType.Equals(typeof(T)) && (propertyFilter == null || propertyFilter(pi));
664foreach (PropertyInfo pi in type.GetRuntimeProperties())
671PropertyInfo underlyingPi = null;
674foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ImportConventionBuilder>> importSpecification in _propertyImports)
711foreach (Tuple<Predicate<PropertyInfo>, Action<PropertyInfo, ExportConventionBuilder>, Type> exportSpecification in _propertyExports)
System.Composition.Hosting (1)
System.Composition.TypedParts (12)
System.Configuration.ConfigurationManager (9)
System.Data.Common (2)
System.Diagnostics.DiagnosticSource (7)
System.DirectoryServices.AccountManagement (2)
System.Drawing.Primitives (1)
System.Linq.Expressions (73)
System\Linq\Expressions\IndexExpression.cs (17)
25PropertyInfo? indexer,
67/// Gets the <see cref="PropertyInfo"/> for the property if the expression represents an indexed property, returns null otherwise.
69public PropertyInfo? Indexer { get; }
138public static IndexExpression MakeIndex(Expression instance, PropertyInfo? indexer, IEnumerable<Expression>? arguments)
217PropertyInfo pi = FindInstanceProperty(instance.Type, propertyName, arguments);
227private static PropertyInfo FindInstanceProperty(
234PropertyInfo? pi = FindProperty(type, propertyName, arguments, flags);
270private static PropertyInfo? FindProperty(
276PropertyInfo? property = null;
278foreach (PropertyInfo pi in type.GetProperties(flags))
296private static bool IsCompatible(PropertyInfo pi, Expression[]? args)
345/// <param name="indexer">The <see cref="PropertyInfo"/> that represents the property to index.</param>
348public static IndexExpression Property(Expression? instance, PropertyInfo indexer, params Expression[]? arguments)
357/// <param name="indexer">The <see cref="PropertyInfo"/> that represents the property to index.</param>
360public static IndexExpression Property(Expression? instance, PropertyInfo indexer, IEnumerable<Expression>? arguments) =>
363private static IndexExpression MakeIndexProperty(Expression? instance, PropertyInfo indexer, string paramName, ReadOnlyCollection<Expression> argList)
374private static void ValidateIndexedProperty(Expression? instance, PropertyInfo indexer, string paramName, ref ReadOnlyCollection<Expression> argList)
System\Linq\Expressions\MemberExpression.cs (12)
33internal static PropertyExpression Make(Expression? expression, PropertyInfo property)
48return fi == null ? (MemberExpression)Make(expression, (PropertyInfo)member) : Make(expression, fi);
105private readonly PropertyInfo _property;
106public PropertyExpression(Expression? expression, PropertyInfo member)
211PropertyInfo? pi = expression.Type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy)
235PropertyInfo? pi = type.GetProperty(propertyName, BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy)
250public static MemberExpression Property(Expression? expression, PropertyInfo property)
308private static PropertyInfo GetProperty(MethodInfo mi, string? paramName, int index = -1)
315PropertyInfo[] props = type.GetProperties(flags);
316foreach (PropertyInfo pi in props)
364PropertyInfo? pi = expression.Type.GetProperty(propertyOrFieldName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.FlattenHierarchy);
394if (member is PropertyInfo pi)
System.Net.Security (1)
System.Private.CoreLib (110)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Attribute.cs (10)
149private static Attribute[] InternalGetCustomAttributes(PropertyInfo element, Type type, bool inherit)
163PropertyInfo? baseProp = GetParentDefinition(element, indexParamTypes);
186private static bool InternalIsDefined(PropertyInfo element, Type attributeType, bool inherit)
202PropertyInfo? baseProp = GetParentDefinition(element, indexParamTypes);
219private static PropertyInfo? GetParentDefinition(PropertyInfo property, Type[] propertyParameters)
513private static Type[] GetIndexParameterTypes(PropertyInfo element)
595MemberTypes.Property => InternalGetCustomAttributes((PropertyInfo)element, attributeType, inherit),
612MemberTypes.Property => InternalGetCustomAttributes((PropertyInfo)element, typeof(Attribute), inherit),
634MemberTypes.Property => InternalIsDefined((PropertyInfo)element, attributeType, inherit),
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (10)
411public PropertyInfo? GetProperty(string name) => GetProperty(name, DefaultLookup);
414public PropertyInfo? GetProperty(string name, BindingFlags bindingAttr)
424public PropertyInfo? GetProperty(string name, Type? returnType)
432public PropertyInfo? GetProperty(string name, Type[] types) => GetProperty(name, null, types);
435public PropertyInfo? GetProperty(string name, Type? returnType, Type[] types) => GetProperty(name, returnType, types, null);
438public PropertyInfo? GetProperty(string name, Type? returnType, Type[] types, ParameterModifier[]? modifiers) => GetProperty(name, DefaultLookup, null, returnType, types, modifiers);
441public PropertyInfo? GetProperty(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[] types, ParameterModifier[]? modifiers)
450protected abstract PropertyInfo? GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers);
453public PropertyInfo[] GetProperties() => GetProperties(DefaultLookup);
456public abstract PropertyInfo[] GetProperties(BindingFlags bindingAttr);
System\Reflection\Runtime\BindingFlagSupport\PropertyPolicies.cs (10)
13internal sealed class PropertyPolicies : MemberPolicies<PropertyInfo>
19public sealed override IEnumerable<PropertyInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? optionalNameFilter, RuntimeTypeInfo reflectedType)
26public sealed override void GetMemberAttributes(PropertyInfo member, out MethodAttributes visibility, out bool isStatic, out bool isVirtual, out bool isNewSlot)
53public sealed override bool IsSuppressedByMoreDerivedMember(PropertyInfo member, PropertyInfo[] priorMembers, int startIndex, int endIndex)
58PropertyInfo prior = priorMembers[i];
72public sealed override bool OkToIgnoreAmbiguity(PropertyInfo m1, PropertyInfo m2)
77private static MethodInfo? GetAccessorMethod(PropertyInfo property)
88private static MethodInfo? GetMostAccessibleAccessor(PropertyInfo property)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.BindingFlags.cs (9)
98public PropertyInfo[] GetProperties(BindingFlags bindingAttr) => Query<PropertyInfo>(PropertyPolicies.Instance, bindingAttr).ToArray();
100public PropertyInfo GetPropertyImpl(string name, BindingFlags bindingAttr, Binder binder, Type returnType, Type[] types, ParameterModifier[] modifiers)
110return Query<PropertyInfo>(PropertyPolicies.Instance, name, bindingAttr).Disambiguate();
115QueryResult<PropertyInfo> queryResult = Query<PropertyInfo>(PropertyPolicies.Instance, name, bindingAttr);
116ListBuilder<PropertyInfo> candidates = default;
117foreach (PropertyInfo candidate in queryResult)
132PropertyInfo firstCandidate = candidates[0];
System.Private.DataContractSerialization (52)
System.Private.Reflection.Execution (2)
System.Private.Windows.Core.TestUtilities (8)
System.Private.Xml (53)
System.Reflection (1)
System.Reflection.Context (44)
System\Reflection\Context\Custom\CustomType.cs (19)
45public override PropertyInfo[] GetProperties(BindingFlags bindingAttr)
48PropertyInfo[] properties = base.GetProperties(bindingAttr);
58List<PropertyInfo> results = new List<PropertyInfo>(properties);
69IEnumerable<PropertyInfo> newProperties = baseType.NewProperties;
73foreach (PropertyInfo prop in newProperties)
83protected override PropertyInfo? GetPropertyImpl(string name, BindingFlags bindingAttr, Binder? binder, Type? returnType, Type[]? types, ParameterModifier[]? modifiers)
85PropertyInfo? property = base.GetPropertyImpl(name, bindingAttr, binder, returnType, types, modifiers);
102List<PropertyInfo> matchingProperties = new List<PropertyInfo>();
114foreach (PropertyInfo newDeclaredProperty in type.NewProperties)
124foreach (PropertyInfo newBaseProperty in type.NewProperties)
156foreach (PropertyInfo prop in NewProperties)
169foreach (PropertyInfo prop in baseType.NewProperties)
171PropertyInfo inheritedProperty = new InheritedPropertyInfo(prop, this);
239foreach (PropertyInfo newDeclaredProperty in NewProperties)
258foreach (PropertyInfo newBaseProperty in baseType.NewProperties)
262PropertyInfo inheritedProperty = new InheritedPropertyInfo(newBaseProperty, this);
299private IEnumerable<PropertyInfo> NewProperties => field ??= ReflectionContext.GetNewPropertiesForType(this);
System.Reflection.DispatchProxy (4)
System.Reflection.Emit (25)
System.Reflection.MetadataLoadContext (49)
System\Reflection\Runtime\BindingFlagSupport\PropertyPolicies.cs (13)
12internal sealed class PropertyPolicies : MemberPolicies<PropertyInfo>
14public sealed override IEnumerable<PropertyInfo> GetDeclaredMembers(TypeInfo typeInfo)
19public sealed override IEnumerable<PropertyInfo> CoreGetDeclaredMembers(RuntimeTypeInfo type, NameFilter? filter, RuntimeTypeInfo reflectedType)
26public sealed override void GetMemberAttributes(PropertyInfo member, out MethodAttributes visibility, out bool isStatic, out bool isVirtual, out bool isNewSlot)
49public sealed override bool ImplicitlyOverrides(PropertyInfo? baseMember, PropertyInfo? derivedMember)
60public sealed override bool IsSuppressedByMoreDerivedMember(PropertyInfo member, PropertyInfo[] priorMembers, int startIndex, int endIndex)
65PropertyInfo prior = priorMembers[i];
79public sealed override bool OkToIgnoreAmbiguity(PropertyInfo m1, PropertyInfo m2)
84private static MethodInfo? GetAccessorMethod(PropertyInfo property) =>
87private static MethodInfo? GetMostAccessibleAccessor(PropertyInfo property)
System.Reflection.TypeExtensions (12)
System.Runtime (1)
System.Runtime.InteropServices (2)
System.Security.Cryptography (1)
System.ServiceModel.Primitives (17)
System.ServiceModel.Primitives.Tests (1)
System.Text.Json (37)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (25)
System.Windows.Forms.Design (15)
System.Windows.Forms.Primitives (2)
System.Xaml (34)
WindowsFormsIntegration (3)