Fix #385 - Can't resolve indexer with protected access modifier
Fix NamespaceDefinitionOverwritesTypeName unit test.