NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

7.5.7 This access

A this-access consists of the reserved word this.

this-access:
this

A this-access is permitted only in the block of a constructor, an instance method, or an instance accessor. It has one of the following meanings:

Use of this in a primary-expression in a context other than the ones listed above is an error. In particular, it is not possible to refer to this in a static method, a static property accessor, or in a variable-initializer of a field declaration.