Skip to content

BC42328 could be a little better explained #10157

@ocdtrekkie

Description

@ocdtrekkie

I have some AddHandlers and RemoveHandlers that all seem quite similar, so I have no clue why one is throwing this warning, and others aren't. This article is not particularly helpful, and when I did the Alt+Enter to show the potential fix (It basically just moved the RemoveHandler line in question to a new method), it showed the same warning on the "fixed" version!

It's also strange that it says the AddressOf expression "has no effect", when it has the effect of allowing a successful compile... not having one there is a syntax error.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 484150

Metadata

Metadata

Labels

📌 seQUESTeredIdentifies that an issue has been imported into Quest.dotnet-visualbasic/svcin-prThis issue will be closed (fixed) by an active pull request.okr-qualityContent-quality KR: Concerns article defects (bugs), freshness, or build warnings.

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions