Skip to content

Commit

Permalink
Disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Aug 3, 2023
1 parent 2d70186 commit f2aa777
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ void HandleCustomPaste(CustomPasteEventArgs eventArgs)
}

[EventHandler("oncustompaste", typeof(CustomPasteEventArgs), enableStopPropagation: true, enablePreventDefault: true)]
#pragma warning disable CA1724 // The type name EventHandlers conflicts in whole or in part with the namespace name 'Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.EventHandlers'.
public static class EventHandlers
#pragma warning restore
{
// This static class doesn't need to contain any members. It's just a place where we can put
// [EventHandler] attributes to configure event types on the Razor compiler. This affects the
Expand Down

0 comments on commit f2aa777

Please sign in to comment.