Skip to content

Commit 5c69be1

Browse files
authored
Replace term "sample" with "example" for error references in range [C3801, C3850]
1 parent 31ce480 commit 5c69be1

23 files changed

+25
-25
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The type of a property defined with [property](../../cpp/property-cpp.md) does n
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3803.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See [property](../../extensions/property-cpp-component-extensions.md) for more i
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3804.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A type that derived from <xref:System.Runtime.InteropServices.ComImportAttribute
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3807.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The **/clr:pure** and **/clr:safe** compiler options are deprecated in Visual St
1818

1919
## Example
2020

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

2323
```cpp
2424
// C3808.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Managed types and Windows Runtime types do not allow friends. To fix this error,
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3809a.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A [property](../../dotnet/how-to-use-properties-in-cpp-cli.md) can only be decla
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3813.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A forward declaration and an actual declaration require that there be no conflic
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3816a.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ C3821 can also occur if you try to use automatic storage in a vararg function.
1818

1919
## Examples
2020

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

2323
```cpp
2424
// C3821a.cpp
@@ -29,7 +29,7 @@ void test1(...) {
2929
}
3030
```
3131
32-
The following sample generates C3821.
32+
The following example generates C3821.
3333
3434
```cpp
3535
// C3821b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pinning pointers cannot be function parameters, return types, or declared **`sta
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3824a.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Only .NET events are supported in managed classes. Only Windows Runtime events a
1616

1717
## Example
1818

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

2121
```cpp
2222
// C3825a.cpp

0 commit comments

Comments
 (0)