paulbartrum / jurassic

A .NET library to parse and execute JavaScript code.
MIT License
868 stars 121 forks source link

PropertyAccessorValue not visible #205

Closed hamarb123 closed 3 years ago

hamarb123 commented 3 years ago

Hi, I was wanting to use the PropertyAccessorValue class in my code with PropertyAttributes.IsAccessorProperty, but it is not visible. If it's not meant for public use, I won't use it, but I don't see any reason why not personally. Thanks!

paulbartrum commented 3 years ago

If you want to see if a property is an accessor, use obj.GetOwnPropertyDescriptor(key).IsAccessor.