Git Product home page Git Product logo

Comments (4)

MadsTorgersen avatar MadsTorgersen commented on July 17, 2024

Thanks, good catch!

Since this isn't yet authoritative source, I'll keep these spec defects around for later application.

from csharplang.

gafter avatar gafter commented on July 17, 2024

Not sure how much it is needed. Syntactically, a nameof expression is treated as an invocation expression.

from csharplang.

bbarry avatar bbarry commented on July 17, 2024

The elvis operators are also missing (I'm not entirely sure how to even bring that up; are they unary in this table based on this?). I suppose it comes down to whether the table here is an authoritative source vs a high level summary of the language's expressions.

Syntactically to the rest of the spec nameof doesn't seem much different than checked(x), unchecked(x) or default(T) which are all in the table except for the quirk where it might not be a keyword and then becomes an invocation expression.

from csharplang.

BillWagner avatar BillWagner commented on July 17, 2024

I'm closing this. This entire clause has been removed from the C# standard in V5. The new expressions are added in the expressions chapter in the correct location.

from csharplang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.