dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.13k stars 4.7k forks source link

Missing the description for some properties & events of migrated DataSet control #48893

Open Zheng-Li01 opened 3 years ago

Zheng-Li01 commented 3 years ago

Problem description: Missing the description for some properties & events of migrated DataSet, DirectorySearcher, DirectoryEntry, PerformanceCounte controls.

Expected behavior: There have the description for some properties & events of migrated DataSet control.

Minimal repro:

  1. Extract the attached application(FraTestingNewIssue.zip).
  2. Open the Form1.cs[Deisgn], and select the dataSet1 control.
  3. Observe the description of CaseSensitive property in the property browser window. image
RussKie commented 3 years ago

These types belong to dotnet/runtime, and AFAIK the runtime does not maintain any attributes or is being localised.

E.g. .NET Framework version vs .NET version

Deferring to respective owners to comment.

ghost commented 3 years ago

Tagging subscribers to this area: @safern See info in area-owners.md if you want to be subscribed.

Issue Details
* .NET Core Version: .NET 6.0.100-preview.3.21123.4 * Have you experienced this same bug with .NET Framework?: No **Problem description:** Missing the description for some properties & events of migrated DataSet, DirectorySearcher, DirectoryEntry, PerformanceCounte controls. **Expected behavior:** There have the description for some properties & events of migrated DataSet control. **Minimal repro:** 1. Extract the attached application([FraTestingNewIssue.zip](https://github.com/dotnet/winforms/files/6041197/FraTestingNewIssue.zip)). 2. Open the Form1.cs[Deisgn], and select the dataSet1 control. 3. Observe the description of CaseSensitive property in the property browser window. ![image](https://user-images.githubusercontent.com/38325459/109118990-0a29de00-777f-11eb-8d45-2acdab0beed2.png)
Author: Zheng-Li01
Assignees: -
Labels: `area-System.ComponentModel`, `untriaged`
Milestone: -
ghost commented 3 years ago

Tagging subscribers to this area: @roji, @ajcvickers See info in area-owners.md if you want to be subscribed.

Issue Details
* .NET Core Version: .NET 6.0.100-preview.3.21123.4 * Have you experienced this same bug with .NET Framework?: No **Problem description:** Missing the description for some properties & events of migrated DataSet, DirectorySearcher, DirectoryEntry, PerformanceCounte controls. **Expected behavior:** There have the description for some properties & events of migrated DataSet control. **Minimal repro:** 1. Extract the attached application([FraTestingNewIssue.zip](https://github.com/dotnet/winforms/files/6041197/FraTestingNewIssue.zip)). 2. Open the Form1.cs[Deisgn], and select the dataSet1 control. 3. Observe the description of CaseSensitive property in the property browser window. ![image](https://user-images.githubusercontent.com/38325459/109118990-0a29de00-777f-11eb-8d45-2acdab0beed2.png)
Author: Zheng-Li01
Assignees: -
Labels: `area-System.ComponentModel`, `area-System.Data`, `untriaged`
Milestone: -
ajcvickers commented 3 years ago

@KlausLoeffelmann Any idea what might be going on here? We're not sure how the designer and the runtime interact in cases like this.

RussKie commented 3 years ago

@ajcvickers this is due to the loss of this attribute: https://referencesource.microsoft.com/#System.Data/fx/src/data/System/Data/DataSet.cs,529