ITADN

Mor white backgroung for some tokens in C#

#4033ClosedGriboedoff 创建于 2025-11-21
G
Griboedoffcommented
**Information:** - Prism version: latests I think, screenshot from https://prismjs.com/test#language=csharp - Plugins: none - Environment: Browser <!-- Does the latest version of Prism from the [download page](https://prismjs.com/download.html) also have this issue? If you're using Prism with Node or Webpack, please also see the [usage section](https://prismjs.com/index.html#basic-usage). --> **Description** In C# `=>` and `!` tokens has #ffffff80 background, while other code has #f5f2f0 <img width="664" height="141" alt="Image" src="https://github.com/user-attachments/assets/e1d73510-e394-4260-8295-d197dc1e6ca1" /> **Example** ``` private static string Linq(string s) { return new string(s.Where(c => !char.IsWhiteSpace(c)).ToArray()); } ```
关闭于 2025-11-22 2 条评论