We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ShouldSkipAttributeReplication
.IsNestedPublic
1 parent 2eb8bd2 commit e7d6128Copy full SHA for e7d6128
src/Castle.Core/DynamicProxy/Internal/AttributeUtil.cs
@@ -185,7 +185,7 @@ public static IEnumerable<CustomAttributeInfo> GetNonInheritableAttributes(this
185
/// </summary>
186
private static bool ShouldSkipAttributeReplication(Type attribute, bool ignoreInheritance)
187
{
188
- if (attribute.IsPublic == false)
+ if (attribute.IsPublic == false && attribute.IsNestedPublic == false)
189
190
return true;
191
}
0 commit comments