Skip to content

Commit 9d868d3

Browse files
authored
Automatically port Single docs (EII) (#4026)
1 parent 1ec9c01 commit 9d868d3

File tree

1 file changed

+31
-7
lines changed

1 file changed

+31
-7
lines changed

xml/System/Single.xml

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,10 +2496,26 @@ If a separator is encountered in the `s` parameter during a parse operation, and
24962496
<Parameter Name="value" Type="System.Object" Index="0" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
24972497
</Parameters>
24982498
<Docs>
2499-
<param name="value">To be added.</param>
2500-
<summary>To be added.</summary>
2501-
<returns>To be added.</returns>
2502-
<remarks>To be added.</remarks>
2499+
<param name="value">The object to compare.</param>
2500+
<summary>Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.</summary>
2501+
<returns>A value that indicates the relative order of the objects being compared.</returns>
2502+
<remarks>
2503+
<format type="text/markdown"><![CDATA[
2504+
2505+
## Remarks
2506+
2507+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Single> instance is cast to an <xref:System.IComparable> interface.
2508+
2509+
The return value has these meanings:
2510+
2511+
| Value | Meaning |
2512+
|-------------------|-------------------------------------------------------------------------|
2513+
| Less than zero | This instance precedes `value` in the sort order. |
2514+
| Zero | This instance occurs in the same position in the sort order as `value`. |
2515+
| Greater than zero | This instance follows `value` in the sort order. |
2516+
2517+
]]></format>
2518+
</remarks>
25032519
</Docs>
25042520
</Member>
25052521
<Member MemberName="System.IConvertible.GetTypeCode">
@@ -2529,9 +2545,17 @@ If a separator is encountered in the `s` parameter during a parse operation, and
25292545
</ReturnValue>
25302546
<Parameters />
25312547
<Docs>
2532-
<summary>To be added.</summary>
2533-
<returns>To be added.</returns>
2534-
<remarks>To be added.</remarks>
2548+
<summary>Returns the <see cref="T:System.TypeCode" /> for this instance.</summary>
2549+
<returns>The enumerated constant that is the <see cref="T:System.TypeCode" /> of the class or value type that implements this interface.</returns>
2550+
<remarks>
2551+
<format type="text/markdown"><![CDATA[
2552+
2553+
## Remarks
2554+
2555+
This member is an explicit interface member implementation. It can be used only when the <xref:System.Single> instance is cast to an <xref:System.IConvertible> interface.
2556+
2557+
]]></format>
2558+
</remarks>
25352559
</Docs>
25362560
</Member>
25372561
<Member MemberName="System.IConvertible.ToBoolean">

0 commit comments

Comments
 (0)