Skip to content

Commit ee0b21e

Browse files
authored
Replace term "sample" with "example" for error references in range [C2491, C2520]
1 parent 4a98957 commit ee0b21e

22 files changed

+22
-22
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To fix this issue, remove the `__declspec(dllimport)` specifier from the definit
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2491.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The variable is declared with the [thread](../../cpp/thread.md) attribute and wi
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2492.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A **`__based`** expression must be based on a pointer.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2493.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You cannot use *keyword* in a **`__finally`** or **`finally`** block.
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C2494.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The [nothrow](../../cpp/nothrow-cpp.md) extended attribute can be applied to fun
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2495.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The [selectany](../../cpp/selectany.md) attribute can be applied only to externa
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2496.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This error can be caused by using `__declspec(novtable)` with a function.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2498.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You attempted to specify the class that you are defining as a base class.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2499.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2500.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A class cannot be specified as a direct base class more than once. A class can b
2020

2121
## Example
2222

23-
The following sample generates C2500:
23+
The following example generates C2500:
2424

2525
```cpp
2626
// C2500.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2502.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The base class has more than one access modifier. Only one access modifier (**`p
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2502.cpp

0 commit comments

Comments
 (0)