27 interfaces inheriting from IEquatable
GenerateDocumentationAndConfigFiles (1)
illink (2)
ILLink.RoslynAnalyzer (2)
Metrics (1)
Metrics.Legacy (1)
Microsoft.Build (1)
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.Sweeper (1)
Roslyn.Diagnostics.Analyzers (1)
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (1)
21IEquatable<TSelf>,
System.Runtime.Numerics (1)
Test.Utilities (1)
Text.Analyzers (1)
1142 implementations of IEquatable
Aspire.Dashboard (3)
Aspire.Hosting (2)
Aspire.Hosting.Azure (1)
Aspire.Hosting.Kubernetes (2)
BuildBoss (1)
ConfigurationSchemaGenerator (3)
CSharpSyntaxGenerator (1)
DesignSurfaceExt (2)
dotnet-svcutil-lib (4)
GenerateDocumentationAndConfigFiles (21)
illink (13)
ILLink.RoslynAnalyzer (13)
ILLink.Tasks (1)
Metrics (23)
Metrics.Legacy (23)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Antiforgery (1)
Microsoft.AspNetCore.App.Analyzers (4)
Microsoft.AspNetCore.Components (2)
Microsoft.AspNetCore.Components.Endpoints (4)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Forms.Tests (2)
Microsoft.AspNetCore.Components.Server (6)
Microsoft.AspNetCore.Components.WebAssembly (3)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.Html.Abstractions.Tests (1)
Microsoft.AspNetCore.Http.Abstractions (6)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Mvc.Abstractions (5)
Microsoft.AspNetCore.Mvc.Core (3)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.ResponseCompression (1)
Microsoft.AspNetCore.Routing (4)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Microsoft.Build (17)
Microsoft.Build.Engine.UnitTests (2)
Microsoft.Build.Framework (5)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (2)
Microsoft.Build.Tasks.Core (6)
Microsoft.Build.Utilities.Core (1)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (81)
Microsoft.CodeAnalysis.Analyzers (23)
Microsoft.CodeAnalysis.AnalyzerUtilities (32)
Microsoft.CodeAnalysis.BannedApiAnalyzers (23)
Microsoft.CodeAnalysis.CodeStyle (20)
Microsoft.CodeAnalysis.Collections.Package (4)
Microsoft.CodeAnalysis.CSharp (19)
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Microsoft.CodeAnalysis.Debugging.Package (2)
Microsoft.CodeAnalysis.EditorFeatures (11)
Extensibility\NavigationBar\SimpleNavigationBarItem.cs (1)
12internal sealed class SimpleNavigationBarItem(ITextVersion textVersion, string text, Glyph glyph, ImmutableArray<TextSpan> spans, ImmutableArray<NavigationBarItem> childItems, int indent, bool bolded, bool grayed) : NavigationBarItem(textVersion, text, glyph, spans, childItems, indent, bolded, grayed), IEquatable<SimpleNavigationBarItem>
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (3)
Microsoft.CodeAnalysis.Extensions.Package (6)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
Microsoft.CodeAnalysis.Features (24)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.LanguageServer.Protocol (22)
Protocol\SumType.cs (3)
20internal struct SumType<T1, T2> : ISumType, IEquatable<SumType<T1, T2>>
212internal struct SumType<T1, T2, T3> : ISumType, IEquatable<SumType<T1, T2, T3>>
496internal struct SumType<T1, T2, T3, T4> : ISumType, IEquatable<SumType<T1, T2, T3, T4>>
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (23)
Microsoft.CodeAnalysis.PooledObjects.Package (2)
Microsoft.CodeAnalysis.PublicApiAnalyzers (23)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (23)
Microsoft.CodeAnalysis.Scripting (5)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.Threading.Package (7)
Microsoft.CodeAnalysis.UnitTests (4)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (42)
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.CommonLanguageServerProtocol.Framework.Package (3)
Microsoft.CSharp (4)
Microsoft.DotNet.SignTool (2)
Microsoft.DotNet.SourceBuild.Tasks (1)
Microsoft.DotNet.XUnitAssert.Tests (15)
Microsoft.Extensions.AI.Abstractions (3)
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.DependencyInjection (2)
Microsoft.Extensions.DependencyModel (1)
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Microsoft.Extensions.FileSystemGlobbing (1)
Microsoft.Extensions.Logging.Abstractions (1)
Microsoft.Extensions.Logging.Generators (3)
Microsoft.Extensions.Primitives (5)
Microsoft.Extensions.ServiceDiscovery.Dns (1)
Microsoft.Extensions.Telemetry (2)
Microsoft.Extensions.Telemetry.Abstractions (2)
Microsoft.Interop.ComInterfaceGenerator (2)
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.VisualStudio.LanguageServices (3)
MSBuild (2)
MSBuildTaskHost (2)
PresentationCore (12)
PresentationFramework (15)
Replay (2)
Roslyn.Diagnostics.Analyzers (23)
Roslyn.Diagnostics.CSharp.Analyzers (2)
ScenarioTests.Common.Tests (2)
Shared (4)
System.Collections.Immutable (3)
System.Collections.Specialized (2)
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.Primitives (7)
System.Formats.Asn1 (2)
System.Formats.Nrbf (1)
System.IO.Packaging (1)
System.Linq.Expressions (2)
System.Memory (1)
System.Net.Http (5)
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 (82)
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.Uri (1)
System.Private.Windows.Core (5)
System.Private.Xml (4)
System.Private.Xml.Linq (1)
System.Reflection.Metadata (45)
System.Reflection.MetadataLoadContext (3)
System.Runtime.Caching (2)
System.Runtime.Numerics (2)
System.Security.Cryptography (13)
System.Security.Cryptography.Cose (2)
System.ServiceProcess.ServiceController (1)
System.Speech (4)
System.Text.Json (4)
System.Text.Json.SourceGeneration (3)
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 (3)
System.Windows.Forms.PrivateSourceGenerators (1)
System.Xaml (4)
Test.Utilities (21)
Text.Analyzers (23)
UnitTests.Common (1)
533 references to IEquatable
Aspire.Hosting.Azure (1)
ConfigurationSchemaGenerator (4)
GenerateDocumentationAndConfigFiles (3)
http2cat (2)
Identity.DefaultUI.WebSite (8)
IdentitySample.PasskeyConformance (8)
IdentitySample.PasskeyUI (8)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IIS.ShadowCopy.Tests (2)
IISExpress.FunctionalTests (2)
illink (11)
ILLink.RoslynAnalyzer (25)
Metrics (2)
Metrics.Legacy (2)
Microsoft.Arcade.Test.Common (2)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Identity.EntityFrameworkCore (14)
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (12)
Microsoft.AspNetCore.Identity.InMemory.Test (8)
Microsoft.AspNetCore.Identity.Specification.Tests (2)
Microsoft.AspNetCore.Identity.Test (8)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IIS (2)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Shared.Tests (8)
Microsoft.Build (15)
Microsoft.Build.BuildCheck.UnitTests (1)
Microsoft.Build.Tasks.Core (2)
Microsoft.Cci.Extensions (2)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.Analyzers (3)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.BannedApiAnalyzers (3)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (4)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (3)
Microsoft.CodeAnalysis.PublicApiAnalyzers (2)
Microsoft.CodeAnalysis.ResxSourceGenerator (2)
Microsoft.CodeAnalysis.Test.Utilities (14)
Microsoft.CodeAnalysis.VisualBasic (2)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.Data.Analysis.Tests (1)
Microsoft.DotNet.NuGetRepack.Tests (2)
Microsoft.DotNet.SignTool (2)
Microsoft.DotNet.XUnitAssert.Tests (2)
Microsoft.Extensions.AI.Evaluation.NLP (4)
Microsoft.Extensions.Identity.Stores (11)
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)
MSBuild (1)
MSBuildTaskHost (1)
mscorlib (1)
netstandard (1)
PresentationCore (1)
Roslyn.Diagnostics.Analyzers (3)
Roslyn.Diagnostics.CSharp.Analyzers (3)
System.Data.Common (1)
System.Diagnostics.DiagnosticSource (7)
System.IO.Packaging (1)
System.Memory (4)
System.Net.Quic (1)
System.Net.Security (1)
System.Numerics.Tensors (11)
System\Numerics\Tensors\netcore\Tensor.cs (8)
1784where T : IEquatable<T>?
1796where T : IEquatable<T>?
3206where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3221where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3237where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3252where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3268where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
3283where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
System\Numerics\Tensors\netcore\TensorOperation.cs (3)
814where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
830where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
846where TFrom : IEquatable<TFrom>, IEqualityOperators<TFrom, TFrom, bool>, INumberBase<TFrom>
System.Private.CoreLib (160)
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>? =>
455public static bool ContainsAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>? =>
477public static bool ContainsAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
498public static bool ContainsAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
517public static bool ContainsAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
546public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
574public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>? =>
604public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
633public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
660public static bool ContainsAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
701public static int IndexOf<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
711public static int IndexOf<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
721public static int LastIndexOf<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
731public static int LastIndexOf<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
743public static int IndexOfAnyExcept<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
756public static int IndexOfAnyExcept<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
770public static int IndexOfAnyExcept<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
782public static int IndexOfAnyExcept<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
795public static int IndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
807public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
934public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
1041public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
1144private static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2, T value3) where T : IEquatable<T>?
1181public static unsafe int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
1302public static int IndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
1321public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
1334public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
1348public static int LastIndexOfAnyExcept<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
1360public static int LastIndexOfAnyExcept<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
1373public static int LastIndexOfAnyExcept<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
1385public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
1512public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
1619public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
1723private static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2, T value3) where T : IEquatable<T>?
1760public static unsafe int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
1882public static int LastIndexOfAnyExcept<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
2166public static bool SequenceEqual<T>(this Span<T> span, ReadOnlySpan<T> other) where T : IEquatable<T>? =>
2182public static unsafe int IndexOf<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
2291public static unsafe int IndexOf<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
2377public static unsafe int LastIndexOf<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
2497public static unsafe int LastIndexOf<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
2588public static int IndexOfAny<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
2600public static int IndexOfAny<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
2610public static int IndexOfAny<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
2620public static int IndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
2640public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
2740public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
2845public static unsafe int IndexOfAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
2983public static int IndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
3018public static int LastIndexOfAny<T>(this Span<T> span, T value0, T value1) where T : IEquatable<T>? =>
3030public static int LastIndexOfAny<T>(this Span<T> span, T value0, T value1, T value2) where T : IEquatable<T>? =>
3040public static int LastIndexOfAny<T>(this Span<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>? =>
3050public static int LastIndexOfAny<T>(this Span<T> span, SearchValues<T> values) where T : IEquatable<T>? =>
3060public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1) where T : IEquatable<T>?
3161public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, T value0, T value1, T value2) where T : IEquatable<T>?
3267public static unsafe int LastIndexOfAny<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> values) where T : IEquatable<T>?
3404public static int LastIndexOfAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
3419public static unsafe bool SequenceEqual<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> other) where T : IEquatable<T>?
3553public static bool StartsWith<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
3561public static unsafe bool StartsWith<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
3593public static bool EndsWith<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
3601public static unsafe bool EndsWith<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
3640public static bool StartsWith<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
3664public static bool EndsWith<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>? =>
4421public static unsafe void Replace<T>(this Span<T> span, T oldValue, T newValue) where T : IEquatable<T>?
4580public static unsafe void Replace<T>(this ReadOnlySpan<T> source, Span<T> destination, T oldValue, T newValue) where T : IEquatable<T>?
4772public static void ReplaceAny<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4798public static void ReplaceAny<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4822public static void ReplaceAnyExcept<T>(this ReadOnlySpan<T> source, Span<T> destination, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4847public static void ReplaceAnyExcept<T>(this Span<T> span, SearchValues<T> values, T newValue) where T : IEquatable<T>?
4978public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, T separator) where T : IEquatable<T> =>
4989public static SpanSplitEnumerator<T> Split<T>(this ReadOnlySpan<T> source, ReadOnlySpan<T> separator) where T : IEquatable<T> =>
5007public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, [UnscopedRef] params ReadOnlySpan<T> separators) where T : IEquatable<T> =>
5024public static SpanSplitEnumerator<T> SplitAny<T>(this ReadOnlySpan<T> source, SearchValues<T> separators) where T : IEquatable<T> =>
5366public static int Count<T>(this Span<T> span, T value) where T : IEquatable<T>? =>
5375public static unsafe int Count<T>(this ReadOnlySpan<T> span, T value) where T : IEquatable<T>?
5500public static int Count<T>(this Span<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>? =>
5508public static int Count<T>(this ReadOnlySpan<T> span, ReadOnlySpan<T> value) where T : IEquatable<T>?
5569public static int CountAny<T>(this ReadOnlySpan<T> span, SearchValues<T> values) where T : IEquatable<T>?
5589public static int CountAny<T>(this ReadOnlySpan<T> span, params ReadOnlySpan<T> values) where T : IEquatable<T>?
5823public ref struct SpanSplitEnumerator<T> : IEnumerator<Range> where T : IEquatable<T>
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\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (15)
191public static int IndexOf<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
227public static bool Contains<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
299public static int IndexOf<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
388public static int IndexOfAny<T>(ref T searchSpace, T value0, T value1, int length) where T : IEquatable<T>?
494public static int IndexOfAny<T>(ref T searchSpace, T value0, T value1, T value2, int length) where T : IEquatable<T>?
599public static int IndexOfAny<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
670public static int LastIndexOf<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
710public static int LastIndexOf<T>(ref T searchSpace, T value, int length) where T : IEquatable<T>?
793public static int LastIndexOfAny<T>(ref T searchSpace, T value0, T value1, int length) where T : IEquatable<T>?
898public static int LastIndexOfAny<T>(ref T searchSpace, T value0, T value1, T value2, int length) where T : IEquatable<T>?
1003public static int LastIndexOfAny<T>(ref T searchSpace, int searchSpaceLength, ref T value, int valueLength) where T : IEquatable<T>?
1195public static bool SequenceEqual<T>(ref T first, ref T second, int length) where T : IEquatable<T>?
3060public static void Replace<T>(ref T src, ref T dst, T oldValue, T newValue, nuint length) where T : IEquatable<T>?
3745public static int Count<T>(ref T current, T value, int length) where T : IEquatable<T>?
3778public static unsafe int CountValueType<T>(ref T current, T value, int length) where T : struct, IEquatable<T>
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.Windows.Forms.Primitives.TestUtilities (4)
System.Windows.Forms.PrivateSourceGenerators (1)
Test.Utilities (2)
Text.Analyzers (3)
xunit.assert (29)