Skip to content

Commit bebde86

Browse files
authored
Replace term "sample" with "example" for error references in range [C3891, C3999]
1 parent e573870 commit bebde86

25 files changed

+30
-30
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A [literal](../../extensions/literal-cpp-component-extensions.md) variable is co
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3891.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A const variable cannot be changed after it is declared and initialized.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3892.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Instance (non-static) initonly data members can only have their address taken in
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3893.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Instance (non-static) initonly data members can only be used as l-values at thei
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3894.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Certain kinds of data members, for example [literal](../../extensions/literal-cp
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3895.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A [literal](../../extensions/literal-cpp-component-extensions.md) data member wa
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3896.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An [initonly](../../dotnet/initonly-cpp-cli.md) data member was declared in a na
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3898.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To resolve, initialize the initonly data member in the constructor, but outside
1818

1919
## Example
2020

21-
The following sample generates C3899.
21+
The following example generates C3899.
2222

2323
```cpp
2424
// C3899.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Event definitions can only contain access methods and functions.
1818

1919
## Examples
2020

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

2323
```cpp
2424
// C3900.cpp
@@ -31,7 +31,7 @@ ref class X {
3131
};
3232
```
3333
34-
The following sample generates C3900:
34+
The following example generates C3900:
3535
3636
```cpp
3737
// C3900b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ At least one get method's return type must match the property type. For more inf
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3901.cpp

0 commit comments

Comments
 (0)