Skip to content

Commit 1d6c5ba

Browse files
authored
Replace term "sample" with "example" for error references in range [C3131, C3160]
1 parent 6f9458e commit 1d6c5ba

14 files changed

+16
-16
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The [module](../../windows/attributes/module-cpp.md) attribute must have a name
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3131.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The <xref:System.ParamArrayAttribute> attribute was applied to a parameter that
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3132.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information, see [User-Defined Attributes](../../extensions/user-define
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3133.cpp

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

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

1717
## Example
1818

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

2121
```cpp
2222
// C3140.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Interfaces defined with the [interface (or __interface)](../../cpp/interface.md)
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3141.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The address of a property is not available to the developer.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3142_2.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can only define CLR or WinRT objects within function scope.
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C3145.cpp
@@ -39,7 +39,7 @@ int main() {
3939
}
4040
```
4141
42-
The following sample generates C3145:
42+
The following example generates C3145:
4343
4444
```cpp
4545
// C3145b.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To resolve this error, declare variables of CLR types inside a function or type
2020

2121
## Examples
2222

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

2525
```cpp
2626
// C3149.cpp
@@ -33,7 +33,7 @@ int main() {
3333
}
3434
```
3535

36-
The following sample generates C3149:
36+
The following example generates C3149:
3737

3838
```cpp
3939
// C3149b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Certain keywords can only be applied to a C++ class.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3152.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An interface cannot be instantiated. To use the members of an interface, derive
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3153.cpp

0 commit comments

Comments
 (0)