Skip to content

Commit 0c1de98

Browse files
authored
Fix xref in System.Type remarks (#4029)
1 parent 8df7c4a commit 0c1de98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/Type.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12285,7 +12285,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance
1228512285
<format type="text/markdown"><![CDATA[
1228612286

1228712287
## Examples
12288-
The following example demonstrates the `IsContextful`, <xref:System.Type.IsMarshalByRef%2A>, and <xref:System.Type.IsPrimitive%2A> properties of the <xref:System.Type> class. It checks whether the given type can be hosted in the context, whether it can be marshaled by reference, and whether the type is a primitive data type.
12288+
The following example demonstrates the <xref:System.Type.IsContextful%2A>, `IsMarshalByRef`, and <xref:System.Type.IsPrimitive%2A> properties of the <xref:System.Type> class. It checks whether the given type can be hosted in the context, whether it can be marshaled by reference, and whether the type is a primitive data type.
1228912289

1229012290
[!code-cpp[Type_IsContextful#1](~/samples/snippets/cpp/VS_Snippets_CLR/Type_IsContextful/CPP/type_iscontextful.cpp#1)]
1229112291
[!code-csharp[Type_IsContextful#1](~/samples/snippets/csharp/VS_Snippets_CLR/Type_IsContextful/CS/type_iscontextful.cs#1)]
@@ -13010,7 +13010,7 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance
1301013010

1301113011

1301213012
## Examples
13013-
The following example demonstrates the `IsContextful`, <xref:System.Type.IsMarshalByRef%2A>, and <xref:System.Type.IsPrimitive%2A> properties of the <xref:System.Type> class. It checks whether the given type can be hosted in the context, whether it can be marshaled by reference, and whether the type is a primitive data type.
13013+
The following example demonstrates the <xref:System.Type.IsContextful%2A>, <xref:System.Type.IsMarshalByRef%2A>, and `IsPrimitive` properties of the <xref:System.Type> class. It checks whether the given type can be hosted in the context, whether it can be marshaled by reference, and whether the type is a primitive data type.
1301413014

1301513015
[!code-cpp[Type_IsContextful#1](~/samples/snippets/cpp/VS_Snippets_CLR/Type_IsContextful/CPP/type_iscontextful.cpp#1)]
1301613016
[!code-csharp[Type_IsContextful#1](~/samples/snippets/csharp/VS_Snippets_CLR/Type_IsContextful/CS/type_iscontextful.cs#1)]

0 commit comments

Comments
 (0)