ImmutableArray <ComInterfaceData> IRcwData.GetInterfaces() { COMInterfacePointerData[]? ifs = _sos.GetRCWInterfaces(Address, _rcwData.InterfaceCount); if (ifs is null) { return(ImmutableArray <ComInterfaceData> .Empty); } return(_builder.CreateComInterfaces(ifs)); }
IReadOnlyList <ComInterfaceData> IRCWData.GetInterfaces() { COMInterfacePointerData[]? ifs = _sos.GetRCWInterfaces(Address, _rcwData.InterfaceCount); if (ifs is null) { return(Array.Empty <ComInterfaceData>()); } return(_builder.CreateComInterfaces(ifs)); }