Some templates should not be expanded if follow #warning directive.
E.g. 'for' and 'switch' templates (and every other template which ends with c# language construction) should not be expanded in such case.
As a consequence, 't(…)' template should always expand according to defined type ('to' should expand to 'object', not 'typeof')
Regards, Przemyslaw Wlodarczak
We have closed this ticket because another page addresses its subject:
Templates are available when the caret is on compiler directives