Skip to content

Commit 5ad0e14

Browse files
authored
Add blockquotes for error messages in range [C3381, C3420]
1 parent 3857681 commit 5ad0e14

24 files changed

+24
-24
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: a7603abd-ac4e-4ae6-a02b-3bdc6d1908a6
88
---
99
# Compiler Error C3382
1010

11-
'sizeof' is not supported with /clr:safe
11+
> 'sizeof' is not supported with /clr:safe
1212
1313
The output file of a **/clr:safe** compilation is a file that is verifiably type safe, and sizeof is not supported because the return value of the sizeof operator is size_t, whose size varies depending on the operating system.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ceb7f725-f417-4dc3-8496-0f413bb76687
88
---
99
# Compiler Error C3383
1010

11-
'operator new' is not supported with /clr:safe
11+
> 'operator new' is not supported with /clr:safe
1212
1313
The output file of a **/clr:safe** compilation is a file that is verifiably type safe, and pointers are not supported.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c9f92c6a-62a9-4333-b2b1-bc55c7f288b6
88
---
99
# Compiler Error C3384
1010

11-
'type_parameter' : the value constraint and the ref constraint are mutually exclusive
11+
> 'type_parameter' : the value constraint and the ref constraint are mutually exclusive
1212
1313
You cannot constrain a generic type to both **`value class`** and **`ref class`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 5f1838c1-986e-47db-8dbc-e06976b83cf3
88
---
99
# Compiler Error C3385
1010

11-
'class::function' : a function that has a DllImport Custom attribute cannot return an instance of a class
11+
> 'class::function' : a function that has a DllImport Custom attribute cannot return an instance of a class
1212
1313
A function defined as being in a .dll file specified with the `DllImport` attribute cannot return an instance of a class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c54d9925-ed14-4976-b8db-e8d4dc84e536
88
---
99
# Compiler Error C3387
1010

11-
'member' : __declspec(dllexport)/\__declspec(dllimport) cannot be applied to a member of a managed or WinRT type
11+
> 'member' : __declspec(dllexport)/\__declspec(dllimport) cannot be applied to a member of a managed or WinRT type
1212
1313
The `dllimport` and [dllexport](../../cpp/dllexport-dllimport.md) **`__declspec`** modifiers are not valid on members of a managed or Windows Runtime type.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 34336545-ed13-4d81-ab5f-f869799fe4c2
88
---
99
# Compiler Error C3388
1010

11-
'type' : not allowed as a constraint, assuming 'ref class' to continue parsing
11+
> 'type' : not allowed as a constraint, assuming 'ref class' to continue parsing
1212
1313
A constraint was specified on a generic type, but the constraint was not specified correctly. See [Constraints on Generic Type Parameters (C++/CLI)](../../extensions/constraints-on-generic-type-parameters-cpp-cli.md) for more information.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c32532b9-7db4-4ccd-84b9-479e5a1a19d1
88
---
99
# Compiler Error C3391
1010

11-
'type_arg' : invalid type argument for generic parameter 'param' of generic 'generic_type', must be a non-nullable value type
11+
> 'type_arg' : invalid type argument for generic parameter 'param' of generic 'generic_type', must be a non-nullable value type
1212
1313
A generic type was instantiated incorrectly. Check the type definition. For more information, see <xref:System.Nullable> and [Generics](../../extensions/generics-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: e4757596-e2aa-4314-b01e-5c4bfd2110e9
88
---
99
# Compiler Error C3392
1010

11-
'type_arg' : invalid type argument for generic parameter 'param' of generic 'generic_type', must have a public parameterless constructor
11+
> 'type_arg' : invalid type argument for generic parameter 'param' of generic 'generic_type', must have a public parameterless constructor
1212
1313
A generic type was instantiated incorrectly. Check the type definition. For more information, see [Generics](../../extensions/generics-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d57f7c69-0a02-4fe3-9e45-bc62644fd77c
88
---
99
# Compiler Error C3393
1010

11-
syntax error in constraint clause: 'identifier' is not a type
11+
> syntax error in constraint clause: 'identifier' is not a type
1212
1313
The identifier passed to a constraint, which must be a type, was not a type. For more information, see [Constraints on Generic Type Parameters (C++/CLI)](../../extensions/constraints-on-generic-type-parameters-cpp-cli.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 4e025d79-27ba-43c8-b0d9-839ecef98126
88
---
99
# Compiler Error C3394
1010

11-
syntax error in constraint clause: found 'identifier' expected a type
11+
> syntax error in constraint clause: found 'identifier' expected a type
1212
1313
A constraint was ill formed. For more information, see [Constraints on Generic Type Parameters (C++/CLI)](../../extensions/constraints-on-generic-type-parameters-cpp-cli.md).
1414

0 commit comments

Comments
 (0)