DefinitionBase: fix issue where isProtected() returned false for protected static APIs

Similar functions, like isPublic(), isInternal(), and isPrivate() work the same for both static and non-static APIs, so this makes it more consistent for protected APIs. This was likely overlooked because there's a IStaticProtectedNamespaceDefinition, but nothing similar for other static namespaces.
1 file changed