Skip to content

Commit a302c74

Browse files
authored
Replace term "sample" with "example" for error references in range [C3161, C3190]
1 parent 6a07aa0 commit a302c74

14 files changed

+14
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An [__interface](../../cpp/interface.md) can only appear at global scope or with
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3161.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ For more information, see,
2424

2525
## Example
2626

27-
The following sample generates C3162.
27+
The following example generates C3162.
2828

2929
```cpp
3030
// C3162.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A possible cause of the C3163 error involves the Microsoft source code annotatio
2020

2121
## Example
2222

23-
The following sample generates C3163.
23+
The following example generates C3163.
2424

2525
```cpp
2626
// C3163.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The underlying type you specified for the **`enum`** type was not valid. The und
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3168.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A program that uses Visual C++ attributes did not also use the [module](../../wi
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3174.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Unmanaged functions cannot call member functions of managed classes.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3175_2.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A class can only be declared as a value type at global scope.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3176.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ All CLR and WinRT classes and structs must have names.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3179a.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Note that the compiler uses aliases for native types that map to types in the co
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3181a.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A [using](../../cpp/using-declaration.md) declaration is invalid within all form
1616

1717
## Example
1818

19-
The following sample generates C3182 and shows how to fix it.
19+
The following example generates C3182 and shows how to fix it.
2020

2121
```cpp
2222
// C3182a.cpp

0 commit comments

Comments
 (0)