microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
docs/update-release-process

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Core/GlobalSuppressions.cs

28lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using System.Diagnostics.CodeAnalysis;
5
6[assembly: SuppressMessage("Usage",
7 "CA2227:Collection properties should be read only",
8 Justification = "Required for serialization",
9 Scope = "namespaceanddescendants",
10 Target = "~N:Microsoft.Teams.Core")]
11
12[assembly: SuppressMessage("Design",
13 "CA1054:URI-like parameters should not be strings",
14 Justification = "Callers build interpolated URLs with query strings and Uri-escaped segments; string parameters are the natural shape for this HTTP plumbing.",
15 Scope = "type",
16 Target = "~T:Microsoft.Teams.Core.Http.BotHttpClient")]
17
18[assembly: SuppressMessage("Design",
19 "CA1056:URI-like properties should not be strings",
20 Justification = "Mirrors Microsoft.Identity.Web's MicrosoftIdentityApplicationOptions.Instance convention; the value flows through as a string to configuration consumers.",
21 Scope = "member",
22 Target = "~P:Microsoft.Teams.Core.Hosting.BotConfig.OpenIdMetadataUrl")]
23
24[assembly: SuppressMessage("Design",
25 "CA1056:URI-like properties should not be strings",
26 Justification = "Mirrors Microsoft.Identity.Web's MicrosoftIdentityApplicationOptions.Instance convention; the value flows through as a string to configuration consumers.",
27 Scope = "member",
28 Target = "~P:Microsoft.Teams.Core.Hosting.BotConfig.EntraInstance")]
29