Code Monkey home page Code Monkey logo

Comments (6)

shiftkey avatar shiftkey commented on June 30, 2024

Properties do not necessarily need to be public to be valid C#:

object MyCoolProperty { get; set; }
protected object MyCoolProperty { get; set; }

The access modifiers can also exist alongside the get and set:

public object MyCoolProperty { get; private set; }
public object MyOtherProperty { get; protected set; }

from language-csharp.

dsoronda avatar dsoronda commented on June 30, 2024

True, but, Visual Studio/Xamarin Studio/ShardDevelop by default use prop snippet to generate public property.
So following common sense from others IDE, same should be applied here.

from language-csharp.

shiftkey avatar shiftkey commented on June 30, 2024

@dsoronda my apologies - I thought we were talking about syntax highlighting.

If you'd like to submit a PR to make that change, I think it'd be approved...

from language-csharp.

dsoronda avatar dsoronda commented on June 30, 2024

i created PR 22 days ago and still nothing. I even created another PR for bad "w" and "wl" snippet.

from language-csharp.

shiftkey avatar shiftkey commented on June 30, 2024

i created PR 22 days ago and still nothing.

Was it this PR? https://github.com/dsoronda/language-csharp/pull/1 Unfortunately it wasn't targeting the fork instead of this repository, so we didn't see it! Sorry!

from language-csharp.

50Wliu avatar 50Wliu commented on June 30, 2024

Unless I'm missing something, I think that this was fixed by #18, so closing.

from language-csharp.

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.