LibplctagConfinementGuard misses refs after // in literals, block comments, csproj #569
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: native .NET Allen-Bradley transport work (plan
docs/plans/2026-10-07-native-ab-transport.md, branchfeat/native-ab-transport, not yet merged). Parked as a Minor during per-task review — none of these block the plan.LibplctagConfinementGuardTests(Ab.Transport.Tests) gaps:Split("//")truncates lines inside string literals containing//(e.g. URLs) — a reference after such a literal is missed./* */block comments are not stripped..csprojPackageReferenceto libplctag is not guarded — relevant when the libplctag package is finally removed.Fixed: tokenising stripper (regular/verbatim/interpolated/raw strings, char literals, // and /* */ comments) and a csproj PackageReference guard limiting libplctag to the AbCip/AbLegacy projects. (merge
29cd25deon master, pushed 2026-10-08)