private static TypeDefOrRefSignature ReadTypeDefOrRefSignature(IResolutionScope scope, string name, ref int position)
{
TypeReference type = null;
while (position < name.Length)
{
var typeName = ReadTypeName(name, ref position);
type = CreateTypeReference(type ?? scope, typeName);
if (position < name.Length && name[position] == '+')
position++;
else
break;
}
return new TypeDefOrRefSignature(type);
}