getters and setters of VELatLong

Jan 18, 2010 at 3:39 PM

i noticed this in the previous version too... the setters in VELatLong are backwards:

 

 

public double Latitude
        {
            get { return this.lat; }
            set { value = this.lat; }
        }

 

 

public double Latitude

{
    get { return this.lat; }
    set { value = this.lat; }
}


should be:

 

 

 

 

public double Latitude

{
     get { return this.lat; }
     set { this.lat = value; }
}

 

 

 

 

 

Coordinator
Jan 19, 2010 at 5:08 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Jan 19, 2010 at 5:25 PM

Good catch, that's kind of bizarre how it got that way, but an easy fix. Thanks.