Skip to content

Automatically port DateTime comments (EII) #4020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions xml/System/DateTime.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Type Name="DateTime" FullName="System.DateTime">
<Type Name="DateTime" FullName="System.DateTime">
<TypeSignature Language="C#" Value="public struct DateTime : IComparable, IComparable&lt;DateTime&gt;, IConvertible, IEquatable&lt;DateTime&gt;, IFormattable" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="ILAsm" Value=".class public sequential ansi sealed beforefieldinit DateTime extends System.ValueType implements class System.IComparable, class System.IComparable`1&lt;valuetype System.DateTime&gt;, class System.IConvertible, class System.IEquatable`1&lt;valuetype System.DateTime&gt;, class System.IFormattable" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
<TypeSignature Language="DocId" Value="T:System.DateTime" />
Expand Down Expand Up @@ -6125,10 +6125,26 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
<Parameter Name="value" Type="System.Object" Index="0" FrameworkAlternate="dotnet-uwp-10.0;netcore-1.0;netcore-1.1;netcore-2.0;netstandard-1.0;netstandard-1.1;netstandard-1.2;netstandard-1.3;netstandard-1.4;netstandard-1.5;netstandard-1.6" />
</Parameters>
<Docs>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<param name="value">The object to compare.</param>
<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>
<returns>A value that indicates the relative order of the objects being compared.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

This member is an explicit interface member implementation. It can be used only when the <xref:System.DateTime> instance is cast to an <xref:System.IComparable> interface.

The return value has these meanings:

| Value | Meaning |
|-------------------|-------------------------------------------------------------------------|
| Less than zero | This instance precedes `value` in the sort order. |
| Zero | This instance occurs in the same position in the sort order as `value`. |
| Greater than zero | This instance follows `value` in the sort order. |

]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="System.IConvertible.GetTypeCode">
Expand Down Expand Up @@ -6159,9 +6175,17 @@ The following example demonstrates the <xref:System.DateTime.Parse%28System.Stri
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<summary>Returns the <see cref="T:System.TypeCode" /> for this instance.</summary>
<returns>The enumerated constant that is the <see cref="T:System.TypeCode" /> of the class or value type that implements this interface.</returns>
<remarks>
<format type="text/markdown"><![CDATA[

## Remarks

This member is an explicit interface member implementation. It can be used only when the <xref:System.DateTime> instance is cast to an <xref:System.IConvertible> interface.

]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="System.IConvertible.ToBoolean">
Expand Down