Am I the first ever person to get this error?
-
Gary Kirkham Forever Forgiven and Alive in the Spirit It's against my relationship to have a religion. Me blog, You read
That's his own post.
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.
-
That's his own post.
- S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.
:-O So it is!
Gary Kirkham Forever Forgiven and Alive in the Spirit It's against my relationship to have a religion. Me blog, You read
-
leppie wrote:
Now a little game. Provide a code sample that will trigger this error
using System;
class Program
{
static void Foo<T>(T t, __arglist)
{
}static void Main(string\[\] args) { }
}
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com linkWoa, didn't know about all that undocumented stuff!! :-)
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.
-
C# compiler error CS0224 Dont bother looking in MSDN. Heck not even Google yield 1 result*. Now a little game. Provide a code sample that will trigger this error :) * That's a lie, a better crafted query yielded a few results in Chinese
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionleppie wrote:
Am I the first ever person to get this error? C# compiler error CS0224
yes!
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
Damn! You win. How did you find that? Is my Google tricking me?
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
hammerstein05 wrote:
Or are we still playing the game?
Still playing :) I just posted a 'community wiki' on StackOverflow, so Google should catch up in a few hours. Update: I just lost all respect for the idiots on that site. My 'wiki' was closed. One of them supposedly a C# whiz at MS, the other claims to be MVP.
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionmodified on Tuesday, December 8, 2009 4:00 PM
Re-opened. Folks are a bit trigger-happy when it comes to "list" questions, as they've been so often abused ("What's your favorite worst code ever written by rockstar programmers?", etc.) For future reference, it usually works better to ask the question and then seed it with your own answer.
-
Re-opened. Folks are a bit trigger-happy when it comes to "list" questions, as they've been so often abused ("What's your favorite worst code ever written by rockstar programmers?", etc.) For future reference, it usually works better to ask the question and then seed it with your own answer.
Thanks :)
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition -
C# compiler error CS0224 Dont bother looking in MSDN. Heck not even Google yield 1 result*. Now a little game. Provide a code sample that will trigger this error :) * That's a lie, a better crafted query yielded a few results in Chinese
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth EditionLook on the bright side: you're not using Java.
I wanna be a eunuchs developer! Pass me a bread knife!
-
C# compiler error CS0224 Dont bother looking in MSDN. Heck not even Google yield 1 result*. Now a little game. Provide a code sample that will trigger this error :) * That's a lie, a better crafted query yielded a few results in Chinese
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Editionleppie wrote:
Provide a code sample that will trigger this error
RaiseError(ErrorScope.CSharp, 224);
Now, you have to inject that into the C# compiler...Personally, I love the idea that Raymond spends his nights posting bad regexs to mailing lists under the pseudonym of Jane Smith. He'd be like a super hero, only more nerdy and less useful. [Trevel]
| FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server -
They could at least left a documentation stub in. Even if it only was the message the compiler prints.
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth EditionWhy? When I look at OpenXML documentation, as an example, it is full of "stubs" like that, which do not give me a bit of information (but take an whole useless page) What's the purpose? To prove that that they hire document writers from the the same cohort of kiddie programmers who document "getX" method as "gets x"?
-
Are you a mind reader, or did you encounter this bit of undocumented joy before yourself?
3x12=36 2x12=24 1x12=12 0x12=18
Dan Neely wrote:
Are you a mind reader, or did you encounter this bit of undocumented joy before yourself?
CS0225 is documented and related to the params keyword, and so I guessed that CS0224 would be something similar to that. The Chinese search results also confirmed this (they showed varargs in the message, the rest of which was in Chinese). Typically most of the originally tried out and discarded (and thus undocumented) features don't work with generics - so that was one of the first things I tried, and I got the error :-)
Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
My latest book : C++/CLI in Action / Amazon.com link -
C# compiler error CS0224 Dont bother looking in MSDN. Heck not even Google yield 1 result*. Now a little game. Provide a code sample that will trigger this error :) * That's a lie, a better crafted query yielded a few results in Chinese
xacc.ide
IronScheme - 1.0 RC 1 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth EditionThere are actually several variations that will give you this error. In all cases you are using a keyword. The problem is there are some keywords that are either not documented or context sensitive. For example get_ is not allowed because this is the signature use to generate the getter of a property. In general you should not use any variable that starts with __ (two underscores). C/C++ defines compiler-specific values and keywords using two underscores for convenience. The C# folks followed the same rule. Avoid using __ and you should be fine.