=== tests/cases/conformance/classes/propertyMemberDeclarations/memberFunctionDeclarations/typeOfThisInMemberFunctions.ts === class C { >C : C foo() { >foo : () => void var r = this; >r : C >this : C } static bar() { >bar : () => void var r2 = this; >r2 : typeof C >this : typeof C } } class D { >D : D >T : T x: T; >x : T >T : T foo() { >foo : () => void var r = this; >r : D >this : D } static bar() { >bar : () => void var r2 = this; >r2 : typeof D >this : typeof D } } class E { >E : E >T : T >Date : Date x: T; >x : T >T : T foo() { >foo : () => void var r = this; >r : E >this : E } static bar() { >bar : () => void var r2 = this; >r2 : typeof E >this : typeof E } }