Skip to content

Commit fbf8aa1

Browse files
authored
IntelliSense fixes (#3823)
* IntelliSense fixes * replace markdown link * move example to examples section
1 parent 34f468a commit fbf8aa1

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

xml/System.Data.Common/DbParameter.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ FieldName = @OriginalFieldName
758758
</ReturnValue>
759759
<Docs>
760760
<summary>For a description of this member, see <see cref="P:System.Data.IDbDataParameter.Scale" />.</summary>
761-
<value>The number of decimal places to which <see cref="T:System.Data.OleDb.OleDbParameter.Value" /> is resolved. The default is 0.</value>
761+
<value>The number of decimal places to which <see cref="P:System.Data.OleDb.OleDbParameter.Value" /> is resolved. The default is 0.</value>
762762
<remarks>
763763
<format type="text/markdown"><![CDATA[
764764

xml/System.Text/Encoding.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4336,7 +4336,7 @@ The goal is to save this file, then open and decode it as a binary stream.
43364336
<paramref name="bytes" /> is a null pointer.</exception>
43374337
<exception cref="T:System.ArgumentOutOfRangeException">
43384338
<paramref name="byteCount" /> is less than zero.</exception>
4339-
<exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see [Character Encoding in .NET](~/docs/standard/base-types/character-encoding.md) for a complete explanation)
4339+
<exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see <see href="~/docs/standard/base-types/character-encoding.md">Character Encoding in .NET</see>) for a complete explanation)
43404340

43414341
-and-
43424342

xml/System/Type.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10689,11 +10689,6 @@ GetType(Array).IsAssignableFrom(type)
1068910689

1069010690
- <paramref name="c" /> is a generic type parameter, and the current instance represents one of the constraints of <paramref name="c" />.
1069110691

10692-
In the following example, the current instance is a <see cref="T:System.Type" /> object that represents the <see cref="T:System.IO.Stream" /> class. <c>GenericWithConstraint</c> is a generic type whose generic type parameter must be of type <see cref="T:System.IO.Stream" />. Passing its generic type parameter to the <see cref="M:System.Type.IsAssignableFrom(System.Type)" /> indicates that an instance of the generic type parameter can be assigned to an <see cref="T:System.IO.Stream" /> object.
10693-
10694-
[!code-csharp[System.Type.IsAssignableFrom#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.type.isassignablefrom/cs/IsAssignableFrom2.cs#2)]
10695-
[!code-vb[System.Type.IsAssignableFrom#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb#2)]
10696-
1069710692
- <paramref name="c" /> represents a value type, and the current instance represents <c>Nullable&lt;c&gt;</c> (<c>Nullable(Of c)</c> in Visual Basic).
1069810693

1069910694
<see langword="false" /> if none of these conditions are true, or if <paramref name="c" /> is <see langword="null" />.</returns>
@@ -10729,6 +10724,12 @@ GetType(Array).IsAssignableFrom(type)
1072910724
[!code-cpp[TestIsAssignableFrom#1](~/samples/snippets/cpp/VS_Snippets_CLR/TestIsAssignableFrom/cpp/testisassignablefrom.cpp#1)]
1073010725
[!code-csharp[TestIsAssignableFrom#1](~/samples/snippets/csharp/VS_Snippets_CLR/TestIsAssignableFrom/CS/testisassignablefrom.cs#1)]
1073110726
[!code-vb[TestIsAssignableFrom#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/TestIsAssignableFrom/VB/testisassignablefrom.vb#1)]
10727+
10728+
In the following example, the current instance is a <xref:System.Type> object that represents the <xref:System.IO.Stream> class. `GenericWithConstraint` is a generic type whose generic type parameter must be of type <xref:System.IO.Stream>. Passing its generic type parameter to the `IsAssignableFrom` method indicates that an instance of the generic type parameter can be assigned to an <xref:System.IO.Stream> object.
10729+
10730+
[!code-csharp[System.Type.IsAssignableFrom#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.type.isassignablefrom/cs/IsAssignableFrom2.cs#2)]
10731+
[!code-vb[System.Type.IsAssignableFrom#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.type.isassignablefrom/vb/IsAssignableFrom2.vb#2)]
10732+
1073210733

1073310734
]]></format>
1073410735
</remarks>

0 commit comments

Comments
 (0)