Skip to content

Commit db051d6

Browse files
authored
Merge pull request #1353 from MicrosoftDocs/master
1/30 AM Publish
2 parents 9a2f937 + 5f829ea commit db051d6

24 files changed

+183
-197
lines changed

docs/code-quality/ca1036-override-methods-on-comparable-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ms.workload:
5050
In C#, the tokens that are used to represent these operators are as follows: ==, !=, \<, and >.
5151

5252
## When to Suppress Warnings
53-
It is safe to suppress a warning from this rule when the violation is caused by missing operators and your programming language does not support operator overloading, as is the case with Visual Basic .NET. It is also safe to suppress a warning for from this rule when it fires on equality operators other than op_Equality if you determine that implementing the operators does not make sense in your application context. However, you should always over op_Equality and the == operator if you override Object.Equals.
53+
It is safe to suppress a warning from this rule when the violation is caused by missing operators and your programming language does not support operator overloading, as is the case with Visual Basic. It is also safe to suppress a warning for from this rule when it fires on equality operators other than op_Equality if you determine that implementing the operators does not make sense in your application context. However, you should always over op_Equality and the == operator if you override Object.Equals.
5454

5555
## Example
5656
The following example contains a type that correctly implements <xref:System.IComparable>. Code comments identify the methods that satisfy various rules that are related to <xref:System.Object.Equals%2A> and the <xref:System.IComparable> interface.

docs/code-quality/ca1048-do-not-declare-virtual-members-in-sealed-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ms.workload:
3636
## Rule Description
3737
Types declare methods as virtual so that inheriting types can override the implementation of the virtual method. By definition, you cannot inherit from a sealed type, making a virtual method on a sealed type meaningless.
3838

39-
The Visual Basic .NET and C# compilers do not allow types to violate this rule.
39+
The Visual Basic and C# compilers do not allow types to violate this rule.
4040

4141
## How to Fix Violations
4242
To fix a violation of this rule, make the method non-virtual or make the type inheritable.

docs/code-quality/ca2121-static-constructors-should-be-private.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ms.workload:
3636
## Rule Description
3737
A static constructor, also known as a class constructor, is used to initialize a type. The system calls the static constructor before the first instance of the type is created or any static members are referenced. The user has no control over when the static constructor is called. If a static constructor is not private, it can be called by code other than the system. Depending on the operations that are performed in the constructor, this can cause unexpected behavior.
3838

39-
This rule is enforced by the C# and Visual Basic .NET compilers.
39+
This rule is enforced by the C# and Visual Basic compilers.
4040

4141
## How to Fix Violations
4242
Violations are typically caused by one of the following actions:

docs/code-quality/ca2223-members-should-differ-by-more-than-return-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ms.workload:
4343
Do not suppress a warning from this rule.
4444

4545
## Example
46-
The following example, in Microsoft intermediate language (MSIL), shows a type that violates this rule. Notice that this rule cannot be violated by using C# or Visual Basic .NET.
46+
The following example, in Microsoft intermediate language (MSIL), shows a type that violates this rule. Notice that this rule cannot be violated by using C# or Visual Basic.
4747

