public VariableNameState Merge(VariableNameState other) { existingVariableNames.Merge(other.existingVariableNames); existingMethodNames.Merge(other.existingMethodNames); existingPropertyNames.Merge(other.existingPropertyNames); existingEventNames.Merge(other.existingEventNames); variableNameCreator.Merge(other.variableNameCreator); propertyNameCreator.Merge(other.propertyNameCreator); eventNameCreator.Merge(other.eventNameCreator); genericPropertyNameCreator.Merge(other.genericPropertyNameCreator); staticMethodNameCreator.Merge(other.staticMethodNameCreator); instanceMethodNameCreator.Merge(other.instanceMethodNameCreator); return(this); }