Skip to content
Merged
3 changes: 1 addition & 2 deletions RetailCoder.VBE/Common/Dispatch/DispatcherEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System;
using Rubberduck.Parsing;

namespace Rubberduck.Common.Dispatch
{
public class DispatcherEventArgs<T> : EventArgs, IDispatcherEventArgs<T>
public class DispatcherEventArgs<T> : EventArgs
where T : class
{
private readonly T _item;
Expand Down
6 changes: 2 additions & 4 deletions RetailCoder.VBE/Common/Dispatch/DispatcherRenamedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using Rubberduck.Parsing;

namespace Rubberduck.Common.Dispatch
namespace Rubberduck.Common.Dispatch
{
public class DispatcherRenamedEventArgs<T> : DispatcherEventArgs<T>, IDispatcherRenamedEventArgs<T>
public class DispatcherRenamedEventArgs<T> : DispatcherEventArgs<T>
where T : class
{
private readonly string _oldName;
Expand Down
3 changes: 3 additions & 0 deletions RetailCoder.VBE/Extension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Ninject.Extensions.Interception;
using NLog;

namespace Rubberduck
{
Expand All @@ -26,6 +27,7 @@ public class _Extension : IDTExtensibility2

private IKernel _kernel;
private App _app;
private readonly Logger _logger = LogManager.GetCurrentClassLogger();

public void OnAddInsUpdate(ref Array custom)
{
Expand All @@ -50,6 +52,7 @@ public void OnConnection(object Application, ext_ConnectMode ConnectMode, object
}
catch (Exception exception)
{
_logger.Fatal(exception);
System.Windows.Forms.MessageBox.Show(exception.ToString(), RubberduckUI.RubberduckLoadFailure, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
Expand Down
1 change: 0 additions & 1 deletion RetailCoder.VBE/Rubberduck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="PresentationFramework.Aero" />
<Reference Include="PresentationFramework.Aero2" />
<Reference Include="ReachFramework" />
<Reference Include="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<EmbedInteropTypes>False</EmbedInteropTypes>
Expand Down
Loading