Skip to content

Commit 5a2e726

Browse files
authored
Replace term "sample" with "example" for error references in range [C2261, C2290]
1 parent 2720b85 commit 5a2e726

18 files changed

+18
-18
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2261.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For more on the correct syntax when specifying friend assemblies, see [Friend As
2020

2121
## Example
2222

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

2525
```cpp
2626
// C2261.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2262.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The <xref:System.Runtime.CompilerServices.InternalsVisibleToAttribute> attribute
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2262.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2264.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The function cannot be called due to an incorrect definition or declaration.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2264.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2267.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A local function is declared **`static`**. Static functions must have global sco
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2267.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2268.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function defined in your source code has the same name as an internal compiler
1616

1717
## Example
1818

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

2121
```c
2222
// C2268.c

docs/error-messages/compiler-errors-1/compiler-error-c2270.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A nonmember function is declared with [const](../../cpp/const-cpp.md), [volatile
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2270.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2271.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The operator (**`new`** or **`delete`**) is declared with a memory-model specifi
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2271.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2272.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A **`static`** member function is declared with a memory-model specifier, such a
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2272.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2273.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error can be caused by trying to access a user-defined type conversion. Use
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2273.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2274.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error can be caused by trying to access a user-defined type conversion. Use
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2274.cpp

0 commit comments

Comments
 (0)