Skip to content

Commit 67a7184

Browse files
authored
Add blockquotes for error messages in range [C2261, C2290]
1 parent 21903da commit 67a7184

20 files changed

+20
-20
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
@@ -8,7 +8,7 @@ ms.assetid: 60969482-9e83-49b5-9631-a04bc844da12
88
---
99
# Compiler Error C2261
1010

11-
'string' : assembly reference is invalid and cannot be resolved
11+
> 'string' : assembly reference is invalid and cannot be resolved
1212
1313
A value was not valid.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 727d1c6e-53e8-40e5-b7b8-6a7ac2011727
88
---
99
# Compiler Error C2262
1010

11-
'attribute_specifiers' : InternalsVisibleTo declarations cannot have a version, culture, or processor architecture specified
11+
> 'attribute_specifiers' : InternalsVisibleTo declarations cannot have a version, culture, or processor architecture specified
1212
1313
The <xref:System.Runtime.CompilerServices.InternalsVisibleToAttribute> attribute was not specified correctly.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 158b72cc-cee9-4a08-bd79-b7a5955345a8
88
---
99
# Compiler Error C2264
1010

11-
'function' : error in function definition or declaration; function not called
11+
> 'function' : error in function definition or declaration; function not called
1212
1313
The function cannot be called due to an incorrect definition or declaration.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 5c267a67-d5a1-4ad7-b6f7-a156510aee35
88
---
99
# Compiler Error C2266
1010

11-
'identifier' : reference to a non-constant bounded array is illegal
11+
> 'identifier' : reference to a non-constant bounded array is illegal
1212
1313
A reference is declared for an array with a nonconstant bound. The array must have constant bounds.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ea63bebb-6208-4367-8440-39be07f9c360
88
---
99
# Compiler Error C2267
1010

11-
'function' : static functions with block scope are illegal
11+
> 'function' : static functions with block scope are illegal
1212
1313
A local function is declared **`static`**. Static functions must have global scope.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0ed055c9-3c6f-4df2-a5b6-85cf0e01a249
88
---
99
# Compiler Error C2268
1010

11-
'function' is a compiler predefined library helper. Library helpers are not supported with /GL; compile object file 'file' without /GL.
11+
> 'function' is a compiler predefined library helper. Library helpers are not supported with /GL; compile object file 'file' without /GL.
1212
1313
A function defined in your source code has the same name as an internal compiler function. Compile the module containing the function without [/GL](../../build/reference/gl-whole-program-optimization.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: b52c068e-0b61-42e7-b775-4d57b3ddcba0
88
---
99
# Compiler Error C2270
1010

11-
'function' : modifiers not allowed on nonmember functions
11+
> 'function' : modifiers not allowed on nonmember functions
1212
1313
A nonmember function is declared with [const](../../cpp/const-cpp.md), [volatile](../../cpp/volatile-cpp.md), or another memory-model modifier.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ea47bf57-f55d-4171-8e98-95a71d62820e
88
---
99
# Compiler Error C2271
1010

11-
'operator' : new/delete cannot have formal list modifiers
11+
> 'operator' : new/delete cannot have formal list modifiers
1212
1313
The operator (**`new`** or **`delete`**) is declared with a memory-model specifier.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1517706a-9c27-452e-9b10-3424b3d232bc
88
---
99
# Compiler Error C2272
1010

11-
'function' : modifiers not allowed on static member functions
11+
> 'function' : modifiers not allowed on static member functions
1212
1313
A **`static`** member function is declared with a memory-model specifier, such as [const](../../cpp/const-cpp.md) or [volatile](../../cpp/volatile-cpp.md), and such modifiers are not allowed on **`static`** member functions.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 3c682c66-97bf-4a23-a22c-d9a26a92bf95
88
---
99
# Compiler Error C2273
1010

11-
'type' : illegal as right side of '->' operator
11+
> 'type' : illegal as right side of '->' operator
1212
1313
A type appears as the right operand of a `->` operator.
1414

0 commit comments

Comments
 (0)