Skip to content

Fixing AssemblyVerifier.IsNameValid for Unicode Standard Annex 15 - #1094

Merged
HerpDerpinstine merged 1 commit into
LavaGang:alpha-developmentfrom
kohanis:name-validation-fix
Mar 24, 2026
Merged

HerpDerpinstine merged 1 commit into
LavaGang:alpha-developmentfrom
kohanis:name-validation-fix

Conversation

@kohanis

@kohanis kohanis commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Changing identifier check according to https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure#643-identifiers
Well, not actually, because
How an implementation enforces the restrictions on the allowable Unicode_Escape_Sequence values is an implementation issue.
means that actually any symbol is allowed (ironically, including \0. It won't work though), but I followed what was already in place

@HerpDerpinstine HerpDerpinstine added Bug / Issue Something isn't working Improvement New feature or request Under Review Currently being tested and discussed/looked at further labels Feb 25, 2026
@SquareMan

Copy link
Copy Markdown

Just wanted to say that this patch has seemed to work great for me.

I've been using this branch for a few weeks now with Cairn, working on a client mod for Archipelago. This patch is required for that game as otherwise the generated assemblies cause exceptions when loaded. I'm finishing up my initial work on that now and getting ready for release so it's unfortunate this didn't make it into 0.7.2.

@HerpDerpinstine HerpDerpinstine added Completed Work-in-Progress This issue or pull request is being worked on currently and removed Under Review Currently being tested and discussed/looked at further Completed labels Mar 23, 2026
@HerpDerpinstine
HerpDerpinstine merged commit 5d34805 into LavaGang:alpha-development Mar 24, 2026
@HerpDerpinstine HerpDerpinstine added Completed and removed Work-in-Progress This issue or pull request is being worked on currently labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug / Issue Something isn't working Completed Improvement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants