What is __argvalue?
Asked Answered
G

1

11

Also, there is one other thing that is an lvalue in VC#, though it's a language extension - __argvalue().

Source

That was the only Google result for __argvalue.

I tried it in LINQPad and it doesn't seem to exist.

Gambell answered 20/11, 2009 at 14:38 Comment(5)
No, this StackOverflow post also appears in Google when searching for "__argvalue". :-)Everick
I was waiting for someone to say that.Gambell
Yeah, Visual Studio recognises the other "secret" C# keywords that I know of - __arglist, __makeref, __reftype and __refvalue - and highlights them like any other. No such luck with __argvalue though.Heda
Pavel clearly meant __arglist. I'll fix the typo.Tabret
How can __arglist be an lvalue?Gambell
B
11

I can definitively state that there is no __argvalue in C# as of .NET Framework 4.0. The compiler binary contains a table of tokens. You can find the other hidden __ prefixed keywords starting at 0x00009840. However, a search of the entire binary shows that there is no __argvalue token.

The author of that comment may have been referring to __arglist, which can be an lvalue.

Borges answered 20/11, 2009 at 16:4 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.