Skip to content

Commit 751e161

Browse files
committed
Add language identifiers
1 parent 7f45f54 commit 751e161

File tree

67 files changed

+115
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+115
-115
lines changed

docs/build/reference/c-preserve-comments-during-preprocessing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This compiler option requires the **/E**, **/P**, or **/EP** option.
2121

2222
The following code sample will display the source code comment.
2323

24-
```
24+
```cpp
2525
// C_compiler_option.cpp
2626
// compile with: /E /C /c
2727
int i; // a variable

docs/build/reference/clrsupportlasterror-preserve-last-error-code-for-pinvoke-calls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ You can minimize the performance impact by linking with **/CLRSUPPORTLASTERROR:S
7575

7676
The following sample defines a native DLL with one exported function that modifies last error.
7777

78-
```
78+
```cpp
7979
// CLRSUPPORTLASTERROR_dll.cpp
8080
// compile with: /LD
8181
#include <windows.h>
@@ -92,7 +92,7 @@ __declspec(dllexport) double MySqrt(__int64 n) {
9292
9393
The following sample consumes the DLL, demonstrating how to use **/CLRSUPPORTLASTERROR**.
9494
95-
```
95+
```cpp
9696
// CLRSUPPORTLASTERROR_client.cpp
9797
// compile with: /clr CLRSUPPORTLASTERROR_dll.lib /link /clrsupportlasterror:systemdll
9898
// processor: x86

docs/build/reference/example-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Compile with [/doc](doc-process-documentation-comments-c-cpp.md) to process docu
2626

2727
## Example
2828

29-
```
29+
```cpp
3030
// xml_example_tag.cpp
3131
// compile with: /clr /doc /LD
3232
// post-build command: xdcmake xml_example_tag.dll

docs/build/reference/exception-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The MSVC compiler will attempt to resolve cref references in one pass through th
3535

3636
## Example
3737

38-
```
38+
```cpp
3939
// xml_exception_tag.cpp
4040
// compile with: /clr /doc /LD
4141
// post-build command: xdcmake xml_exception_tag.dll

docs/build/reference/paramref-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Compile with [/doc](doc-process-documentation-comments-c-cpp.md) to process docu
2626

2727
## Example
2828

29-
```
29+
```cpp
3030
// xml_paramref_tag.cpp
3131
// compile with: /clr /doc /LD
3232
// post-build command: xdcmake xml_paramref_tag.dll

docs/build/reference/permission-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The MSVC compiler will attempt to resolve cref references in one pass through th
3535

3636
## Example
3737

38-
```
38+
```cpp
3939
// xml_permission_tag.cpp
4040
// compile with: /clr /doc /LD
4141
// post-build command: xdcmake xml_permission_tag.dll

docs/build/reference/remarks-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Compile with [/doc](doc-process-documentation-comments-c-cpp.md) to process docu
2626

2727
## Example
2828

29-
```
29+
```cpp
3030
// xml_remarks_tag.cpp
3131
// compile with: /LD /clr /doc
3232
// post-build command: xdcmake xml_remarks_tag.dll

docs/build/reference/returns-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Compile with [/doc](doc-process-documentation-comments-c-cpp.md) to process docu
2626

2727
## Example
2828

29-
```
29+
```cpp
3030
// xml_returns_tag.cpp
3131
// compile with: /LD /clr /doc
3232
// post-build command: xdcmake xml_returns_tag.dll

docs/build/reference/see-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The MSVC compiler will attempt to resolve cref references in one pass through th
3434

3535
The following sample shows how you can make cref reference to a generic type, such that, the compiler will resolve the reference.
3636

37-
```
37+
```cpp
3838
// xml_see_cref_example.cpp
3939
// compile with: /LD /clr /doc
4040
// the following cref shows how to specify the reference, such that,

docs/build/reference/seealso-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The MSVC compiler will attempt to resolve cref references in one pass through th
3636

3737
In the following sample, an unresolved symbol is referenced in a cref. The XML comment for the cref to B::Test will be `<seealso cref="!:B::Test" />`, whereas the reference to A::Test is well-formed `<seealso cref="M:A.Test" />`.
3838

39-
```
39+
```cpp
4040
// xml_seealso_tag.cpp
4141
// compile with: /LD /clr /doc
4242
// post-build command: xdcmake xml_seealso_tag.dll

0 commit comments

Comments
 (0)