Skip to content

Conversation

@michaelnebel
Copy link
Contributor

No description provided.

@github-actions github-actions bot added the C# label Jan 26, 2026
if (Symbol.ContainingSymbol is INamedTypeSymbol type &&
type.IsExtension && !string.IsNullOrEmpty(type.ExtensionParameter?.Name) &&
!Symbol.IsStatic &&
Symbol.AssociatedExtensionImplementation is IMethodSymbol associated)

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
associated
is useless, since its value is never read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant