kevinmiles / dxcorecommunityplugins

Automatically exported from code.google.com/p/dxcorecommunityplugins
0 stars 0 forks source link

CR_EnforceNamingConventions changes meaning of the code, introduces compilation warning #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Below code gets changed, introducing compilation warning:

    public class Class1
    {
        private string _myString;

        public Class1(string myString)
        {
            _myString = myString;
        }

        public string MyString
        {
            get { return _myString; }
        }
    }

this qualifier should be added in ctor body, to preserve meaning of the code.

Original issue reported on code.google.com by wlodarcz...@gmail.com on 18 Oct 2011 at 9:43