public static string GetIconForType(string nodeType, SymbolAccessibility visibility) { string icon = null; iconTable[visibility].TryGetValue(nodeType.ToLower(), out icon); return(icon); }
public static string ToString(this SymbolAccessibility @this) { switch (@this) { case SymbolAccessibility.PROTECTED: return("protected"); case SymbolAccessibility.INTERNAL: return("internal"); case SymbolAccessibility.PRIVATE: return("private"); case SymbolAccessibility.PUBLIC: return("public"); } assert_not_reached(); return(null); }