Add System.StringComparer to sandbox

Fixes #6081
This commit is contained in:
PJB3005
2026-02-05 21:32:59 +01:00
parent 75d0c29973
commit ec0c667c33
2 changed files with 2 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ END TEMPLATE-->
### New features
* If a sandbox error is caused by a compiler-generated method, the engine will now attempt to point out which using code is responsible.
* Added `OrderedDictionary<TKey, TValue>` to the sandbox whitelist.
* Added `OrderedDictionary<TKey, TValue>` and `System.StringComparer` to the sandbox whitelist.
### Bugfixes

View File

@@ -1463,6 +1463,7 @@ Types:
- "void .ctor(char[], int, int)"
- "void .ctor(System.ReadOnlySpan`1<char>)"
- "void CopyTo(int, char[], int, int)"
StringComparer: { All: True }
StringComparison: { } # Enum
StringSplitOptions: { } # Enum
TimeOnly: { All: True }