Posted 11 years ago by Chris Thompson
Version: 4.0.0275
Avatar
If I use the following header and footer, I can't access the getter/setter property. The intellisense sees the private/public fields and the method just fine but it doesn't know about the getter/setter property. Do you know what is happening here?

HEADER

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
class Class1
{
private int m_Prop1;

public int Prop1
{
get
{
return m_Prop1;
}
set
{
m_Prop1 = value;
}
}

public int Prop2;

public int GetProp()
{




FOOTER
return m_Prop1;
}

}
}

Comments (2)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Are you positive that you have build 275? I believe a fix was made in build 275 related to this sort of issue. If you have build 274 or before, it is probably not resolved.


Actipro Software Support

Posted 11 years ago by Chris Thompson
Avatar
Yes I was using 274. 275 fixed the problem. Thanks
The latest build of this product (v2020.1 build 0400) was released 24 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.