TextSpan
TextSpan(Int32, Int32)
End
IsEmpty
Length
Start
CompareTo(TextSpan)
Contains(Int32)
Contains(TextSpan)
Equals(Object)
Equals(TextSpan)
FromBounds(Int32, Int32)
GetHashCode()
Intersection(TextSpan)
IntersectsWith(Int32)
IntersectsWith(TextSpan)
Overlap(TextSpan)
OverlapsWith(TextSpan)
ToString()
operator !=(TextSpan, TextSpan)
operator ==(TextSpan, TextSpan)
net10.0
namespace Microsoft.CodeAnalysis.Text
{
[DataContract]
public readonly struct TextSpan : IComparable<TextSpan>, IEquatable<TextSpan>
{
public override int GetHashCode();
}
}
| .NET | 8.09.010.0 |
|---|---|
Information specific to net10.0 | |
| Assembly | Microsoft.CodeAnalysis , Version=5.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.CodeAnalysis.Common (5.0.0) net9.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API