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.
  • D DaveAuld

    Google has it already...... http://stackoverflow.com/questions/1869691/undocumented-c-compiler-errors[^]

    Dave Who am I?: Web|Facebook|Twitter|LinkedIn|Bebo

    R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #19

    "closed as not a real question ..." :laugh: :laugh: :laugh: Maybe it's not a real website, if you actually want an answer. What a pack of clowns; I can't believe someone recently suggested I ask there for C# help.

    "A Journey of a Thousand Rest Stops Begins with a Single Movement"

    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

      A Offline
      A Offline
      AspDotNetDev
      wrote on last edited by
      #20

      Just because you received the error, doesn't mean you "get" it. I imagine the person that created that error code truely "got" the error.

      [Forum Guidelines]

      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
        Pete OHanlon
        wrote on last edited by
        #21

        Well, __arglist is primarily intended to support C/C++ code where a variable number of parameters can be received (of unknown number and type). I rather suspect this error is based around the fact that they don't want you to be dropping generic types into the arg list.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        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

          D Offline
          D Offline
          Dan Neely
          wrote on last edited by
          #22

          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 1 Reply Last reply
          0
          • L leppie

            ragnaroknrol wrote:

            You might want to duck.

            Your logic is flawed. My error was caused by a different method signature :) Mind you not much different (maybe his telescope is slightly out of focus?).

            int Foo(__arglist)

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

            R Offline
            R Offline
            ragnaroknrol
            wrote on last edited by
            #23

            Not only is he getting ready to take you down but he's already fixing your code for when he takes your job. ;P

            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

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

              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 1 Reply Last reply
              0
              • 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