"""
-1
"""
import System
class FooAttribute(Attribute):
[property(Value)] _value
class Bar:
[Foo(Value: -1)]
def Zeng():
pass
attributes = Attribute.GetCustomAttributes(typeof(Bar).GetMethod("Zeng"), FooAttribute)
assert 1 == len(attributes)
print((attributes[0] as FooAttribute).Value)