RicoSuter / Namotion.Reflection

.NET library with advanced reflection APIs.
MIT License
212 stars 44 forks source link

CachingXDocument.ElementByNameCache is not cleared #115

Closed SebastianStehle closed 2 years ago

SebastianStehle commented 2 years ago

Hi,

in your open api middleware you clear the XmlDocs cache with XmlDocs.ClearCache but CachingXDocument.ElementByNameCache is not cached.

I also do not understand why this is even static. Could it not return values from the wrong document?