private static bool IsEditorStyleSheet(string path) { if (!SearchUtils.EndsWith(path, ".uss")) { return(false); } return(path.IndexOf("/stylesheets/extensions/", StringComparison.OrdinalIgnoreCase) != -1 && (SearchUtils.EndsWith(path, "common.uss") || SearchUtils.EndsWith(path, Constants.isDarkTheme ? "dark.uss" : "light.uss"))); }