Skip to content

Commit 18f5fe8

Browse files
authored
Add blockquotes for error messages in range [C3801, C3850]
1 parent dda89e0 commit 18f5fe8

27 files changed

+27
-27
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
@@ -8,7 +8,7 @@ ms.assetid: bad5fb9a-ed9a-4c15-96e7-cf06e200a50d
88
---
99
# Compiler Error C3803
1010

11-
'property': property has a type that is incompatible with one of its accessors 'accessor'
11+
> 'property': property has a type that is incompatible with one of its accessors 'accessor'
1212
1313
The type of a property defined with [property](../../cpp/property-cpp.md) does not match the return type for one of its accessor functions.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7c4cda28-ec96-4d04-937b-36dbd9944722
88
---
99
# Compiler Error C3804
1010

11-
'property_accessor': the accessor methods for a property must either be all static or all non-static
11+
> 'property_accessor': the accessor methods for a property must either be all static or all non-static
1212
1313
When defining a non-trivial property, the accessor functions can be either static or instance, but not both.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 166bbc35-5488-46b4-8e4c-9cd26ee5644e
88
---
99
# Compiler Error C3805
1010

11-
'token' : unexpected token, expected either '}' or an identifier
11+
> 'token' : unexpected token, expected either '}' or an identifier
1212
1313
When defining a property, an invalid token was encountered. Remove the invalid token.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 7e2b0aab-8c61-4e71-b9c1-fcaeb6a1b5ea
88
---
99
# Compiler Error C3807
1010

11-
'type' : a class with the ComImport attribute cannot derive from 'type2', only interface implementation is allowed
11+
> 'type' : a class with the ComImport attribute cannot derive from 'type2', only interface implementation is allowed
1212
1313
A type that derived from <xref:System.Runtime.InteropServices.ComImportAttribute> can only implement an interface.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 37eca584-c20c-464e-8e45-a987214b7ce4
88
---
99
# Compiler Error C3809
1010

11-
'class' : a managed or WinRT type cannot have any friend functions/classes/interfaces
11+
> 'class' : a managed or WinRT type cannot have any friend functions/classes/interfaces
1212
1313
Managed types and Windows Runtime types do not allow friends. To fix this error, do not declare friends inside managed or Windows Runtime types.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 326ac706-9a5f-4851-b9d2-b90c64c75532
88
---
99
# Compiler Error C3812
1010

11-
'property' must be the first token in a property declaration
11+
> 'property' must be the first token in a property declaration
1212
1313
When declaring a property, the `__property` keyword must be the first token on the line.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ffdbc489-71bf-4cd6-988c-f824c9ab3ceb
88
---
99
# Compiler Error C3813
1010

11-
a property declaration can only appear within the definition of a managed or WinRT type
11+
> a property declaration can only appear within the definition of a managed or WinRT type
1212
1313
A [property](../../dotnet/how-to-use-properties-in-cpp-cli.md) can only be declared within a managed or Windows Runtime type. Native types do not support the **`property`** keyword.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c5a3b404-6341-4fd3-92af-152b404c4dde
88
---
99
# Compiler Error C3815
1010

11-
return type of method 'get_accessor' must match type of the last parameter of a setter
11+
> return type of method 'get_accessor' must match type of the last parameter of a setter
1212
1313
When declaring properties, the return value of the `get_accessor` method must match the last parameter in the declaration of the set accessor method.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2e52cc7f-e31c-41a3-8d6f-9f5fab3648c0
88
---
99
# Compiler Error C3816
1010

11-
'declaration' was previously declared or defined with a different managed or WinRTmodifier
11+
> 'declaration' was previously declared or defined with a different managed or WinRTmodifier
1212
1313
A forward declaration and an actual declaration require that there be no conflicts or inconsistencies in the declaration of attributes.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c6dbb57a-c65e-4040-8dd2-85bd9d4fd337
88
---
99
# Compiler Error C3817
1010

11-
'declaration' : property can only be applied to a function
11+
> 'declaration' : property can only be applied to a function
1212
1313
The **`property`** keyword can only be a applied to a function definition.
1414

0 commit comments

Comments
 (0)