![Avatar](https://secure.gravatar.com/avatar/a7afd147ed59a096fc17ffa44536e72a.jpg?s=64&d=identicon&r=g)
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;
}
}
}
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;
}
}
}