Skip to content

Commit

Permalink
Hide warning I can't do anything about
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrondeau committed Mar 12, 2016
1 parent c71c8ee commit f673678
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GoToWindow.Extensibility/ViewModel/ErrorResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ public class ErrorResult : SearchResultBase, IBasicSearchResult, INotifyProperty
private readonly string _message;
private readonly Exception _exc;

#pragma warning disable 67
public event PropertyChangedEventHandler PropertyChanged;
#pragma warning restore 67

public ErrorResult(string message, Exception exc, Func<UserControl> viewCtor)
: base(viewCtor)
Expand Down
2 changes: 2 additions & 0 deletions GoToWindow/Commands/ExitCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ namespace GoToWindow.Commands
{
public class ExitCommand : ICommand
{
#pragma warning disable 67
public event EventHandler CanExecuteChanged;
#pragma warning restore 67

public bool CanExecute(object parameter)
{
Expand Down
2 changes: 2 additions & 0 deletions GoToWindow/Commands/GoToWindowEntryShortcutCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ public class GoToWindowEntryShortcutCommand : ICommand
{
private readonly Func<int, ISearchResult> _getEntryAt;

#pragma warning disable 67
public event EventHandler CanExecuteChanged;
#pragma warning restore 67
public event EventHandler Executed;

public GoToWindowEntryShortcutCommand(Func<int, ISearchResult> getEntryAt)
Expand Down
2 changes: 2 additions & 0 deletions GoToWindow/Commands/OpenMainWindowCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ public class OpenMainWindowCommand : ICommand
{
private readonly IGoToWindowContext _context;

#pragma warning disable 67
public event EventHandler CanExecuteChanged;
#pragma warning restore 67

public OpenMainWindowCommand(IGoToWindowContext context)
{
Expand Down
3 changes: 3 additions & 0 deletions GoToWindow/Commands/ShowSettingsCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ namespace GoToWindow.Commands
{
public class ShowSettingsCommand : ICommand
{
#pragma warning disable 67
public event EventHandler CanExecuteChanged;
#pragma warning restore 67

private readonly IGoToWindowContext _context;

public ShowSettingsCommand(IGoToWindowContext context)
Expand Down

0 comments on commit f673678

Please sign in to comment.