class Test def main is shared .helloShared .helloShared() # .warning. unnecessary t as Test = Test() t.hello t.hello() # .warning. unnecessary def helloShared is shared Console.writeLine('Hello, world.') def hello Console.writeLine('Hello, world.') def foo() is shared # .warning. unnecessary pass def bar() # .warning. unnecessary pass