Created
December 3, 2018 14:27
-
-
Save akarpov89/c7077430ea974996271a3f57541bbccc to your computer and use it in GitHub Desktop.
Index and Range API stub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace System | |
{ | |
public readonly partial struct Index : System.IEquatable<System.Index> | |
{ | |
private readonly int _dummyPrimitive; | |
public Index(int value, bool fromEnd) { throw null; } | |
public int Value { get { throw null; } } | |
public bool FromEnd { get { throw null; } } | |
public override bool Equals(object value) { throw null; } | |
public bool Equals(Index other) { throw null; } | |
public override int GetHashCode() { throw null; } | |
public override string ToString() { throw null; } | |
public static implicit operator Index(int value) { throw null; } | |
} | |
public readonly partial struct Range : System.IEquatable<System.Range> | |
{ | |
private readonly int _dummyPrimitive; | |
public Index Start { get { throw null; } } | |
public Index End { get { throw null; } } | |
public override bool Equals(object value) { throw null; } | |
public bool Equals(Range other) { throw null; } | |
public override int GetHashCode() { throw null; } | |
public override string ToString() { throw null; } | |
public static Range Create(Index start, Index end) { throw null; } | |
public static Range FromStart(Index start) { throw null; } | |
public static Range ToEnd(Index end) { throw null; } | |
public static Range All() { throw null; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment