Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Am I the first ever person to get this error?

Am I the first ever person to get this error?

Scheduled Pinned Locked Moved The Lounge
databasecsharpphpvisual-studiocom
36 Posts 22 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Gary Kirkham

    here[^]

    Gary Kirkham Forever Forgiven and Alive in the Spirit It's against my relationship to have a religion. Me blog, You read

    Steve EcholsS Offline
    Steve EcholsS Offline
    Steve Echols
    wrote on last edited by
    #25

    That's his own post.


    - S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.

    • S
      50 cups of coffee and you know it's on!
      Code, follow, or get out of the way.
    G 1 Reply Last reply
    0
    • Steve EcholsS Steve Echols

      That's his own post.


      - S 50 cups of coffee and you know it's on! Code, follow, or get out of the way.

      G Offline
      G Offline
      Gary Kirkham
      wrote on last edited by
      #26

      :-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

      1 Reply Last reply
      0
      • N Nish Nishant

        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 link

        S Offline
        S Offline
        Super Lloyd
        wrote on last edited by
        #27

        Woa, 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.

        1 Reply Last reply
        0
        • L leppie

          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 Edition

          J Offline
          J Offline
          JimmyRopes
          wrote on last edited by
          #28

          leppie 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

          1 Reply Last reply
          0
          • L leppie

            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

            L Offline
            L Offline
            leckey 0
            wrote on last edited by
            #29

            Nish is just THAT GOOD. :-)

            Back in the blog beatch! http://CraptasticNation.blogspot.com/[^]

            1 Reply Last reply
            0
            • L leppie

              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 Edition

              modified on Tuesday, December 8, 2009 4:00 PM

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #30

              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.

              L 1 Reply Last reply
              0
              • S Shog9 0

                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.

                L Offline
                L Offline
                leppie
                wrote on last edited by
                #31

                Thanks :)

                xacc.ide
                IronScheme - 1.0 RC 1 - out now!
                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                1 Reply Last reply
                0
                • L leppie

                  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 Edition

                  M Offline
                  M Offline
                  Mark_Wallace
                  wrote on last edited by
                  #32

                  Look on the bright side: you're not using Java.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  1 Reply Last reply
                  0
                  • L leppie

                    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 Edition

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #33

                    leppie 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

                    1 Reply Last reply
                    0
                    • L leppie

                      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 Edition

                      D Offline
                      D Offline
                      dmitri_sps
                      wrote on last edited by
                      #34

                      Why? 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"?

                      1 Reply Last reply
                      0
                      • D Dan Neely

                        Are you a mind reader, or did you encounter this bit of undocumented joy before yourself?

                        3x12=36 2x12=24 1x12=12 0x12=18

                        N Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #35

                        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

                        1 Reply Last reply
                        0
                        • L leppie

                          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 Edition

                          C Offline
                          C Offline
                          CoolDadTx
                          wrote on last edited by
                          #36

                          There 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.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups