tests/cases/conformance/decorators/class/method/decoratorOnClassMethod11.ts(5,10): error TS2331: 'this' cannot be referenced in a module or namespace body.


==== tests/cases/conformance/decorators/class/method/decoratorOnClassMethod11.ts (1 errors) ====
    module M {
        class C {
            decorator(target: Object, key: string): void { }
    
            @this.decorator
             ~~~~
!!! error TS2331: 'this' cannot be referenced in a module or namespace body.
            method() { }
        }
    }