Replaced a call to == with ReferenceEquals when checking for null to avoid cycles in == operators.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #186 from ddobrev/master

Checked for any native context when printing template specialisations