Skip to content

Commit a902348

Browse files
authored
Replace term "sample" with "example" for error references in range [C2351, C2380]
1 parent bc4469d commit a902348

22 files changed

+24
-24
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2351.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In a new-style initialization list for a constructor, you must explicitly name e
1616

1717
## Example
1818

19-
The following sample generates C2351:
19+
The following example generates C2351:
2020

2121
```cpp
2222
// C2351.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2352.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A **`static`** member function called a nonstatic member function. Or, a nonstat
1616

1717
## Examples
1818

19-
The following sample generates C2352 and shows how to fix it:
19+
The following example generates C2352 and shows how to fix it:
2020

2121
```cpp
2222
// C2352.cpp
@@ -32,7 +32,7 @@ public:
3232
};
3333
```
3434
35-
The following sample generates C2352 and shows how to fix it:
35+
The following example generates C2352 and shows how to fix it:
3636
3737
```cpp
3838
// C2352b.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2353.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Exception specifications are not allowed on member functions of managed classes.
1616

1717
## Example
1818

19-
The following sample generates C2353:
19+
The following example generates C2353:
2020

2121
```cpp
2222
// C2353.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2355.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To fix this issue, make sure the member function definition matches a member fun
1818

1919
## Example
2020

21-
The following sample generates C2355 and shows how to fix it:
21+
The following example generates C2355 and shows how to fix it:
2222

2323
```cpp
2424
// C2355.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2356.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To resolve, move the segment initialization code to the beginning of the module.
2222

2323
## Example
2424

25-
The following sample generates C2356:
25+
The following example generates C2356:
2626

2727
```cpp
2828
// C2356.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2357.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For more information, see [init_seg](../../preprocessor/init-seg.md).
2222

2323
## Example
2424

25-
The following sample generates C2357:
25+
The following example generates C2357:
2626

2727
```cpp
2828
// C2357.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2360.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The initialization of `identifier` can be skipped in a **`switch`** statement. Y
1616

1717
## Example
1818

19-
The following sample generates C2360:
19+
The following example generates C2360:
2020

2121
```cpp
2222
// C2360.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2361.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The initialization of `identifier` can be skipped in a **`switch`** statement. Y
1616

1717
## Example
1818

19-
The following sample generates C2361:
19+
The following example generates C2361:
2020

2121
```cpp
2222
// C2361.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2362.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can only jump past a declaration with an initializer if the declaration is e
1818

1919
## Example
2020

21-
The following sample generates C2362:
21+
The following example generates C2362:
2222

2323
```cpp
2424
// C2362.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2364.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Named arguments for custom attributes are limited to compile time constants. For
1616

1717
## Example
1818

19-
The following sample generates C2364.
19+
The following example generates C2364.
2020

2121
```cpp
2222
// c2364.cpp

0 commit comments

Comments
 (0)