/V4/StockTrader RI/Desktop/StockTraderRI.Infrastructure/GlobalSuppressions.cs

# · C# · 40 lines · 14 code · 1 blank · 25 comment · 0 complexity · 6a6bd0a730c971263387e67b2f778453 MD5 · raw file

  1. //===================================================================================
  2. // Microsoft patterns & practices
  3. // Composite Application Guidance for Windows Presentation Foundation and Silverlight
  4. //===================================================================================
  5. // Copyright (c) Microsoft Corporation. All rights reserved.
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
  7. // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT
  8. // LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  9. // FITNESS FOR A PARTICULAR PURPOSE.
  10. //===================================================================================
  11. // The example companies, organizations, products, domain names,
  12. // e-mail addresses, logos, people, places, and events depicted
  13. // herein are fictitious. No association with any real company,
  14. // organization, product, domain name, email address, logo, person,
  15. // places, or events is intended or should be inferred.
  16. //===================================================================================
  17. // This file is used by Code Analysis to maintain SuppressMessage
  18. // attributes that are applied to this project.
  19. // Project-level suppressions either have no target or are given
  20. // a specific target and scoped to a namespace, type, member, etc.
  21. //
  22. // To add a suppression to this file, right-click the message in the
  23. // Error List, point to "Suppress Message(s)", and click
  24. // "In Project Suppression File".
  25. // You do not need to add suppressions to this file manually.
  26. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Scope = "member", Target = "StockTraderRI.Infrastructure.Models.NewsArticle.#IconUri")]
  27. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "StockTraderRI.Infrastructure.Behaviors")]
  28. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "StockTraderRI.Infrastructure.Converters")]
  29. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "StockTraderRI.Infrastructure.PresentationModels")]
  30. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")]
  31. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1056:UriPropertiesShouldNotBeStrings", Scope = "member", Target = "StockTraderRI.Infrastructure.ExtendedHeader.#IconUri")]
  32. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "NewsFeed", Scope = "type", Target = "StockTraderRI.Infrastructure.Interfaces.INewsFeedService")]
  33. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "NewsFeed", Scope = "type", Target = "StockTraderRI.Infrastructure.Models.NewsFeedEventArgs")]
  34. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "StockTraderRI.Infrastructure.Interfaces.IAccountPositionService.#GetAccountPositions()")]
  35. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "StockTraderRI.Infrastructure.RegionAdapters")]
  36. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "StockTraderRI.Infrastructure.ReturnKey.#GetCommand(System.Windows.Controls.TextBox)", Justification = "The attached property will only work on TextBoxes.")]
  37. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "StockTraderRI.Infrastructure.ReturnKey.#SetCommand(System.Windows.Controls.TextBox,System.Windows.Input.ICommand)", Justification = "The attached property will only work on TextBoxes.")]
  38. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "StockTraderRI.Infrastructure.ReturnKey.#GetDefaultTextAfterCommandExecution(System.Windows.Controls.TextBox)", Justification = "The attached property will only work on TextBoxes.")]
  39. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters", Scope = "member", Target = "StockTraderRI.Infrastructure.ReturnKey.#SetDefaultTextAfterCommandExecution(System.Windows.Controls.TextBox,System.String)", Justification = "The attached property will only work on TextBoxes.")]