25 interfaces inheriting from IEquatable
GenerateDocumentationAndConfigFiles (1)
ILCompiler.Compiler (2)
illink (2)
ILLink.RoslynAnalyzer (2)
Microsoft.Build (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.Sweeper (1)
Microsoft.TemplateEngine.Abstractions (1)
Microsoft.TemplateEngine.Core.Contracts (1)
Roslyn.Diagnostics.Analyzers (1)
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumberBase.cs (1)
20IEquatable<TSelf>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
21IEquatable<TSelf>,
System.Runtime.Numerics (1)
1314 implementations of IEquatable
aspire (1)
Aspire.Dashboard (3)
Aspire.Hosting (3)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Browsers (1)
Aspire.Hosting.Browsers.Tests (1)
Aspire.Hosting.Integration.Analyzers (2)
Aspire.Hosting.Kubernetes (2)
cdac-build-tool (1)
ConfigurationSchemaGenerator (3)
CSharpSyntaxGenerator (1)
dotnet (3)
dotnet-aot (3)
dotnet-svcutil-lib (4)
GenerateDocumentationAndConfigFiles (20)
ILCompiler.Compiler (36)
ILCompiler.DependencyAnalysisFramework (2)
ILCompiler.Diagnostics (1)
ILCompiler.MetadataTransform (2)
ILCompiler.ReadyToRun (32)
ILCompiler.RyuJit (1)
ILCompiler.TypeSystem (6)
illink (13)
ILLink.RoslynAnalyzer (15)
ILLink.Tasks (1)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.App.Analyzers (4)
Microsoft.AspNetCore.Components (3)
Microsoft.AspNetCore.Components.AI.SourceGenerators (6)
Microsoft.AspNetCore.Components.Endpoints (5)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Server (6)
Microsoft.AspNetCore.Components.Testing.Generators (1)
Microsoft.AspNetCore.Components.WebAssembly (3)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Http.Abstractions (6)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (1)
Microsoft.AspNetCore.Mvc.Abstractions (5)
Microsoft.AspNetCore.Mvc.Core (3)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Server.HttpSys (13)
Microsoft.AspNetCore.Server.IIS (9)
Microsoft.Build (19)
Microsoft.Build.Framework (7)
Microsoft.Build.Tasks.Core (5)
Microsoft.Build.Tasks.Git (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (82)
Microsoft.CodeAnalysis.Analyzers (22)
Microsoft.CodeAnalysis.AnalyzerUtilities (31)
Microsoft.CodeAnalysis.CodeStyle (19)
Microsoft.CodeAnalysis.CSharp (19)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Extensions.Package (6)
Microsoft.CodeAnalysis.Features (24)
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Microsoft.CodeAnalysis.NetAnalyzers (14)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\Unit.cs (1)
20: IEquatable<Unit>
Microsoft.CodeAnalysis.Razor.Compiler (20)
Microsoft.CodeAnalysis.ResxSourceGenerator (22)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (41)
Microsoft.CSharp (4)
Microsoft.Deployment.DotNet.Releases (3)
Microsoft.Diagnostics.DataContractReader.Abstractions (4)
Microsoft.Diagnostics.DataContractReader.Contracts (3)
Microsoft.Diagnostics.DataContractReader.DataGenerator (3)
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Microsoft.DiaSymReader (1)
Microsoft.DotNet.ApiCompatibility (4)
Microsoft.DotNet.Cli.Definitions (1)
Microsoft.DotNet.Cli.Utils (1)
Microsoft.DotNet.SdkResolver (1)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.TemplateLocator (7)
Microsoft.Extensions.AI.Abstractions (7)
Microsoft.Extensions.AI.Evaluation.NLP (2)
Microsoft.Extensions.AI.Evaluation.Safety (1)
Microsoft.Extensions.AsyncState (1)
Microsoft.Extensions.Caching.Hybrid (1)
Microsoft.Extensions.Compliance.Abstractions (2)
Microsoft.Extensions.Compliance.Testing (2)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
Microsoft.Extensions.DependencyInjection (2)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (2)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Generators (6)
Microsoft.Extensions.Primitives (5)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.JSInterop (1)
Microsoft.Maui (4)
Microsoft.Maui.Controls (3)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Essentials (9)
Microsoft.Maui.Graphics (2)
Microsoft.ML.AutoML (2)
Microsoft.ML.Core (1)
Microsoft.ML.DataView (3)
Microsoft.ML.SearchSpace (1)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TestFramework (1)
Microsoft.ML.Tests (1)
Microsoft.ML.TimeSeries (2)
Microsoft.ML.Tokenizers (7)
Microsoft.ML.Transforms (2)
Microsoft.NET.Build.Tasks (7)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (4)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (9)
Microsoft.NET.Sdk.WorkloadManifestReader (7)
Microsoft.Private.Windows.Core (43)
Microsoft.TemplateEngine.Cli (2)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (1)
Microsoft.VisualStudio.TestPlatform.ObjectModel (9)
Mono.Cecil (2)
NuGet.CommandLine.XPlat (1)
NuGet.Commands (7)
NuGet.Configuration (2)
NuGet.DependencyResolver.Core (4)
NuGet.Frameworks (7)
NuGet.LibraryModel (8)
NuGet.PackageManagement (3)
NuGet.Packaging (19)
NuGet.ProjectModel (22)
NuGet.Protocol (3)
NuGet.Resolver (1)
NuGet.Versioning (3)
PresentationCore (12)
PresentationFramework (15)
Roslyn.Diagnostics.Analyzers (22)
Roslyn.Diagnostics.CSharp.Analyzers (2)
ScenarioTests.Common.Tests (2)
sdk-tasks (1)
Shared (2)
System.Collections.Immutable (3)
System.Collections.Specialized (2)
System.CommandLine (4)
System.ComponentModel.Composition (1)
System.ComponentModel.TypeConverter (3)
System.Console (1)
System.Data.Common (15)
System.Diagnostics.DiagnosticSource (22)
System.Diagnostics.PerformanceCounter (1)
System.Diagnostics.StackTrace (1)
System.Drawing.Common (3)
System.Drawing.Primitives (7)
System.Formats.Asn1 (2)
System.Formats.Nrbf (1)
System.IO.Packaging (1)
System.Linq.Expressions (2)
System.Memory (1)
System.Net.Http (7)
System.Net.Http.WinHttpHandler (1)
System.Net.NameResolution (1)
System.Net.Primitives (5)
System.Net.Quic (3)
System.Net.Security (4)
System.Net.Sockets (3)
System.Numerics.Tensors (3)
System.Private.CoreLib (107)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
23IEquatable<int>,
src\runtime\src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (9)
35: IEquatable<ValueTuple>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple>, IValueTupleInternal, ITuple
264: IEquatable<ValueTuple<T1>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1>>, IValueTupleInternal, ITuple
428: IEquatable<ValueTuple<T1, T2>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2>>, IValueTupleInternal, ITuple
630: IEquatable<ValueTuple<T1, T2, T3>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3>>, IValueTupleInternal, ITuple
829: IEquatable<ValueTuple<T1, T2, T3, T4>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4>>, IValueTupleInternal, ITuple
1046: IEquatable<ValueTuple<T1, T2, T3, T4, T5>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5>>, IValueTupleInternal, ITuple
1281: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6>>, IValueTupleInternal, ITuple
1534: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6, T7>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6, T7>>, IValueTupleInternal, ITuple
1805: IEquatable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple<T1, T2, T3, T4, T5, T6, T7, TRest>>, IValueTupleInternal, ITuple
System.Private.DataContractSerialization (2)
System.Private.TypeLoader (6)
System.Private.Uri (1)
System.Private.Windows.Core (41)
System.Private.Windows.GdiPlus (3)
System.Private.Xml (4)
System.Private.Xml.Linq (1)
System.Reflection.Metadata (45)
System.Reflection.MetadataLoadContext (3)
System.Runtime.Caching (2)
System.Runtime.Numerics (3)
System.Security.Cryptography (13)
System.Security.Cryptography.Cose (2)
System.ServiceModel.Http (1)
System.ServiceModel.Primitives (1)
System.ServiceProcess.ServiceController (1)
System.Speech (5)
System.Text.Json (4)
System.Text.Json.SourceGeneration (2)
System.Text.RegularExpressions (5)
System.Threading (1)
System.Threading.RateLimiting (1)
System.Threading.Tasks.Dataflow (1)
System.Transactions.Local (3)
System.Windows.Controls.Ribbon (1)
System.Windows.Forms (4)
System.Windows.Forms.Design (1)
System.Windows.Forms.Primitives (21)
System.Windows.Forms.PrivateSourceGenerators (1)
System.Xaml (4)
UnitTests.Common (1)
439 references to IEquatable
Aspire.Hosting.Azure (1)
ConfigurationSchemaGenerator (4)
GenerateDocumentationAndConfigFiles (3)
ILCompiler.Compiler (12)
illink (11)
ILLink.RoslynAnalyzer (27)
Microsoft.AspNetCore.Components.QuickGrid (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (15)
Microsoft.AspNetCore.Razor.Utilities.Shared (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.Build (12)
Microsoft.Build.Framework (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (3)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.NetAnalyzers (5)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.Data.Analysis.Tests (1)
Microsoft.Diagnostics.DataContractReader.DataGenerator (1)
Microsoft.Extensions.AI.Evaluation.NLP (7)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (4)
Microsoft.Extensions.Identity.Stores (11)
Microsoft.Extensions.Logging.Generators (4)
Microsoft.Maui (1)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.Maui.Essentials (4)
Microsoft.ML.Core (1)
Microsoft.ML.Data (4)
Microsoft.ML.Ensemble (2)
Microsoft.ML.Tokenizers (1)
Microsoft.ML.Transforms (3)
Microsoft.Private.Windows.Core (4)
Microsoft.TemplateEngine.Utils (4)
Mono.Cecil (1)
mscorlib (1)
netstandard (1)
NuGet.Protocol (1)
PresentationCore (1)
Roslyn.Diagnostics.Analyzers (3)
Roslyn.Diagnostics.CSharp.Analyzers (3)
System.Data.Common (1)
System.Diagnostics.DiagnosticSource (7)
System.IO.Packaging (3)
System.Memory (4)
System.Net.Quic (1)
System.Net.Security (1)
System.Numerics.Tensors (11)
System\Numerics\Tensors\netcore\Tensor.cs (8)
1782where T : IEquatable<T>?
1791where T : IEquatable<T>?
3027where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3042where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3058where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3073where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3089where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3104where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
834where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
850where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
866where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
System.Private.CoreLib (178)
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifier.cs (1)
63where K : IEquatable<K>
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierW.cs (1)
73where K : IEquatable<K>
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Concurrent\ConcurrentUnifierWKeyed.cs (1)
82where K : IEquatable<K>
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (91)
318public static bool Contains<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
328public static unsafe bool Contains<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
379public static bool ContainsAny<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
385public static bool ContainsAny<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
391public static bool ContainsAny<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
397public static bool ContainsAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
409public static bool ContainsAnyExcept<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
415public static bool ContainsAnyExcept<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
421public static bool ContainsAnyExcept<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
427public static bool ContainsAnyExcept<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
433public static bool ContainsAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
456public static bool ContainsAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>? =>
479public static bool ContainsAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
501public static bool ContainsAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
521public static bool ContainsAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
550public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
578public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>? =>
608public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
637public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
664public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
705public static int IndexOf<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
715public static int IndexOf<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
725public static int LastIndexOf<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
735public static int LastIndexOf<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
747public static int IndexOfAnyExcept<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
760public static int IndexOfAnyExcept<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
774public static int IndexOfAnyExcept<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
786public static int IndexOfAnyExcept<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
799public static int IndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
811public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
938public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
1045public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
1148private static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2, T value3) where T : IEquatable<T>?
1185public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
1306public static int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
1325public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
1338public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
1352public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
1364public static int LastIndexOfAnyExcept<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
1377public static int LastIndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
1389public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
1516public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
1623public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
1727private static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2, T value3) where T : IEquatable<T>?
1764public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
1886public static int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
2194public static bool SequenceEqual<T>(this Span<T> span, ReadOnlySpan<T> other) where T : IEquatable<T>? =>
2210public static unsafe int IndexOf<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
2319public static unsafe int IndexOf<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
2405public static unsafe int LastIndexOf<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
2525public static unsafe int LastIndexOf<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
2616public static int IndexOfAny<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
2628public static int IndexOfAny<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
2638public static int IndexOfAny<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
2648public static int IndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
2668public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
2768public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
2873public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
3011public static int IndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
3046public static int LastIndexOfAny<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
3058public static int LastIndexOfAny<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
3068public static int LastIndexOfAny<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
3078public static int LastIndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
3088public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
3189public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
3295public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
3432public static int LastIndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
3447public static unsafe bool SequenceEqual<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> other) where T : IEquatable<T>?
3581public static bool StartsWith<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
3589public static unsafe bool StartsWith<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
3623public static bool EndsWith<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
3631public static unsafe bool EndsWith<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
3672public static bool StartsWith<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
3696public static bool EndsWith<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
4471public static unsafe void Replace<T>(this Span<T> span, T oldValue, T newValue) where T : IEquatable<T>?
4630public static unsafe void Replace<T>(this ReadOnlySpan<T> source, Span<T> destination, T oldValue, T newValue) where T : IEquatable<T>?
4826public static void ReplaceAny<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4852public static void ReplaceAny<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4876public static void ReplaceAnyExcept<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4901public static void ReplaceAnyExcept<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>?
5029public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, T separator) where T : IEquatable<T> =>
5040public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, ReadOnlySpan<T> separator) where T : IEquatable<T> =>
5058public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, [UnscopedRef] params ReadOnlySpan<T> separators) where T : IEquatable<T> =>
5075public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, SearchValues<T> separators) where T : IEquatable<T> =>
5417public static int Count<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
5426public static unsafe int Count<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
5551public static int Count<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
5559public static int Count<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
5620public static int CountAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
5640public static int CountAny<T>(this ReadOnlySpan<T> span, params ReadOnlySpan<T> values) where T : IEquatable<T>?
5874public ref struct SpanSplitEnumerator<T> : IEnumerator<Range> where T : IEquatable<T>
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.Trim.cs (28)
16public static Memory<T> Trim<T>(this Memory<T> memory, T trimElement) where T : IEquatable<T>?
29public static Memory<T> TrimStart<T>(this Memory<T> memory, T trimElement) where T : IEquatable<T>?
37public static Memory<T> TrimEnd<T>(this Memory<T> memory, T trimElement) where T : IEquatable<T>?
45public static ReadOnlyMemory<T> Trim<T>(this ReadOnlyMemory<T> memory, T trimElement) where T : IEquatable<T>?
58public static ReadOnlyMemory<T> TrimStart<T>(this ReadOnlyMemory<T> memory, T trimElement) where T : IEquatable<T>?
66public static ReadOnlyMemory<T> TrimEnd<T>(this ReadOnlyMemory<T> memory, T trimElement) where T : IEquatable<T>?
74public static Span<T> Trim<T>(this Span<T> span, T trimElement) where T : IEquatable<T>?
86public static Span<T> TrimStart<T>(this Span<T> span, T trimElement) where T : IEquatable<T>?
94public static Span<T> TrimEnd<T>(this Span<T> span, T trimElement) where T : IEquatable<T>?
102public static ReadOnlySpan<T> Trim<T>(this ReadOnlySpan<T> span, T trimElement) where T : IEquatable<T>?
114public static ReadOnlySpan<T> TrimStart<T>(this ReadOnlySpan<T> span, T trimElement) where T : IEquatable<T>?
122public static ReadOnlySpan<T> TrimEnd<T>(this ReadOnlySpan<T> span, T trimElement) where T : IEquatable<T>?
130private static int ClampStart<T>(ReadOnlySpan<T> span, T trimElement) where T : IEquatable<T>?
164private static int ClampEnd<T>(ReadOnlySpan<T> span, int start, T trimElement) where T : IEquatable<T>?
202public static Memory<T> Trim<T>(this Memory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
227public static Memory<T> TrimStart<T>(this Memory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
249public static Memory<T> TrimEnd<T>(this Memory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
271public static ReadOnlyMemory<T> Trim<T>(this ReadOnlyMemory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
296public static ReadOnlyMemory<T> TrimStart<T>(this ReadOnlyMemory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
318public static ReadOnlyMemory<T> TrimEnd<T>(this ReadOnlyMemory<T> memory, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
340public static Span<T> Trim<T>(this Span<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
364public static Span<T> TrimStart<T>(this Span<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
386public static Span<T> TrimEnd<T>(this Span<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
408public static ReadOnlySpan<T> Trim<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
432public static ReadOnlySpan<T> TrimStart<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
454public static ReadOnlySpan<T> TrimEnd<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
475private static int ClampStart<T>(ReadOnlySpan<T> span, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
496private static int ClampEnd<T>(ReadOnlySpan<T> span, int start, ReadOnlySpan<T> trimElements) where T : IEquatable<T>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (15)
205public static int IndexOf<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
247public static bool Contains<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
318public static int IndexOf<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
417public static int IndexOfAny<T>(ref T searchSpace, T value0, T value1, int length) where T : IEquatable<T>?
542public static int IndexOfAny<T>(ref T searchSpace, T value0, T value1, T value2, int length) where T : IEquatable<T>?
667public static int IndexOfAny<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
736public static int LastIndexOf<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
782public static int LastIndexOf<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
874public static int LastIndexOfAny<T>(ref T searchSpace, T value0, T value1, int length) where T : IEquatable<T>?
998public static int LastIndexOfAny<T>(ref T searchSpace, T value0, T value1, T value2, int length) where T : IEquatable<T>?
1122public static int LastIndexOfAny<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
1313public static bool SequenceEqual<T>(ref T first, ref T second, int length) where T : IEquatable<T>?
3432public static void Replace<T>(ref T src, ref T dst, T oldValue, T newValue, nuint length) where T : IEquatable<T>?
4133public static int Count<T>(ref T current, T value, int length) where T : IEquatable<T>?
4166public static unsafe int CountValueType<T>(ref T current, T value, int length) where T : struct, IEquatable<T>
System.Private.Reflection.Execution (2)
System.Private.TypeLoader (2)
System.Private.Windows.Core (3)
System.Private.Xml.Linq (1)
System.Reflection.MetadataLoadContext (1)
System.Runtime (1)
System.Security.Cryptography (7)
System.Text.Json (1)
System.Text.Json.SourceGeneration (2)
System.Text.RegularExpressions (7)
System.Text.RegularExpressions.Generator (3)
System.Windows.Forms.PrivateSourceGenerators (1)