Skip to content

Commit 19c594c

Browse files
authored
Merge pull request #5792 from MicrosoftDocs/master637342547511294217
For protected CLA branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 9d23c24 + c1821c2 commit 19c594c

File tree

31 files changed

+388
-125
lines changed

31 files changed

+388
-125
lines changed
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
---
22
title: Code analysis for managed code
3-
ms.date: 06/12/2019
3+
ms.date: 08/27/2020
44
ms.topic: conceptual
55
helpviewer_keywords:
66
- code analysis, managed code
77
- managed code, code analysis
8-
author: mikejo5000
9-
ms.author: mikejo
8+
author: mikadumont
9+
ms.author: midumont
1010
manager: jillfra
1111
ms.workload:
1212
- dotnet
1313
---
14-
# Overview of code analysis for managed code in Visual Studio
1514

16-
Visual Studio can perform code analysis of managed code in two ways:
17-
- With [legacy analysis](../code-quality/walkthrough-analyzing-managed-code-for-code-defects.md), also known as FxCop static analysis of managed assemblies.
18-
- With the more modern [.NET Compiler Platform-based code analyzers](../code-quality/roslyn-analyzers-overview.md). .NET Compiler Platform-based code analyzers, which analyze your code live as you type, replace legacy FxCop static code analysis, which only analyzes compiled code.
15+
# Overview of code analysis for .NET in Visual Studio
16+
17+
Visual Studio can perform code analysis of managed code in two ways: with [legacy analysis](../code-quality/walkthrough-analyzing-managed-code-for-code-defects.md), also known as FxCop static analysis of managed assemblies, and with the more modern [.NET Compiler Platform-based code analyzers](../code-quality/roslyn-analyzers-overview.md). .NET Compiler Platform-based code analyzers, which analyze your code live as you type, replace legacy FxCop static code analysis, which only analyzes compiled code.

docs/code-quality/code-analysis-warnings-for-managed-code-by-checkid.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Code Analysis Warnings for Managed Code by CheckId
3-
ms.date: 04/18/2019
2+
title: Code quality rules overview
3+
ms.date: 08/27/2020
44
ms.topic: reference
55
f1_keywords:
66
- CA1000
@@ -290,8 +290,8 @@ f1_keywords:
290290
- IL3000
291291
- IL3001
292292
ms.assetid: 5cb221f6-dc59-4abf-9bfa-adbd6f907f96
293-
author: mikejo5000
294-
ms.author: mikejo
293+
author: mikadumont
294+
ms.author: midumont
295295
manager: jillfra
296296
ms.workload:
297297
- dotnet

docs/code-quality/in-source-suppression-overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Suppress code analysis warnings
3-
ms.date: 12/01/2018
2+
title: Suppress code analysis violations
3+
ms.date: 08/27/2020
44
ms.topic: conceptual
55
helpviewer_keywords:
66
- source suppression, code analysis
77
- code analysis, source suppression
8-
author: mikejo5000
9-
ms.author: mikejo
8+
author: mikadumont
9+
ms.author: midumont
1010
manager: jillfra
1111
dev_langs:
1212
- CSharp
@@ -15,7 +15,7 @@ dev_langs:
1515
ms.workload:
1616
- multiple
1717
---
18-
# Suppress code analysis warnings
18+
# Suppress code analysis violations
1919

2020
It is often useful to indicate that a warning is not applicable. This indicates to team members that the code was reviewed, and that the warning can be suppressed. In-source suppression (ISS) uses the <xref:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute> attribute to suppress a warning. The attribute can be placed close to the code segment that generated the warning. You can add the <xref:System.Diagnostics.CodeAnalysis.SuppressMessageAttribute> attribute to the source file by typing it in, or you can use the shortcut menu on a warning in the **Error List** to add it automatically.
2121

docs/code-quality/index.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ landingContent:
3333
url: code-analysis-for-c-cpp-warnings.md
3434

3535
# Card
36-
- title: Analyze managed code quality
36+
- title: .NET code quality analysis
3737
linkLists:
3838
- linkListType: overview
3939
links:
@@ -47,19 +47,19 @@ landingContent:
4747
url: analyzers-faq.md
4848
- linkListType: how-to-guide
4949
links:
50-
- text: Install FxCop analyzers
50+
- text: Configure code quality analysis
5151
url: install-fxcop-analyzers.md
5252
- linkListType: reference
5353
links:
54-
- text: Managed code analysis warnings
54+
- text: .NET code quality rules
5555
url: code-analysis-for-managed-code-warnings.md
5656

