Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Use Cache.ReadOnlyCollection<OpenXmlAttribute> for OpenXmlDomReader.Attributes #705
The original code used the List type. This type will request a piece of memory by default.
Because we also need to support the .NET Framework versions below 4.6, and these versions do not exist Array.Empty method. See https://docs.microsoft.com/en-us/dotnet/api/system.array.empty