Skip to content

Commit cfb2060

Browse files
authored
Merge pull request #3702 from corob-msft/docs/corob/mdl-210805-7
Markdown quality fixes 7 of N
2 parents f390553 + 9b3f751 commit cfb2060

9 files changed

Lines changed: 27 additions & 38 deletions

docs/dotnet/interoperability-with-other-dotnet-languages-cpp-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ public class MainClass {
5757
*/
5858
```
5959

60-
### Example
61-
62-
This Visual C++ program consumes the indexer.
60+
This C++/CLI program consumes the indexer.
6361

6462
```cpp
6563
// consume_cs_indexers_2.cpp
@@ -75,6 +73,8 @@ int main() {
7573
}
7674
```
7775

76+
The example produces this output:
77+
7878
```Output
7979
Element #0 = 21
8080
Element #1 = 0

docs/dotnet/managed-types-cpp-cli.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ public value struct S {
6868
};
6969
```
7070

71-
### Example
72-
7371
This sample is the client:
7472

7573
```cpp
@@ -95,7 +93,7 @@ int main() {
9593
}
9694
```
9795
98-
### Output
96+
The example produces this output:
9997
10098
```Output
10199
S.i = 5

docs/dotnet/reflection-cpp-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Compatible classes are then instantiated with the <xref:System.Activator.CreateI
222222

223223
Note that the <xref:System.Reflection.Assembly.Load%2A> method does not accept assembly names that include the file extension. The main function in the application trims any provided extensions, so the following code example works in either case.
224224

225-
### Example
225+
### Example app
226226

227227
The following code defines the application that accepts plug-ins. An assembly name must be provided as the first argument. This assembly should contain at least one public <xref:System.Windows.Forms.Form> derived type.
228228

@@ -268,7 +268,7 @@ int main() {
268268
}
269269
```
270270

271-
### Example
271+
### Example plug-ins
272272

273273
The following code defines three classes derived from <xref:System.Windows.Forms.Form>. When the name of the resulting assembly name is passed to the executable in the previous listing, each of these three classes will be discovered and instantiated, despite the fact that they were all unknown to the hosting application at compile time.
274274

docs/extensions/consuming-generics-cpp-cli.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ ms.assetid: e6330ef5-e907-432e-b527-7a22f5899639
1010

1111
Generics authored in one .NET (or UWP) language may be used in other languages. Unlike templates, a generic in a compiled assembly still remains generic. Thus, one may instantiate the generic type in a different assembly and even in a different language than the assembly in which the generic type was defined.
1212

13-
## Example: Generic class defined in C #
14-
15-
### Description
13+
## Example: Generic class defined in C&#35;
1614

1715
This example shows a generic class defined in C#.
1816

19-
### Code
20-
2117
```csharp
2218
// consuming_generics_from_other_NET_languages.cs
2319
// compile with: /target:library
@@ -74,14 +70,10 @@ public class CircularList<ItemType> {
7470
}
7571
```
7672

77-
## Example: Consume assembly authored in C #
78-
79-
### Description
73+
## Example: Consume assembly authored in C&#35;
8074

8175
This example consumes the assembly authored in C#.
8276

83-
### Code
84-
8577
```cpp
8678
// consuming_generics_from_other_NET_languages_2.cpp
8779
// compile with: /clr
@@ -101,6 +93,8 @@ int main() {
10193
}
10294
```
10395
96+
The example produces this output:
97+
10498
```Output
10599
90
106100
80

docs/extensions/override-cpp-component-extensions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct X : public I1 {
3434
};
3535
```
3636
37-
### Example
37+
### Windows Runtime example
3838
3939
The following code example shows that **override** can be used in Windows Runtime compilations.
4040
@@ -54,7 +54,7 @@ ref struct X : public I1 {
5454

5555
Compiler option: `/ZW`
5656

57-
### Example
57+
### C++/CLI example
5858

5959
The following code example shows that **override** can be used in common language runtime compilations.
6060

docs/intrinsics/x64-amd64-intrinsics-list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ The following table lists the intrinsics available on x64 processors. The Techno
10271027
| [`_mm256_round_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_round_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_round_ps(__m256, int);` |
10281028
| [`_mm256_rsqrt_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_rsqrt_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_rsqrt_ps(__m256);` |
10291029
| [`_mm256_sad_epu8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_sad_epu8) | AVX2 \[2] | immintrin.h | `__m256i _mm256_sad_epu8(__m256i, __m256i);` |
1030-
| [`_mm256_set_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_set_epi16(short ` |
1030+
| [`_mm256_set_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_set_epi16(short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short);` |
10311031
| [`_mm256_set_epi32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi32) | AVX \[2] | immintrin.h | `__m256i _mm256_set_epi32(int, int, int, int, int, int, int, int);` |
10321032
| [`_mm256_set_epi64x`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi64x) | AVX \[2] | immintrin.h | `__m256i _mm256_set_epi64x(long long, long long, long long, long long);` |
10331033
| [`_mm256_set_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi8) | AVX \[2] | immintrin.h | `__m256i _mm256_set_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char);` |
@@ -1039,10 +1039,10 @@ The following table lists the intrinsics available on x64 processors. The Techno
10391039
| [`_mm256_set1_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_epi8) | AVX \[2] | immintrin.h | `__m256i _mm256_set1_epi8(char);` |
10401040
| [`_mm256_set1_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_set1_pd(double);` |
10411041
| [`_mm256_set1_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_set1_ps(float);` |
1042-
| [`_mm256_setr_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi16(short ` |
1042+
| [`_mm256_setr_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi16(short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short);` |
10431043
| [`_mm256_setr_epi32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi32) | AVX \[2] | immintrin.h | `__m256i _mm256_setr_epi32(int, int, int, int, int, int, int, int);` |
10441044
| [`_mm256_setr_epi64x`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi64x) | AVX \[2] | immintrin.h | `__m256i _mm256_setr_epi64x(long long, long long, long long, long long);` |
1045-
| [`_mm256_setr_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi8) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi8(char ` |
1045+
| [`_mm256_setr_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi8) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char);` |
10461046
| [`_mm256_setr_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_setr_pd(double, double, double, double);` |
10471047
| [`_mm256_setr_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_setr_ps(float, float, float, float, float, float, float, float);` |
10481048
| [`_mm256_setzero_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setzero_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_setzero_pd(void);` |

docs/intrinsics/x86-intrinsics-list.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ The following table lists the intrinsics available on x86 processors. The Techno
11211121
| [`_mm256_round_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_round_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_round_ps(__m256, int);` |
11221122
| [`_mm256_rsqrt_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_rsqrt_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_rsqrt_ps(__m256);` |
11231123
| [`_mm256_sad_epu8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_sad_epu8) | AVX2 \[2] | immintrin.h | `__m256i _mm256_sad_epu8(__m256i, __m256i);` |
1124-
| [`_mm256_set_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_set_epi16(short ` |
1124+
| [`_mm256_set_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_set_epi16(short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short);` |
11251125
| [`_mm256_set_epi32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi32) | AVX \[2] | immintrin.h | `__m256i _mm256_set_epi32(int, int, int, int, int, int, int, int);` |
11261126
| [`_mm256_set_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi8) | AVX \[2] | immintrin.h | `__m256i _mm256_set_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char);` |
11271127
| [`_mm256_set_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_set_pd(double, double, double, double);` |
@@ -1131,9 +1131,9 @@ The following table lists the intrinsics available on x86 processors. The Techno
11311131
| [`_mm256_set1_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_epi8) | AVX \[2] | immintrin.h | `__m256i _mm256_set1_epi8(char);` |
11321132
| [`_mm256_set1_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_set1_pd(double);` |
11331133
| [`_mm256_set1_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set1_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_set1_ps(float);` |
1134-
| [`_mm256_setr_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi16(short ` |
1134+
| [`_mm256_setr_epi16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi16) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi16(short, short, short, short, short, short, short, short, short, short, short, short, short, short, short, short);` |
11351135
| [`_mm256_setr_epi32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi32) | AVX \[2] | immintrin.h | `__m256i _mm256_setr_epi32(int, int, int, int, int, int, int, int);` |
1136-
| [`_mm256_setr_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi8) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi8(char ` |
1136+
| [`_mm256_setr_epi8`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi8) | AVX \[2] | immintrin.h | `(__m256i _mm256_setr_epi8(char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char, char,);` |
11371137
| [`_mm256_setr_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_setr_pd(double, double, double, double);` |
11381138
| [`_mm256_setr_ps`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_ps) | AVX \[2] | immintrin.h | `__m256 _mm256_setr_ps(float, float, float, float, float, float, float, float);` |
11391139
| [`_mm256_setzero_pd`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setzero_pd) | AVX \[2] | immintrin.h | `__m256d _mm256_setzero_pd(void);` |
@@ -1271,10 +1271,10 @@ The following table lists the intrinsics available on x86 processors. The Techno
12711271
| [`__sidt`](sidt.md) | | intrin.h | `void __sidt(void*);` |
12721272
| `__slwpcb` | LWP \[1] | ammintrin.h | `void *__slwpcb(void);` |
12731273
| `_stac` | SMAP | intrin.h | `void _stac(void);` |
1274-
| [`_storebe_i16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_storebe_i16&expand=5141) | MOVBE | immintrin.h | `void _storebe_i16(void *, short); \[3] ` |
1275-
| [`_storebe_i32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_storebe_i32&expand=5142) | MOVBE | immintrin.h | `void _storebe_i32(void *, int); \[3] ` |
1276-
| `_store_be_u16` | MOVBE | immintrin.h | `void _store_be_u16(void *, unsigned short); \[3] ` |
1277-
| `_store_be_u32` | MOVBE | immintrin.h | `void _store_be_u32(void *, unsigned int); \[3] ` |
1274+
| [`_storebe_i16`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_storebe_i16&expand=5141) | MOVBE | immintrin.h | `void _storebe_i16(void *, short);` \[3] |
1275+
| [`_storebe_i32`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_storebe_i32&expand=5142) | MOVBE | immintrin.h | `void _storebe_i32(void *, int);` \[3] |
1276+
| `_store_be_u16` | MOVBE | immintrin.h | `void _store_be_u16(void *, unsigned short);` \[3] |
1277+
| `_store_be_u32` | MOVBE | immintrin.h | `void _store_be_u32(void *, unsigned int);` \[3] |
12781278
| `_Store_HLERelease` | HLE \[2] | immintrin.h | `void _Store_HLERelease(long volatile *, long);` |
12791279
| `_StorePointer_HLERelease` | HLE \[2] | immintrin.h | `void _StorePointer_HLERelease(void * volatile *, void *);` |
12801280
| [`__stosb`](stosb.md) | | intrin.h | `void __stosb(unsigned char *, unsigned char, size_t);` |

docs/linux/connect-to-your-remote-linux-computer.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,12 @@ The `rsync` command is used by both MSBuild-based Linux projects and CMake proje
199199

200200
![Screenshot showing a Headers Error.](media/port-forwarding-headers-error.png)
201201

202-
203202
`rsync` is also used by Visual Studio's CMake support to copy source files to the remote system. If you can't enable TCP port forwarding, you can use `sftp` as your remote copy sources method. `sftp` is often slower than `rsync`, but doesn't have a dependency on TCP port forwarding. You can manage your remote copy sources method with the `remoteCopySourcesMethod` property in the [CMake Settings Editor](../build/cmakesettings-reference.md#settings-for-cmake-linux). If TCP port forwarding is disabled on your remote system, you'll see an error in the CMake output window the first time it invokes `rsync`.
204203

205204
![Screenshot showing an Rsync Error.](media/port-forwarding-copy-error.png)
206205

207-
208206
`gdbserver` can be used for debugging on embedded devices. If you can't enable TCP port forwarding, then you must use `gdb` for all remote debugging scenarios. `gdb` is used by default when debugging projects on a remote system.
209207

210-
211208
Visual Studio's Linux support has a dependency on TCP port forwarding. Both `rsync` and `gdbserver` are affected if TCP port forwarding is disabled on your remote system. If this dependency impacts you, vote for this [suggestion ticket](https://developercommunity2.visualstudio.com/t/shDonshshtsh-shrelysh-s/840265?space=62) on Developer Community.
212209

213210
## Connect to WSL

docs/linux/connectionmanager-reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
4848

4949
- **`clean`**
5050

51-
Deletes header cache for connections that no longer exist.
51+
Deletes header cache for connections that no longer exist.
5252

5353
- **`list`** \[**`--properties`**]
5454

55-
Displays information, IDs, and properties of all stored connections.
55+
Displays information, IDs, and properties of all stored connections.
5656

5757
- **`help`**
5858

@@ -64,7 +64,7 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
6464

6565
- **`update`** \[*default* \| *all* \| *connection_id* \| *user\@host* \[**`--port`** *port*]] \[**`--previous`**] [**`--fingerprint`**]
6666

67-
Added in Visual Studio 16.10. Updates the host key fingerprint of the specified connection(s).
67+
Added in Visual Studio 16.10. Updates the host key fingerprint of the specified connection(s).
6868

6969
### Options
7070

@@ -91,7 +91,7 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
9191
- **`-n`**, **`--dry-run`**
9292

9393
Does a dry run of the command.
94-
94+
9595
- **`--p`**
9696

9797
Same as **`--password`**.
@@ -102,7 +102,7 @@ The functionality of ConnectionManager.exe is also available in Visual Studio. T
102102

103103
- **`--previous`**
104104

105-
Indicates that the connection(s) will be read from the previous version of connection manager, updated, and written to the new version.
105+
Indicates that the connection(s) will be read from the previous version of connection manager, updated, and written to the new version.
106106

107107
- **`--fingerprint`**
108108

0 commit comments

Comments
 (0)