internal CompletionCategory GetCompletionCategory(IType type) { if (type == null) { return(null); } if (!completionCategories.ContainsKey(type)) { completionCategories [type] = new TypeCompletionCategory(type); } return(completionCategories [type]); }
internal CompletionCategory GetCompletionCategory (IType type) { if (type == null) return null; if (!completionCategories.ContainsKey (type)) { completionCategories[type] = new TypeCompletionCategory (type); } return completionCategories[type]; }