public static BasicSymbolStorage ToBasicSymbolStorage(this INativeSymbolLookup lookup) { var storage = new BasicSymbolStorage(); foreach (var name in lookup.NativeNames) { var symbol = lookup.GetGlobalSymbol(name); storage.Add(symbol); } return(storage); }
public void Add(NativeGlobalSymbol symbol) => _storage.Add(symbol);