Fix Obsoletion Warnings #321

Open
opened 2021-12-10 02:38:19 -06:00 by christophwille · 2 comments
christophwille commented 2021-12-10 02:38:19 -06:00 (Migrated from github.com)

\AvalonEdit\ICSharpCode.AvalonEdit\Utils\TextFormatterFactory.cs(73,11,82,5): warning CS0618: 'FormattedText.FormattedText(string, CultureInfo, FlowDirection, Typeface, double, Brush, NumberSubstitution, TextFormattingMode)' is obsolete: 'Use the PixelsPerDip override'

\AvalonEdit\ICSharpCode.AvalonEdit\Utils\TextFormatterFactory.cs(73,11,82,5): warning CS0618: 'FormattedText.FormattedText(string, CultureInfo, FlowDirection, Typeface, double, Brush, NumberSubstitution, TextFormattingMode)' is obsolete: 'Use the PixelsPerDip override'
christophwille commented 2021-12-15 04:09:21 -06:00 (Migrated from github.com)

The suggested override is not available in net40 target. Options:

  • #if it, or
  • when obsoletion really happens drop the net40 target.
The suggested override is not available in net40 target. Options: * #if it, or * when obsoletion really happens drop the net40 target.
jimfoye commented 2023-07-16 12:20:42 -05:00 (Migrated from github.com)

The code has been changed and net40 target dropped, so I think this issue can be closed now.

The code has been changed and net40 target dropped, so I think this issue can be closed now.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#321
No description provided.