[generate-type-forwarders] Fix missing `protected internal` methods stubs (#10956)
Example: ```diff -protected virtual void OnNewPersonComplete (ABNewPersonCompleteEventArgs e); ```
This commit is contained in:
Родитель
9224246d25
Коммит
c3981d257e
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче