[generate-type-forwarders] Fix missing `protected internal` methods stubs (#10956)

Example:

```diff
-protected virtual void OnNewPersonComplete (ABNewPersonCompleteEventArgs e);
```
This commit is contained in:
Sebastien Pouliot 2021-03-24 17:42:43 -04:00 коммит произвёл GitHub
Родитель 9224246d25
Коммит c3981d257e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -38,7 +38,7 @@ namespace GenerateTypeForwarders {
{ {
if (method is null) if (method is null)
return false; return false;
return method.IsPublic || method.IsFamily; return method.IsPublic || method.IsFamily || method.IsFamilyOrAssembly;
} }
static bool IsVisible (this PropertyDefinition property) static bool IsVisible (this PropertyDefinition property)