public static ISymUnmanagedVariable[] GetLocals(this ISymUnmanagedScope scope)
{
if (scope == null)
{
throw new ArgumentNullException(nameof(scope));
}
return NullToEmpty(GetItems(scope,
(ISymUnmanagedScope a, out int b) => a.GetLocalCount(out b),
(ISymUnmanagedScope a, int b, out int c, ISymUnmanagedVariable[] d) => a.GetLocals(b, out c, d)));
}