Skip to content

Themes don't work properly inside some C# preprocessor directives #221

@jasensic

Description

@jasensic

Hi!

I´m working in C# (.net), everything is fine until I've written the #if !NETFRAMEWORK directive.
I've attached an example of several preprocessor directives, where the code is highlighten different. It seems that it doesn't work with some directives.

Bearded Theme Version: 10.1.0

Visual Studio Version:

Version: 1.106.1 (system setup)
Commit: cb1933bbc38d329b3595673a600fab5c7368f0a7
Date: 2025-11-16T10:20:23.745Z
Electron: 37.7.0
ElectronBuildId: 12781156
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions