2 references to TryOpen
System.Console (2)
System\TermInfo.DatabaseFactory.cs (2)
112
if (!
TryOpen
(string.Create(null, stackBuffer, $"{directoryPath}/{term[0]}/{term}"), out fd) && // /directory/termFirstLetter/term (Linux)
113
!
TryOpen
(string.Create(null, stackBuffer, $"{directoryPath}/{(int)term[0]:X}/{term}"), out fd)) // /directory/termFirstLetterAsHex/term (Mac)