Skip to content

Commit 832c562

Browse files
authored
Replace term "sample" with "example" for error references in range [C3711, C3740]
1 parent e8f629f commit 832c562

17 files changed

+18
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You defined a method in the event source that did not return void or an integral
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3711.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You defined an event handler method that did not return the same type as the sou
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3712.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You defined an event handler method that did not use the same parameters as the
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3713.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You defined an event handler method that did not use the same calling convention
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3714.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You declared an event method that includes an implementation. An [__event](../..
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3717.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The event can only be called from the receiving class.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3718.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You declared an interface in a non-COM context.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3719a.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler only allows generic classes, structs, and functions. For more info
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3722.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.assetid: ef0fb1ff-3f9a-4093-a6b6-894d1ab0c4b9
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C3723.cpp
@@ -41,7 +41,7 @@ int main() {
4141
4242
**`__hook`** and **`__unhook`** are not compatible with **`/clr`** programming. Use the += and -= operators instead.
4343
44-
The following sample generates C3723:
44+
The following example generates C3723:
4545
4646
```cpp
4747
// C3723b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The event source and event receiver must have the same type (for example `native
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3731.cpp

0 commit comments

Comments
 (0)