4848
```
4949

docs/code-quality/enhancing-code-quality-with-team-project-check-in-policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ You can specify these team project check-in policies:
4545
|Task|Supporting Content|
4646
|----------|------------------------|
4747
|**Use Code Analysis in development process:** Team members run code analysis on their development computers. In Visual Studio, developers configure and run code analysis runs for individual code projects, view and analyze issues found by the runs, and create work items for warnings.|[Analyzing Application Quality](../code-quality/analyzing-application-quality-by-using-code-analysis-tools.md)|
48-
|**Create and run unit tests:** Unit tests give developers and testers a quick way to look for logic errors in the methods of classes in C#, Visual Basic .NET, and C++ projects. A unit test can be created one time and run every time that source code is changed to make sure that no bugs are introduced.|[Unit Test Your Code](../test/unit-test-your-code.md)|
48+
|**Create and run unit tests:** Unit tests give developers and testers a quick way to look for logic errors in the methods of classes in C#, Visual Basic, and C++ projects. A unit test can be created one time and run every time that source code is changed to make sure that no bugs are introduced.|[Unit Test Your Code](../test/unit-test-your-code.md)|
4949
|**Track work items and defects:** You can use work items to track and manage both your work and information about your team project. A work item is a database record that [!INCLUDE[esprfound](../code-quality/includes/esprfound_md.md)] uses to track the assignment and progress of work. You can use different types of work items to track different types of work, such as customer requirements, product bugs, and development tasks.|[Work items (VSTS)](/vsts/work/work-items/index)|
5050

5151
## External resources

docs/cross-platform/visual-studio-emulator-for-android.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ The Visual Studio Emulator for Android is a desktop application that emulates an
2424
You can test your app on a unique device profile for each of the Android platforms, screen resolutions, and other hardware properties supported by Visual Studio Emulator for Android.
2525

2626
> [!NOTE]
27-
> The Google Android emulator is recommended for use with the Visual Studio Tools for Apache Cordova. For more information, see [Run your Apache Cordova app on Android](/visualstudio/cross-platform/tools-for-cordova/run-your-app/run-app-android#a-idgoogle-android-emulatora-run-on-the-google-android-emulator).
27+
> The Google Android emulator is recommended for use in the following cases:
28+
> - When using Visual Studio Tools for Apache Cordova. For more information, see [Run your Apache Cordova app on Android](/visualstudio/cross-platform/tools-for-cordova/run-your-app/run-app-android#a-idgoogle-android-emulatora-run-on-the-google-android-emulator).
29+
> - When in need of emulator images containing Android 7.0 or later as there are no plans to publish Android images past version 6.0 for use in Visual Studio Emulator for Android.
2830
2931
## <a name="Installing"></a> Installing and uninstalling
3032
Installing
@@ -76,7 +78,7 @@ The Visual Studio Emulator for Android is a desktop application that emulates an
7678
Once you've installed the set of profiles that you'd like to target, you can start these new profiles directly from the manager by pressing the green **Play** button. They will also appear in the debug target dropdown menu in any Visual Studio cross-platform mobile project type.
7779

7880
## <a name="FeaturesTest"></a> Features that you can test in the emulator
79-
For detailed information on features you can test in the emulator, see this [documentation](http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/introducing-visual-studio-s-emulator-for-android.aspx).
81+
For detailed information on features you can test in the emulator, see this [blog post](http://blogs.msdn.com/b/visualstudioalm/archive/2014/11/12/introducing-visual-studio-s-emulator-for-android.aspx).
8082

8183
## <a name="FeaturesNonTest"></a> Features that you can't test in the emulator
8284
The following list describes features of the Android platform that you **cannot** test in the emulator. You have to test these features on a physical device.
@@ -98,4 +100,4 @@ The Visual Studio Emulator for Android is a desktop application that emulates an
98100

99101
## See Also
100102
[System Requirements for the Visual Studio Emulator for Android](../cross-platform/system-requirements-for-the-visual-studio-emulator-for-android.md)
101-
[Troubleshooting the Visual Studio Emulator for Android](../cross-platform/troubleshooting-the-visual-studio-emulator-for-android.md)
103+
[Troubleshooting the Visual Studio Emulator for Android](../cross-platform/troubleshooting-the-visual-studio-emulator-for-android.md)

docs/debugger/map-methods-on-the-call-stack-while-debugging-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Create a code map to visually trace the call stack while you're debugging. You c
4444

4545
- [Visual Studio Enterprise](https://www.visualstudio.com/downloads/download-visual-studio-vs)
4646

47-
- Code that you can debug, such as Visual C# .NET, Visual Basic .NET, C++, JavaScript, or X++
47+
- Code that you can debug, such as Visual C#, Visual Basic, C++, JavaScript, or X++
4848

4949
Here's a quick look at a code map:
5050

@@ -93,7 +93,7 @@ Here's a quick look at a code map:
9393
![Update code map with next call stack](../debugger/media/debuggermap_addclearcallstack.png "DebuggerMap_AddClearCallStack")
9494

9595
## <a name="AddRelatedCode"></a> Add related code to the map
96-
Now you've got a map - what next? If you're working with Visual C# .NET or Visual Basic .NET, add items, such as fields, properties, and other methods, to track what's happening in the code.
96+
Now you've got a map - what next? If you're working with Visual C# or Visual Basic, add items, such as fields, properties, and other methods, to track what's happening in the code.
9797

9898
Double-click a method to see its code definition, or use the shortcut menu for the method. (Keyboard: Select the method on the map and press **F12**)
9999

0 commit comments

Comments
 (0)