Skip to content

Commit a6ab607

Browse files
authored
Replace term "sample" with "example" for error references in range [C2521, C2550]
1 parent 6e1d026 commit a6ab607

16 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information, see [Destructors and finalizers](../../dotnet/how-to-defin
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2521.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The name of the destructor must be the class name preceded by a tilde (`~`). The
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2523.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A function defined with C linkage cannot return a user-defined type.
1515

1616
## Example
1717

18-
The following sample generates C2526:
18+
The following example generates C2526:
1919

2020
```cpp
2121
// C2526.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You cannot declare a pointer to a reference. Dereference the variable before dec
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2528.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This error may be fixed by using pointer syntax and declaring a reference to a p
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2529.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You must initialize a reference when it was declared, unless it is declared alre
2424

2525
## Example
2626

27-
The following sample generates C2530:
27+
The following example generates C2530:
2828

2929
```cpp
3030
// C2530.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ References to bit fields are not allowed.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2531.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A common source of this error is a missing semicolon between the end of a class
1818

1919
## Example
2020

21-
The following sample generates C2533, and shows how to fix it:
21+
The following example generates C2533, and shows how to fix it:
2222

2323
```cpp
2424
// C2533.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A constructor cannot contain a **`return`** statement with an expression (even i
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2534.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you get C2535 because of the Dispose function, see [Destructors and finalizer
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2535.cpp

0 commit comments

Comments
 (0)