extensions/typescript-language-features/src/utils/dependentRegistration.ts/ConditionalRegistration/update
class ConditionalRegistration:	private update() {
		const enabled = this.conditions.every(condition => condition.value);
		if (enabled) {
			if (!this.registration) {
				this.registration = this.doRegister();
			}
		} else {
			if (this.registration) {
				this.registration.dispose();
				this.registration = undefined;
			}
		}
	}