Skip to content
Discussion options

You must be logged in to vote

I think the idea here is that local functions are not members and thus their names don't get used for CallerMemberName. Only the containing member's name gets used, i.e., Main.

Since the containing member will always be the same for all calls of a local function, the current behavior is perhaps not that useful.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@FaustVX
Comment options

@CyrusNajmabadi
Comment options

@FaustVX
Comment options

Answer selected by FaustVX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants