public sealed class MyClass { private string _myField; public string MyProperty { get { return _myField; } set { _myField = value; } } [ MyAttribute() ] public string MyOtherProperty { get { throw new NotImplementedException(); } } /// /// Does somethings... /// protected void MyMethod( int i, int j ) { throw new NotImplementedException(); } }