Exemple #1
0
 public static Boolean Overlaps <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> other, out Int32 elementOffset) => span.AsSpan().Overlaps(other, out elementOffset);
Exemple #2
0
 public static Int32 SequenceCompareTo <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> other) where T : IComparable <T> => span.AsSpan().SequenceCompareTo(other);
Exemple #3
0
 public static Int32 BinarySearch <T, TComparable>(this ImmutableSpan <T> span, TComparable comparable) where TComparable : IComparable <T> => span.AsSpan().BinarySearch(comparable);
Exemple #4
0
 public static Boolean Overlaps <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> other) => span.AsSpan().Overlaps(other);
Exemple #5
0
 public static Int32 ToUpperInvariant(this ImmutableSpan <Char> source, Span <Char> destination) => source.AsSpan().ToUpperInvariant(destination);
Exemple #6
0
 public static ImmutableSpan <Char> TrimEnd(this ImmutableSpan <Char> span, ReadOnlySpan <Char> trimChars) => new ImmutableSpan <Char>(span.AsSpan().TrimEnd(trimChars));
Exemple #7
0
 public static Int32 IndexOf(this ImmutableSpan <Char> span, ReadOnlySpan <Char> value, StringComparison comparisonType) => span.AsSpan().IndexOf(value, comparisonType);
Exemple #8
0
 public static Boolean StartsWith(this ImmutableSpan <Char> span, ReadOnlySpan <Char> value, StringComparison comparisonType) => span.AsSpan().StartsWith(value, comparisonType);
Exemple #9
0
 public static Boolean Equals(this ImmutableSpan <Char> span, ReadOnlySpan <Char> other, StringComparison comparisonType) => span.AsSpan().Equals(other, comparisonType);
Exemple #10
0
 public static Int32 IndexOf <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> value) where T : IEquatable <T> => span.AsSpan().IndexOf(value);
Exemple #11
0
 public static Boolean Contains(this ImmutableSpan <Char> span, ReadOnlySpan <Char> value, StringComparison comparisonType) => span.AsSpan().Contains(value, comparisonType);
Exemple #12
0
 public static Int32 CompareTo(this ImmutableSpan <Char> span, ReadOnlySpan <Char> other, StringComparison comparisonType) => span.AsSpan().CompareTo(other, comparisonType);
Exemple #13
0
 public static Int32 BinarySearch <T>(this ImmutableSpan <T> span, IComparable <T> comparable) => span.AsSpan().BinarySearch(comparable);
Exemple #14
0
 public static Boolean SequenceEqual <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> other) where T : IEquatable <T> => span.AsSpan().SequenceEqual(other);
Exemple #15
0
 public static Boolean IsWhiteSpace(this ImmutableSpan <Char> span) => span.AsSpan().IsWhiteSpace();
Exemple #16
0
 public static Boolean StartsWith <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> value) where T : IEquatable <T> => span.AsSpan().StartsWith(value);
Exemple #17
0
 public static Int32 LastIndexOf <T>(this ImmutableSpan <T> span, T value) where T : IEquatable <T> => span.AsSpan().LastIndexOf(value);
Exemple #18
0
 public static Int32 ToUpper(this ImmutableSpan <Char> source, Span <Char> destination, CultureInfo culture) => source.AsSpan().ToUpper(destination, culture);
Exemple #19
0
 public static Int32 LastIndexOfAny <T>(this ImmutableSpan <T> span, ReadOnlySpan <T> values) where T : IEquatable <T> => span.AsSpan().LastIndexOfAny(values);
Exemple #20
0
 public static ImmutableSpan <Char> Trim(this ImmutableSpan <Char> span) => new ImmutableSpan <Char>(span.AsSpan().Trim());
Exemple #21
0
 public static Int32 LastIndexOfAny <T>(this ImmutableSpan <T> span, T value0, T value1, T value2) where T : IEquatable <T> => span.AsSpan().LastIndexOfAny(value0, value1, value2);
Exemple #22
0
 public static ImmutableSpan <Char> TrimEnd(this ImmutableSpan <Char> span, Char trimChar) => new ImmutableSpan <Char>(span.AsSpan().TrimEnd(trimChar));
Exemple #23
0
 public static Int32 BinarySearch <T, TComparer>(this ImmutableSpan <T> span, T value, TComparer comparer) where TComparer : IComparer <T> => span.AsSpan().BinarySearch(value, comparer);