Added XML documentation to SemanticComparer class.
Addressed a Code Analysis warning.
Improved semantic comparison in SemanticComparer class.