Skip to content

Release/v1.3.1 - #552

Merged
Arthurvdv merged 3 commits into
mainfrom
release/v1.3.1
Sep 14, 2026
Merged

Arthurvdv merged 3 commits into
mainfrom
release/v1.3.1

Conversation

@Arthurvdv

Copy link
Copy Markdown
Member

No description provided.

Arthurvdv and others added 3 commits September 14, 2026 08:00
#542)

DisposeAsync cancelled the shutdown token and stopped the TcpListener before the
serve loop had observed the cancellation. When the loop reached AcceptTcpClientAsync
after Stop(), .NET threw InvalidOperationException ("Not listening") instead of an
OperationCanceledException, failing the last test that used the server. Cancel,
await the loop, then stop the listener.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…d receiver (#551)

IInvocationExpression.Instance is null for static built-in class calls (IsolatedStorage.Get,
NumberSequence.Next, bare Error) as well as for bare implicit-self calls inside tables and
tableextensions. GetReceiverTableType treated every null instance as bare self and resolved
IsolatedStorage.Get inside a table to the enclosing table, so PC0013 compared the call's
arguments with the primary key.

GetReceiverTableType now takes the invocation or field access itself instead of its Instance
and returns no table when a null-instance invocation targets a static method: IMethodSymbol.IsStatic
on net8.0/net10.0, and on netstandard2.1 (AL 12 has no IsStatic) a TargetMethod.ContainingSymbol
that is an IClassTypeSymbol other than Table. All eleven callers across ApplicationCop,
DocumentationCop, LinterCop, PlatformCop and the permissions detector share the fix.

Regression fixtures cover IsolatedStorage.Get inside a table procedure, a table trigger and a
tableextension. The receiver-forms guide, the netstandard2.1 compatibility table and the
fix-false-positive regression catalog record the null-instance ambiguity.

Fixes #550

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts:
#	.claude/rules/netstandard21-compatibility.md
#	.claude/rules/record-receiver-forms.md
@Arthurvdv
Arthurvdv merged commit 0b5b7a8 into main Sep 14, 2026
41 checks passed
@Arthurvdv
Arthurvdv deleted the release/v1.3.1 branch September 14, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant