dotnet / dotnet/dotnet-api-docs
This is a issue
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
There are 2 PropertyDescriptors in PropertyDescriptorCollection, if PropertyDescriptor.Name is same, the IndexOf() always return the first one. Why?
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 09d672e1-f1b4-a6ba-be3d-939077d8a822
* Version Independent ID: 6791dce7-e018-4ae9-1181-1ed94c0c16d1
* Content: [PropertyDescriptorCollection.IndexOf(PropertyDescriptor) Method (System.ComponentModel)](https://docs.microsoft.com/en-us/dotnet/api/system.componentmodel.propertydescriptorcollection.indexof?view=netframework-4.7.1#System_ComponentModel_PropertyDescriptorCollection_IndexOf_System_ComponentModel_PropertyDescriptor_)
* Content Source: [xml/System.ComponentModel/PropertyDescriptorCollection.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ComponentModel/PropertyDescriptorCollection.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.