5757
# Card
58-
- title: Analyze managed code style
58+
- title: .NET code style analysis
5959
linkLists:
6060
- linkListType: how-to-guide
6161
links:
62-
- text: Analyze code style
62+
- text: Configure code style analysis
6363
url: ../ide/create-portable-custom-editor-options.md
6464

6565
# Card

docs/code-quality/install-roslyn-analyzers.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
---
2-
title: Install Roslyn analyzers
3-
ms.date: 08/03/2018
4-
ms.topic: how-to
5-
helpviewer_keywords:
6-
- code analysis, managed code
7-
- analyzers
8-
- Roslyn analyzers
9-
author: mikejo5000
10-
ms.author: mikejo
2+
title: Install third party analyzers
3+
ms.date: 08/27/2020
4+
ms.topic: conceptual
5+
helpviewer_keywords:
6+
- code analysis, managed code
7+
- analyzers
8+
- Roslyn analyzers
9+
author: mikadumont
10+
ms.author: midumont
1111
manager: jillfra
1212
ms.workload:
1313
- dotnet
1414
---
15-
# Install .NET Compiler Platform code analyzers
15+
# Install third-party analyzers
1616

1717
Visual Studio includes a core set of .NET Compiler Platform (*Roslyn*) analyzers. These analyzers are always on. You can install additional analyzers either as NuGet packages, or as Visual Studio extensions in *VSIX* files.
1818

1919
## To install NuGet analyzer packages
2020

2121
1. Find the analyzer package you want to install on www.nuget.org.
2222

