Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Fixes #64631

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner October 11, 2022 17:11
@ghost ghost added the Area-IDE label Oct 11, 2022
@CyrusNajmabadi
Copy link
Member Author

@ryzngard ptal. thanks!

@VBAndCs
Copy link

VBAndCs commented Oct 12, 2022

Thanks @CyrusNajmabadi

@CyrusNajmabadi
Copy link
Member Author

@genlu can you ptal? tahnks!

' e.g. `WriteLine(SomeMethod)` is equivalent to `WriteLine(SomeMethod())`. So infer the return
' type of 'SomeMethod' here, not a delegate type for it.
'
' Note: this does not apply if teh user wrote `WriteLine(AddressOf SomeMethod)` of course.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
' Note: this does not apply if teh user wrote `WriteLine(AddressOf SomeMethod)` of course.
' Note: this does not apply if the user wrote `WriteLine(AddressOf SomeMethod)` of course.

@CyrusNajmabadi CyrusNajmabadi merged commit c99037b into dotnet:main Oct 12, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the vbGenMethod branch October 12, 2022 21:48
@ghost ghost added this to the Next milestone Oct 12, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.5 P1 Oct 24, 2022
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.

The generate method fix in VB generates a delegate param while AddressOf is not used

5 participants