MemberReference member = instruction.Operand; if (Mappings.GetType(member.DeclaringType.Name, DefaultNamespace) is TypeDefinitionEntry typeDefinition){ WriteIfVerbose($"Remapping reference to {member.Name}'s type {member.DeclaringType.Name} -> {typeDefinition[TargetNamespace]}"); member.DeclaringType.Name = typeDefinition.Names[TargetNamespace];}