23-
For example, you may want to [install the Microsoft FxCop analyzers](install-fxcop-analyzers.md#nuget-package) to check your code for security and performance issues, among others. Or, install [StyleCop.Analyzers](https://www.nuget.org/packages/stylecop.analyzers/) to look for style issues in your codebase.
23+
For example, you may want to install [StyleCop.Analyzers](https://www.nuget.org/packages/stylecop.analyzers/) to look for style issues in your codebase.
2424

2525
2. Install the package in Visual Studio, using either the [Package Manager Console](/nuget/quickstart/install-and-use-a-package-in-visual-studio#package-manager-console) or the [Package Manager UI](/nuget/quickstart/install-and-use-a-package-in-visual-studio#package-manager-console).
2626

docs/code-quality/toc.yml

Lines changed: 76 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- name: Code analysis documentation
22
href: index.yml
3-
- name: Analyze managed code
3+
- name: .NET code analysis
44
items:
55
- name: Overview
66
href: code-analysis-for-managed-code-overview.md
@@ -10,38 +10,28 @@
1010
- name: Overview
1111
displayName: roslyn analyzers, source analysis
1212
href: roslyn-analyzers-overview.md
13-
- name: Install source code analyzers
13+
- name: Install third-party analyzers
1414
href: install-roslyn-analyzers.md
15-
- name: Configure source code analyzers
16-
href: use-roslyn-analyzers.md
17-
- name: Live code analysis scope
18-
href: configure-live-code-analysis-scope-managed-code.md
19-
- name: Run code analysis manually
20-
href: how-to-run-code-analysis-manually-for-managed-code.md
21-
- name: Disable code analysis
22-
href: disable-code-analysis.md
15+
- name: Configuration
16+
items:
17+
- name: Configure source code analysis
18+
href: use-roslyn-analyzers.md
19+
- name: Configure code quality analysis
20+
href: configure-fxcop-analyzers.md
21+
- name: Configure code quality analysis categories
22+
href: analyzer-rule-sets.md
23+
- name: Code quality analysis options
24+
href: fxcop-analyzer-options.md
25+
- name: Live code analysis scope
26+
href: configure-live-code-analysis-scope-managed-code.md
27+
- name: Run code analysis manually
28+
href: how-to-run-code-analysis-manually-for-managed-code.md
29+
- name: Disable code analysis
30+
href: disable-code-analysis.md
31+
- name: Suppress code analysis
32+
href: in-source-suppression-overview.md
2333
- name: FAQ
2434
href: analyzers-faq.md
25-
- name: FxCop analyzers
26-
items:
27-
- name: Install FxCop analyzers
28-
href: install-fxcop-analyzers.md
29-
- name: Migrate to FxCop analyzers
30-
items:
31-
- name: Migrate from legacy analysis to FxCop analyzers
32-
href: migrate-from-legacy-analysis-to-fxcop-analyzers.md
33-
- name: FAQ
34-
href: fxcop-analyzers-faq.md
35-
- name: Ported rules
36-
href: fxcop-rule-port-status.md
37-
- name: Configure FxCop analyzers
38-
items:
39-
- name: Configure rules and projects
40-
href: configure-fxcop-analyzers.md
41-
- name: Scope options
42-
href: fxcop-analyzer-options.md
43-
- name: Enable a category of rules
44-
href: analyzer-rule-sets.md
4535
- name: Legacy analysis
4636
items:
4737
- name: Overview
@@ -137,16 +127,60 @@
137127
href: how-to-synchronize-code-project-rule-sets-with-team-project-check-in-policy.md
138128
- name: Version compatibility
139129
href: version-compatibility-for-code-analysis-check-in-policies.md
140-
- name: Rule sets
141-
items:
142-
- name: Overview
143-
href: using-rule-sets-to-group-code-analysis-rules.md
144-
- name: Configure rule sets
145-
href: how-to-configure-code-analysis-for-a-managed-code-project.md
146-
- name: Create a custom rule set
147-
href: how-to-create-a-custom-rule-set.md
148-
- name: Use the rule set editor
149-
href: working-in-the-code-analysis-rule-set-editor.md
130+
- name: FxCop analyzers
131+
items:
132+
- name: Install FxCop analyzers
133+
href: install-fxcop-analyzers.md
134+
- name: Migrate to FxCop analyzers
135+
items:
136+
- name: Migrate from legacy analysis to FxCop analyzers
137+
href: migrate-from-legacy-analysis-to-fxcop-analyzers.md
138+
- name: FAQ
139+
href: fxcop-analyzers-faq.md
140+
- name: Ported rules
141+
href: fxcop-rule-port-status.md
142+
- name: Configure FxCop analyzers
143+
items:
144+
- name: Rule sets
145+
items:
146+
- name: Overview
147+
href: rule-set-reference.md
148+
- name: All Rules
149+
href: all-rules-rule-set.md
150+
- name: Basic Correctness Rules
151+
href: basic-correctness-rules-rule-set-for-managed-code.md
152+
- name: Basic Design Guideline Rules
153+
href: basic-design-guideline-rules-rule-set-for-managed-code.md
154+
- name: Extended Correctness Rules
155+
href: extended-correctness-rules-rule-set-for-managed-code.md
156+
- name: Extended Design Guidelines Rules
157+
href: extended-design-guidelines-rules-rule-set-for-managed-code.md
158+
- name: Globalization Rules
159+
href: globalization-rules-rule-set-for-managed-code.md
160+
- name: Managed Minimum Rules
161+
href: managed-minimum-rules-rule-set-for-managed-code.md
162+
- name: Managed Recommended Rules
163+
href: managed-recommended-rules-rule-set-for-managed-code.md
164+
- name: Mixed Minimum Rules
165+
href: mixed-minimum-rules-rule-set.md
166+
- name: Mixed Recommended Rules
167+
href: mixed-recommended-rules-rule-set.md
168+
- name: Native Minimum Rules
169+
href: native-minimum-rules-rule-set.md
170+
- name: Native Recommended Rules
171+
href: native-recommended-rules-rule-set.md
172+
- name: Security Rules
173+
href: security-rules-rule-set-for-managed-code.md
174+
- name: Rule sets
175+
items:
176+
- name: Overview
177+
href: using-rule-sets-to-group-code-analysis-rules.md
178+
- name: Configure rule sets
179+
href: how-to-configure-code-analysis-for-a-managed-code-project.md
180+
- name: Create a custom rule set
181+
href: how-to-create-a-custom-rule-set.md
182+
- name: Use the rule set editor
183+
href: working-in-the-code-analysis-rule-set-editor.md
150184
- name: Code metrics
151185
items:
152186
- name: Overview
@@ -158,43 +192,11 @@
158192
href: working-with-code-metrics-data.md
159193
- name: Reference
160194
items:
161-
- name: Rule sets
162-
items:
163-
- name: Overview
164-
href: rule-set-reference.md
165-
- name: All Rules
166-
href: all-rules-rule-set.md
167-
- name: Basic Correctness Rules
168-
href: basic-correctness-rules-rule-set-for-managed-code.md
169-
- name: Basic Design Guideline Rules
170-
href: basic-design-guideline-rules-rule-set-for-managed-code.md
171-
- name: Extended Correctness Rules
172-
href: extended-correctness-rules-rule-set-for-managed-code.md
173-
- name: Extended Design Guidelines Rules
174-
href: extended-design-guidelines-rules-rule-set-for-managed-code.md
175-
- name: Globalization Rules
176-
href: globalization-rules-rule-set-for-managed-code.md
177-
- name: Managed Minimum Rules
178-
href: managed-minimum-rules-rule-set-for-managed-code.md
179-
- name: Managed Recommended Rules
180-
href: managed-recommended-rules-rule-set-for-managed-code.md
181-
- name: Mixed Minimum Rules
182-
href: mixed-minimum-rules-rule-set.md
183-
- name: Mixed Recommended Rules
184-
href: mixed-recommended-rules-rule-set.md
185-
- name: Native Minimum Rules
186-
href: native-minimum-rules-rule-set.md
187-
- name: Native Recommended Rules
188-
href: native-recommended-rules-rule-set.md
189-
- name: Security Rules
190-
href: security-rules-rule-set-for-managed-code.md
191-
- name: Suppress warnings
192-
href: in-source-suppression-overview.md
193-
- name: Managed code warnings
195+
- name: .NET code analysis rules
194196
items:
195197
- name: Overview
196198
href: code-analysis-for-managed-code-warnings.md
197-
- name: Warnings by CheckId
199+
- name: Code quality rules overview
198200
href: code-analysis-warnings-for-managed-code-by-checkid.md
199201
- name: Cryptography warnings
200202
items:

docs/ide/reference/how-to-display-line-numbers-in-the-editor.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Display line numbers for code
3-
ms.date: 03/28/2019
3+
ms.date: 08/28/2020
44
ms.topic: how-to
55
helpviewer_keywords:
66
- line numbers, displaying
@@ -26,8 +26,8 @@ You can display or hide line numbering in your code.
2626

2727
![Option to display line numbers in the VS editor](../../ide/reference/media/line-numbers-option.png)
2828

29-
> [!TIP]
30-
> Line numbers aren't added to your code; they're just for reference. If you want line numbers to print, in the **Print** dialog box, select the **Include line numbers** check box.
29+
> [!NOTE]
30+
> Line numbers aren't added to your code; they're just for reference.
3131
3232
## See also
3333

subscriptions/solutions/admin-solutions/includes/how-do-i-change-my-sign-in-email-admin.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ ms.assetid: 9bea057f-5183-4fcc-a729-14c0c3eac621
66
author: evanwindom
77
ms.author: cabuschl
88
ms.date: 05/12/2020
9-
ms.faqid:
9+
user.type: subscriber
10+
tags: sign-in
11+
subscription.type: vl, cloud,
12+
sap.id:
1013
---
1114

1215
## How to change sign-in emails for admins and super admins

subscriptions/solutions/benefit-activation/includes/error-while-activating-azure-monthly-credit.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.date: 8/14/2020
99
user.type: subscriber
1010
tags: benefit, azure
1111
subscription.type: vl, cloud, retail, partner
12+
sap.id: 8dedd10e-cb1c-2eb1-bcda-fe00b07ac903
1213
---
1314

1415
## You can only have one Azure subscription associated with the Visual Studio Subscriptions monthly Azure dev/test individual credit. If you’ve previously activated the monthly Azure credit associated with your Visual Studio subscription, you will need use that Azure subscription or delete it to spin up a new one associated with the credit. You can transfer your resources to save your work.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: How do I activate my Azure monthly credit?
3+
description: How do I activate my Azure monthly credit included with my Visual Studio subscription?
4+
ms.topic: include
5+
ms.assetid: aa53b1d3-8e88-4d8c-8385-23f15a7b660b
6+
author: CaityBuschlen
7+
ms.author: cabuschl
8+
ms.date: 8/14/2020
9+
user.type: subscriber
10+
tags: benefit, azure
11+
subscription.type: vl, cloud, retail, partner
12+
sap.id: 8dedd10e-cb1c-2eb1-bcda-fe00b07ac903
13+
---
14+
15+
## As a Visual Studio subscriber, you can use Microsoft Azure at no extra charge. With your monthly Azure dev/test individual credit, Azure is your personal sandbox for dev/test. You can provision virtual machines, cloud services, and other Azure resources. Credit amounts vary by subscription level.
16+
1. Sign in to the [subscriber portal](https://my.visualstudio.com/benefits) and locate the Azure monthly credit tile in the Tools section.
17+
2. Click the Activate link at the bottom of the benefit tile.
18+
3. Remaining steps to be added here.

0 commit comments

Comments
 (0)