In a normal situation syntax highlight makes a property/member of a class light gray and an enumeration value light purple. But in the situation where both have the same name, the property/member of a class will be highlighted as an enumeration value.
class MyClass
{
enum MyEnum { member1, member2 }
public void Function()
{
SomeClass instance = new SomeClass();
instance.member1; // <--- The word member1 is colored as an enumeration
instance.anotherMember; // <--- Normal colored as member
}
}