PageRenderTime 35ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/ExceptionFinder/ExceptionFinder.Tests.Scenarios/GlobalSuppressions.cs

#
C# | 47 lines | 37 code | 1 blank | 9 comment | 0 complexity | 17a8a15c94b40dd0b180788650b666a7 MD5 | raw file
  1. // This file is used by Code Analysis to maintain SuppressMessage
  2. // attributes that are applied to this project.
  3. // Project-level suppressions either have no target or are given
  4. // a specific target and scoped to a namespace, type, member, etc.
  5. //
  6. // To add a suppression to this file, right-click the message in the
  7. // Error List, point to "Suppress Message(s)", and click
  8. // "In Project Suppression File".
  9. // You do not need to add suppressions to this file manually.
  10. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#TryCatchWithCaughtException()")]
  11. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "ExceptionFinder.TestTarget.IndirectRecursiveCall")]
  12. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers")]
  13. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]
  14. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]
  15. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.TestTarget.NestedExceptionHandlers.#ParseMe(System.Int32)")]
  16. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#NoHandlers(System.Int32)")]
  17. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#NoHandlers(System.Int32)")]
  18. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1812:AvoidUninstantiatedInternalClasses", Scope = "type", Target = "ExceptionFinder.TestTarget.RecursiveCallScenarios")]
  19. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "COM", Scope = "member", Target = "ExceptionFinder.TestTarget.OddballCallScenarios.#CallCOMServer()")]
  20. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "COM", Scope = "member", Target = "ExceptionFinder.TestTarget.NativeCallScenarios.#CallCOMServer()")]
  21. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#ComplexHandlers(System.String)")]
  22. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2219:DoNotRaiseExceptionsInExceptionClauses", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#TryFinallyWithEmbeddedTryAndEscapingException()")]
  23. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2219:DoNotRaiseExceptionsInExceptionClauses", Scope = "member", Target = "ExceptionFinder.TestTarget.ExceptionHandlerScenarios.#TryFinallyWithRecursiveCall()")]
  24. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkScenarios.#WarmUp()")]
  25. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.TestTarget")]
  26. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1804:RemoveUnusedLocals", MessageId = "s", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")]
  27. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode", Scope = "member", Target = "ExceptionFinder.TestTarget.FrameworkInitialization.#Initialize()")]
  28. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#ComplexHandlers(System.String)")]
  29. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#NoHandlers(System.Int32)")]
  30. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#NoHandlers(System.Int32)")]
  31. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#TryCatchWithCaughtException()")]
  32. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "COM", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.NativeCallScenarios.#CallCOMServer()")]
  33. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2219:DoNotRaiseExceptionsInExceptionClauses", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ExceptionHandlerScenarios.#TryFinallyWithRecursiveCall()")]
  34. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgument(System.Exception)")]
  35. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "ExceptionFinder.Tests.Scenarios")]
  36. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowArgumentFromInstance(System.Exception)")]
  37. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ReturnException()")]
  38. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#CreateObjectThatThrowsOnConstruction()")]
  39. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.InternalClassThatThrowsExceptionOnConstruction.#DoSomething()")]
  40. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowReportedExceptions(System.Int32)")]
  41. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowReportedExceptions(System.Int32)")]
  42. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "x", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowReportedExceptions(System.Int32)")]
  43. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#RethrowException()")]
  44. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Scope = "member", Target = "ExceptionFinder.Tests.Scenarios.ThrowingScenarios.#ThrowCustomException()")]
  45. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1032:ImplementStandardExceptionConstructors", Scope = "type", Target = "ExceptionFinder.Tests.Scenarios.CustomException")]
  46. [assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2237:MarkISerializableTypesWithSerializable", Scope = "type", Target = "ExceptionFinder.Tests.Scenarios.CustomException")]