- Have you experienced this same bug with .NET Framework?: No
OS: RS4 X64
VS: Dev16 16.2.0 Preview 1.0 [28913.52.d16.2]
.NET Core: 3.0.100-preview6-011867 from Master branch
More Info:
This issue can repro in TextBox control too, but RichTextBox control works well.
Steps to reproduce:
- Install the .NET Core 3.0 SDK from https://github.com/dotnet/core-sdk for Master branch.
- Open the attached ‘.NETCoreTestcase’ .NET Core app in VS.
- Start it and observe the returned values from GetPositionFromCharIndex() and GetCharIndexFromPosition() methods in debugging result.
NETCoreTestcase.zip
Actual:
Both of the returned values are 0.

Expected:
These two methods should return the correct values, like it works in .NET Framework.

OS: RS4 X64
VS: Dev16 16.2.0 Preview 1.0 [28913.52.d16.2]
.NET Core: 3.0.100-preview6-011867 from Master branch
More Info:
This issue can repro in TextBox control too, but RichTextBox control works well.
Steps to reproduce:
NETCoreTestcase.zip
Actual:

Both of the returned values are 0.
Expected:

These two methods should return the correct values, like it works in .NET Framework.