MethodInjector.GetMethodAttributes C# (CSharp) Метод

GetMethodAttributes() статический приватный Метод

static private GetMethodAttributes ( TypeDefinition targetType ) : MethodAttributes,
targetType TypeDefinition
Результат MethodAttributes,
    static MethodAttributes GetMethodAttributes(TypeDefinition targetType)
    {
        if (targetType.IsSealed)
        {
            return MethodAttributes.Public | MethodAttributes.HideBySig;
        }
        return MethodAttributes.Virtual | MethodAttributes.Public | MethodAttributes.NewSlot;
    }