@ -130,7 +130,7 @@ namespace ICSharpCode.Decompiler.Ast
if (node.Ancestors != null && node.Ancestors.Count() > 0)
{
var n = node.Ancestors.FirstOrDefault(a => a.Annotation<MemberMapping>() != null);
if (n != default(AstType)) {
if (n != null) {
MemberMapping mapping = n.Annotation<MemberMapping>();
// add all ranges
@ -93,7 +93,7 @@ namespace ICSharpCode.Decompiler
//Get hash code for the SourceCodeLine field.
int hashLine = map.SourceCodeLine.GetHashCode();
//Calculate the hash code for the product.
//Calculate the hash code.
return hashRange ^ hashLine;
}