Skip to content

remove ENABLE_MONO_SUPPORT#13531

Merged
KevinRansom merged 5 commits intodotnet:mainfrom
KevinRansom:removeENABLE_MONO_SUPPORT
Jul 20, 2022
Merged

remove ENABLE_MONO_SUPPORT#13531
KevinRansom merged 5 commits intodotnet:mainfrom
KevinRansom:removeENABLE_MONO_SUPPORT

Conversation

@KevinRansom
Copy link
Copy Markdown
Contributor

Fixes: #13443

Code cleanup ... remove some dead code related to support for the old mono runtime.

@KevinRansom KevinRansom merged commit 0666a98 into dotnet:main Jul 20, 2022
@vzarytovskii vzarytovskii added this to the July-2022 milestone Jul 22, 2022
@dsyme
Copy link
Copy Markdown
Contributor

dsyme commented Sep 21, 2022

Looks like this caused regression #13944 - will take a look why


#if RESIDENT_COMPILER
if runningOnMono && hasArgument "resident" argv then
if hasArgument "resident" argv then
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section could have been removed as "running on mono" is always false now

let mutable enableConsoleKeyProcessing =
// Mono on Win32 doesn't implement correct console processing
not (runningOnMono && Environment.OSVersion.Platform = PlatformID.Win32NT)
not (Environment.OSVersion.Platform = PlatformID.Win32NT)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runningOnMono is always false, so this should have become let mutable enableConsoleKeyProcessing = true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Do we still need the ENABLE_MONO_SUPPORT code

4 participants