-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviormvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit
Description
Describe the bug
I have ObservableProperty named _inputFolder. When i looked the generated code by package i saw the public property is named İnputFolder but it should be InputFolder. I am using vs 2022 in english so i think trigger of the issue is OS.
Regression
No response
Steps to reproduce
1. Create a WinUI3 project and install CommunityToolkit.Mvvm
2. Add a viewmodel class and declare a variable named _inputFolder
3. Attach ObservableObject Attribute to the class and ObservableProperty to the property.
4. The generated code most probably will be work as expected because i think the issue is coming from OS.
Expected behavior
The generated code should be independent from OS because in Turkish there are I ı İ i
. Source generator is replacing i with İ
because of the OS probably.
Screenshots
IDE and version
VS 2022
IDE version
17.1.6
Nuget packages
- CommunityToolkit.Common
- CommunityToolkit.Diagnostics
- CommunityToolkit.HighPerformance
- CommunityToolkit.Mvvm (aka MVVM Toolkit)
Nuget package version(s)
7.1.2
Additional context
No response
Help us help you
No, just wanted to report this
Metadata
Metadata
Assignees
Labels
bug 🐛An unexpected issue that highlights incorrect behaviorAn unexpected issue that highlights incorrect behaviormvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit