Skip to content

Commit c538d05

Browse files
authored
Add blockquotes for error messages in range [C3891, C3999]
1 parent dda89e0 commit c538d05

26 files changed

+26
-26
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6e1a9458-97f5-4580-bc0f-aa97a1bfd20d
88
---
99
# Compiler Error C3891
1010

11-
'var' : a literal data member cannot be used as a l-value
11+
> 'var' : a literal data member cannot be used as a l-value
1212
1313
A [literal](../../extensions/literal-cpp-component-extensions.md) variable is const, and its value cannot be changed after it is initialized in the declaration.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 83fff42c-ea48-442f-bc2e-b33a6b99d890
88
---
99
# Compiler Error C3892
1010

11-
'var' : you cannot assign to a variable that is const
11+
> 'var' : you cannot assign to a variable that is const
1212
1313
A const variable cannot be changed after it is declared and initialized.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 90d52eae-6ef2-4db1-b7ad-92f9e8b140fb
88
---
99
# Compiler Error C3893
1010

11-
'var' : l-value use of initonly data member is only allowed in an instance constructor of class 'type_name'
11+
> 'var' : l-value use of initonly data member is only allowed in an instance constructor of class 'type_name'
1212
1313
Static [initonly](../../dotnet/initonly-cpp-cli.md) data members can only have their address taken in a static constructor.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6d5ac903-1dea-431d-8e3a-cebca4342983
88
---
99
# Compiler Error C3894
1010

11-
'var' : l-value use of initonly static data member is only allowed in the class constructor of class 'class'
11+
> 'var' : l-value use of initonly static data member is only allowed in the class constructor of class 'class'
1212
1313
Static [initonly](../../dotnet/initonly-cpp-cli.md) data members can only be used as l-values at their point of declaration, or in a static constructor.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 771b9fe5-d6d4-4297-bf57-e2f857722155
88
---
99
# Compiler Error C3895
1010

11-
'var' : type data members cannot be 'volatile'
11+
> 'var' : type data members cannot be 'volatile'
1212
1313
Certain kinds of data members, for example [literal](../../extensions/literal-cpp-component-extensions.md) or [initonly](../../dotnet/initonly-cpp-cli.md), cannot be [volatile](../../cpp/volatile-cpp.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: eb8be0f6-5b4e-4d71-8285-8a2a94f8ba29
88
---
99
# Compiler Error C3896
1010

11-
'member' : improper initializer: this literal data member can only be initialized with 'nullptr'
11+
> 'member' : improper initializer: this literal data member can only be initialized with 'nullptr'
1212
1313
A [literal](../../extensions/literal-cpp-component-extensions.md) data member was initialized incorrectly. See [nullptr](../../extensions/nullptr-cpp-component-extensions.md) for more information.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d9a90df6-87e4-4fe7-ab01-c226ee86bf10
88
---
99
# Compiler Error C3898
1010

11-
'var' : type data members can only be members of managed types
11+
> 'var' : type data members can only be members of managed types
1212
1313
An [initonly](../../dotnet/initonly-cpp-cli.md) data member was declared in a native class. An **`initonly`** data member can only be declared in a CLR class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 14e07e4a-f7a7-4309-baaa-649d69e12e23
88
---
99
# Compiler Error C3899
1010

11-
'var' : l-value use of initonly data member is not allowed directly within a parallel region in class 'class'
11+
> 'var' : l-value use of initonly data member is not allowed directly within a parallel region in class 'class'
1212
1313
An [initonly (C++/CLI)](../../dotnet/initonly-cpp-cli.md) data member cannot be initialized inside that part of a constructor that is in a [parallel](../../parallel/openmp/reference/openmp-directives.md#parallel) region. This is because the compiler does an internal relocation of that code, such that, it is effectively no longer part of the constructor.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: a94cc561-8fa8-4344-9e01-e81ff462fae5
88
---
99
# Compiler Error C3900
1010

11-
'member': not allowed in current scope
11+
> 'member': not allowed in current scope
1212
1313
Property blocks can contain function declarations and inline function definitions only. No members other than functions are allowed in property blocks. No typedefs, operators, or friend functions are allowed. For more information, see [property](../../extensions/property-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 19af4141-39ad-4c16-a68f-3ae76f648186
88
---
99
# Compiler Error C3901
1010

11-
'accessor_function': must have return type 'type'
11+
> 'accessor_function': must have return type 'type'
1212
1313
At least one get method's return type must match the property type. For more information, see [property](../../extensions/property-cpp-component-extensions.md).
1414

0 commit comments

Comments
 (0)