public void DisableWarningAsError(string code) { if (_promotedWarnings.Contains(code)) _promotedWarnings.Remove(code); }