976 overrides of Equals
Aspire.Dashboard (66)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (3)
121public override bool Equals(object other) { 326public override bool Equals(object other) { 561public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (3)
123public override bool Equals(object other) { 328public override bool Equals(object other) { 563public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (3)
122public override bool Equals(object other) { 327public override bool Equals(object other) { 562public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (5)
315public override bool Equals(object other) { 694public override bool Equals(object other) { 894public override bool Equals(object other) { 1099public override bool Equals(object other) { 1380public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
215public override bool Equals(object other) { 442public override bool Equals(object other) { 726public override bool Equals(object other) { 1165public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
315public override bool Equals(object other) { 542public override bool Equals(object other) { 826public override bool Equals(object other) { 1295public override bool Equals(object other) { 1741public override bool Equals(object other) { 1965public override bool Equals(object other) { 2221public override bool Equals(object other) { 2453public override bool Equals(object other) { 2672public override bool Equals(object other) { 3023public override bool Equals(object other) { 3607public override bool Equals(object other) { 4318public override bool Equals(object other) { 4861public override bool Equals(object other) { 5200public override bool Equals(object other) { 5557public override bool Equals(object other) { 5931public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\resource\v1\Resource.cs (1)
129public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
161public override bool Equals(object other) { 388public override bool Equals(object other) { 672public override bool Equals(object other) { 1198public override bool Equals(object other) { 1811public override bool Equals(object other) { 2147public override bool Equals(object other) { 2459public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\ResourceService.cs (22)
217public override bool Equals(object other) { 391public override bool Equals(object other) { 792public override bool Equals(object other) { 1251public override bool Equals(object other) { 1557public override bool Equals(object other) { 1835public override bool Equals(object other) { 2111public override bool Equals(object other) { 2393public override bool Equals(object other) { 2693public override bool Equals(object other) { 3031public override bool Equals(object other) { 3320public override bool Equals(object other) { 3627public override bool Equals(object other) { 4156public override bool Equals(object other) { 4685public override bool Equals(object other) { 4900public override bool Equals(object other) { 5163public override bool Equals(object other) { 5415public override bool Equals(object other) { 5626public override bool Equals(object other) { 5875public override bool Equals(object other) { 6174public override bool Equals(object other) { 6426public override bool Equals(object other) { 6627public override bool Equals(object other) {
Otlp\Model\MetricValues\HistogramValue.cs (1)
57public override bool Equals(object? obj)
Otlp\Model\MetricValues\MetricValue.cs (1)
42public override bool Equals(object? obj)
Aspire.Hosting (23)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\ResourceService.cs (22)
217public override bool Equals(object other) { 391public override bool Equals(object other) { 792public override bool Equals(object other) { 1251public override bool Equals(object other) { 1557public override bool Equals(object other) { 1835public override bool Equals(object other) { 2111public override bool Equals(object other) { 2393public override bool Equals(object other) { 2693public override bool Equals(object other) { 3031public override bool Equals(object other) { 3320public override bool Equals(object other) { 3627public override bool Equals(object other) { 4156public override bool Equals(object other) { 4685public override bool Equals(object other) { 4900public override bool Equals(object other) { 5163public override bool Equals(object other) { 5415public override bool Equals(object other) { 5626public override bool Equals(object other) { 5875public override bool Equals(object other) { 6174public override bool Equals(object other) { 6426public override bool Equals(object other) { 6627public override bool Equals(object other) {
Dcp\Model\ModelCommon.cs (1)
186public override bool Equals(object? obj)
BasketService (9)
artifacts\obj\BasketService\Debug\net8.0\Protos\Basket.cs (9)
127public override bool Equals(object other) { 337public override bool Equals(object other) { 561public override bool Equals(object other) { 825public override bool Equals(object other) { 1137public override bool Equals(object other) { 1322public override bool Equals(object other) { 1496public override bool Equals(object other) { 1681public override bool Equals(object other) { 1879public override bool Equals(object other) {
ConfigurationSchemaGenerator (2)
RuntimeSource\SourceGenerators\ImmutableEquatableArray.cs (1)
30public override bool Equals(object? obj)
RuntimeSource\SourceGenerators\TypeRef.cs (1)
39public override bool Equals(object? obj) => Equals(obj as TypeRef);
CSharpSyntaxGenerator (1)
Model\Kind.cs (1)
15public override bool Equals(object? obj)
dotnet-svcutil-lib (35)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (1)
135public override bool Equals(Object o)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeInfoAtom.cs (1)
283public override bool Equals(object other)
FrameworkFork\Microsoft.Xml\Xml\schema\BitSet.cs (1)
161public override bool Equals(object obj)
FrameworkFork\Microsoft.Xml\Xml\schema\ChameleonKey.cs (1)
57public override bool Equals(object obj)
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (1)
501public override bool Equals(object other)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Compilation.cs (1)
276public override bool Equals(object o)
FrameworkFork\Microsoft.Xml\Xml\Serialization\NameTable.cs (1)
23public override bool Equals(object other)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SourceInfo.cs (1)
255public override bool Equals(object obj)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializer.cs (1)
928public override bool Equals(object obj)
FrameworkFork\Microsoft.Xml\Xml\XmlQualifiedName.cs (1)
113public override bool Equals(object other)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (2)
2189public sealed override bool Equals(object other) 2535public override bool Equals(object other)
FrameworkFork\System.Runtime.Serialization\System\Xml\PrefixHandle.cs (1)
238public override bool Equals(object obj)
FrameworkFork\System.Runtime.Serialization\System\Xml\StringHandle.cs (1)
279public override bool Equals(object obj)
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (1)
415public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\Claim.cs (1)
185public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AddressHeader.cs (1)
68public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DirectionalAction.cs (1)
40public override bool Equals(Object other)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingEncoders.cs (1)
84public override bool Equals(object o)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageVersion.cs (1)
119public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
233public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
144public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
71public override bool Equals(Object other)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataConversionError.cs (1)
23public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (2)
732public override bool Equals(object obj) 1072public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
291public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (2)
1237public override bool Equals(object obj) 1262public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (1)
461public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointIdentity.cs (1)
75public override bool Equals(object obj)
Metadata\MetadataDocumentLoader.cs (1)
686public override bool Equals(object obj)
Metadata\MetadataDocumentSaver.cs (1)
403public override bool Equals(object obj)
Metadata\MetadataFileInfo.cs (1)
43public override bool Equals(object obj)
Shared\ProjectDependency.cs (1)
378public override bool Equals(object obj)
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
182public override bool Equals(object obj)
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (1)
182public override bool Equals(object obj)
illink (1)
IntegrationTestsWebsite (5)
artifacts\obj\IntegrationTestsWebsite\Release\net10.0\Protos\Greet.cs (5)
155public override bool Equals(object other) { 345public override bool Equals(object other) { 560public override bool Equals(object other) { 779public override bool Equals(object other) { 972public override bool Equals(object other) {
InteropClient (13)
artifacts\obj\InteropClient\Release\net10.0\Empty.cs (1)
93public override bool Equals(object other) {
artifacts\obj\InteropClient\Release\net10.0\Messages.cs (12)
158public override bool Equals(object other) { 370public override bool Equals(object other) { 601public override bool Equals(object other) { 937public override bool Equals(object other) { 1370public override bool Equals(object other) { 1642public override bool Equals(object other) { 1880public override bool Equals(object other) { 2112public override bool Equals(object other) { 2415public override bool Equals(object other) { 2691public override bool Equals(object other) { 2894public override bool Equals(object other) { 3101public override bool Equals(object other) {
InteropWebsite (13)
artifacts\obj\InteropWebsite\Release\net10.0\Empty.cs (1)
93public override bool Equals(object other) {
artifacts\obj\InteropWebsite\Release\net10.0\Messages.cs (12)
158public override bool Equals(object other) { 370public override bool Equals(object other) { 601public override bool Equals(object other) { 937public override bool Equals(object other) { 1370public override bool Equals(object other) { 1642public override bool Equals(object other) { 1880public override bool Equals(object other) { 2112public override bool Equals(object other) { 2415public override bool Equals(object other) { 2691public override bool Equals(object other) { 2894public override bool Equals(object other) { 3101public override bool Equals(object other) {
Microsoft.AspNetCore.Antiforgery (1)
Internal\BinaryBlob.cs (1)
48public override bool Equals(object? obj)
Microsoft.AspNetCore.App.Analyzers.Test (1)
RouteEmbeddedLanguage\Infrastructure\FormattedClassification.cs (1)
25public override bool Equals(object obj)
Microsoft.AspNetCore.App.CodeFixes (1)
Dependencies\ThisAndExtensionMethod.cs (1)
13public override bool Equals(object obj)
Microsoft.AspNetCore.Components.Endpoints (3)
Discovery\ComponentBuilder.cs (1)
27public override bool Equals(object? obj)
Discovery\PageComponentBuilder.cs (1)
54public override bool Equals(object? obj)
FormMapping\FormKey.cs (1)
15public override readonly bool Equals(object? obj) => obj is FormKey prefix && Value.Equals(prefix.Value);
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2274public override bool Equals(object obj) => Equals(obj as Point);
Microsoft.AspNetCore.Connections.Abstractions (1)
NamedPipeEndPoint.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (18)
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Httpbody.cs (2)
117public override bool Equals(object other) { 340public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue045270\Hello.cs (2)
119public override bool Equals(object other) { 346public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue047349\Message.cs (1)
123public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue048192\Customhttp.cs (3)
141public override bool Equals(object other) { 889public override bool Equals(object other) { 1325public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Issue048192\Hello.cs (2)
103public override bool Equals(object other) { 293public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests\Release\net10.0\Proto\Transcoding.cs (8)
600public override bool Equals(object other) { 1426public override bool Equals(object other) { 1838public override bool Equals(object other) { 2435public override bool Equals(object other) { 2752public override bool Equals(object other) { 3246public override bool Equals(object other) { 3561public override bool Equals(object other) { 3770public override bool Equals(object other) {
Microsoft.AspNetCore.Grpc.Microbenchmarks (3)
artifacts\obj\Microsoft.AspNetCore.Grpc.Microbenchmarks\Release\net10.0\Proto\Chat.cs (1)
116public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Microbenchmarks\Release\net10.0\Proto\Greet.cs (2)
107public override bool Equals(object other) { 313public override bool Equals(object other) {
Microsoft.AspNetCore.Grpc.Swagger.Tests (35)
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Body.cs (3)
139public override bool Equals(object other) { 366public override bool Equals(object other) { 556public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Counter.cs (2)
116public override bool Equals(object other) { 330public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Greeter.cs (2)
108public override bool Equals(object other) { 304public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Messages.cs (13)
225public override bool Equals(object other) { 543public override bool Equals(object other) { 955public override bool Equals(object other) { 1552public override bool Equals(object other) { 1869public override bool Equals(object other) { 2322public override bool Equals(object other) { 2528public override bool Equals(object other) { 2724public override bool Equals(object other) { 2938public override bool Equals(object other) { 3158public override bool Equals(object other) { 3518public override bool Equals(object other) { 3789public override bool Equals(object other) { 3969public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Parameters.cs (8)
168public override bool Equals(object other) { 421public override bool Equals(object other) { 721public override bool Equals(object other) { 944public override bool Equals(object other) { 1208public override bool Equals(object other) { 1497public override bool Equals(object other) { 1756public override bool Equals(object other) { 1946public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Responsebody.cs (3)
121public override bool Equals(object other) { 325public override bool Equals(object other) { 573public override bool Equals(object other) {
artifacts\obj\Microsoft.AspNetCore.Grpc.Swagger.Tests\Release\net10.0\Proto\Xmldoc.cs (4)
121public override bool Equals(object other) { 333public override bool Equals(object other) { 565public override bool Equals(object other) { 766public override bool Equals(object other) {
Microsoft.AspNetCore.Html.Abstractions.Tests (1)
HtmlContentBuilderTest.cs (1)
256public override bool Equals(object? obj)
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
134public override bool Equals(object? obj)
Microsoft.AspNetCore.Http.Extensions (3)
QueryBuilder.cs (1)
103public override bool Equals(object? obj)
src\Components\Endpoints\src\FormMapping\FormKey.cs (1)
15public override readonly bool Equals(object? obj) => obj is FormKey prefix && Value.Equals(prefix.Value);
src\Shared\ParameterBindingMethodCache.cs (1)
723public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HeaderDictionaryTypeExtensionsTest.cs (1)
320public override bool Equals(object obj)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\Endpoint.cs (1)
110public override bool Equals(object o) =>
StaticRouteHandlerModel\EndpointParameter.cs (1)
588public override bool Equals(object obj) =>
StaticRouteHandlerModel\EndpointResponse.cs (1)
101public override bool Equals(object obj)
StaticRouteHandlerModel\Model\ParameterLookupKey.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\BindingSource.cs (1)
212public override bool Equals(object? obj)
ModelBinding\ModelMetadata.cs (1)
730public override bool Equals(object? obj)
src\Shared\ParameterBindingMethodCache.cs (1)
723public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Binders\DictionaryModelBinderTest.cs (1)
713public override bool Equals(object obj)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1580public override bool Equals(object obj)
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
DictionaryModelBinderIntegrationTest.cs (1)
468public override bool Equals(object obj)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
186public override bool Equals(object obj)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CachedExpressionCompilerTest.cs (1)
959public override bool Equals(object obj)
Microsoft.AspNetCore.OpenApi (1)
src\Shared\ParameterBindingMethodCache.cs (1)
723public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.RateLimiting (1)
PolicyNameKey.cs (1)
10public override bool Equals(object? obj)
Microsoft.AspNetCore.Razor (1)
TagHelpers\TagHelperAttribute.cs (1)
207public override bool Equals(object obj)
Microsoft.AspNetCore.Server.HttpSys (1)
UrlPrefix.cs (1)
192public override bool Equals(object? obj)
Microsoft.AspNetCore.Server.IIS (1)
Core\WrappingStream.cs (1)
110public override bool Equals(object? obj)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\ConfigSectionClone.cs (1)
26public override bool Equals(object? obj)
Internal\ConfigurationReader.cs (3)
301public override bool Equals(object? obj) => 345public override bool Equals(object? obj) => 421public override bool Equals(object? obj) =>
Internal\Infrastructure\WrappingStream.cs (1)
109public override bool Equals(object? obj)
Microsoft.AspNetCore.Session (1)
EncodedKey.cs (1)
40public override bool Equals(object? obj)
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
69public override bool Equals(object? obj)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\CustomObject.cs (1)
23public override bool Equals(object obj)
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubGroupList.cs (1)
77public override bool Equals(object? obj)
Microsoft.Build (12)
AssemblyLoadInfo.cs (1)
83public override bool Equals(Object obj)
BackEnd\Components\BuildRequestEngine\FullyQualifiedBuildRequest.cs (1)
111public override bool Equals(object obj)
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
696public override bool Equals(object obj)
BackEnd\Components\SdkResolution\SdkResult.cs (1)
104public override bool Equals(object obj)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
876public override bool Equals(object obj)
BackEnd\Shared\ConfigurationMetadata.cs (1)
122public override bool Equals(object obj)
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (1)
108public override bool Equals(object? obj) => Equals(obj as EnvironmentVariableIdentityKey);
BuildCheck\Infrastructure\CustomConfigurationData.cs (1)
47public override bool Equals(object? obj)
ElementLocation\ElementLocation.cs (1)
101public override bool Equals(object obj)
Instance\ProjectItemInstance.cs (1)
1587public override bool Equals(object obj)
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
573public override bool Equals(object obj) 665public override bool Equals(object obj)
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BinaryTranslator_Tests.cs (1)
883public override bool Equals(object obj)
Microsoft.Build.Framework (3)
BuildEventContext.cs (1)
240public override bool Equals(object? obj)
Sdk\SdkReference.cs (1)
116public override bool Equals(object obj)
Sdk\SdkResultItem.cs (1)
38public override bool Equals(object? obj)
Microsoft.Build.Tasks.Core (5)
AssemblyRemapping.cs (1)
38public override bool Equals(object obj)
GetSDKReferenceFiles.cs (2)
760public override bool Equals(object obj) 839public override bool Equals(object obj)
ResolveSDKReference.cs (1)
938public override bool Equals(object obj)
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (1)
59public override bool Equals(object obj)
Microsoft.Build.Utilities.Core (2)
LockCheck.cs (1)
233public override bool Equals(object obj)
TargetPlatformSDK.cs (1)
152public override bool Equals(object obj)
Microsoft.Cci.Extensions (1)
Writers\Syntax\SyntaxToken.cs (1)
21public override bool Equals(object obj)
Microsoft.CodeAnalysis (43)
CodeGen\ArrayMembers.cs (1)
365public sealed override bool Equals(object? obj)
Collections\Rope.cs (1)
57public override bool Equals(object? obj)
Compilation\CompilationOptions.cs (1)
611public abstract override bool Equals(object? obj);
Compilation\ParseOptions.cs (1)
132public abstract override bool Equals(object? obj);
Compilation\SourceReferenceResolver.cs (1)
21public abstract override bool Equals(object? other);
Compilation\XmlReferenceResolver.cs (1)
19public abstract override bool Equals(object? other);
ConstantValue.cs (1)
904public override bool Equals(object? obj)
Diagnostic\Diagnostic.cs (1)
423public sealed override bool Equals(object? obj)
Diagnostic\DiagnosticDescriptor.cs (1)
214public override bool Equals(object? obj)
Diagnostic\DiagnosticInfo.cs (1)
406public sealed override bool Equals(object? obj)
Diagnostic\LocalizableString.cs (1)
70public sealed override bool Equals(object? other)
Diagnostic\Location.cs (1)
92public abstract override bool Equals(object? obj);
Diagnostic\ProgrammaticSuppressionInfo.cs (1)
34public override bool Equals(object? obj)
Diagnostic\SuppressionDescriptor.cs (1)
87public override bool Equals(object? obj)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
70public override bool Equals(object? obj)
DiagnosticAnalyzer\AnalyzerOptions.cs (1)
66public override bool Equals(object? obj)
DiagnosticAnalyzer\DiagnosticAnalyzer.cs (1)
26public sealed override bool Equals(object? obj)
DocumentationComments\DocumentationProvider.cs (1)
43public abstract override bool Equals(object? obj);
Emit\EditAndContinue\DeletedPEMethodDefinition.cs (1)
180public sealed override bool Equals(object? obj)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
141public sealed override bool Equals(object? obj)
Emit\EmitOptions.cs (1)
273public override bool Equals(object? obj)
Emit\ErrorType.cs (1)
193public sealed override bool Equals(object obj)
Emit\NoPia\CommonEmbeddedMember.cs (1)
122public sealed override bool Equals(object obj)
Emit\NoPia\CommonEmbeddedParameter.cs (1)
274public sealed override bool Equals(object obj)
Emit\NoPia\CommonEmbeddedType.cs (1)
718public sealed override bool Equals(object obj)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
239public sealed override bool Equals(object obj)
Emit\NoPia\VtblGap.cs (1)
259public sealed override bool Equals(object obj)
FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
MetadataReference\AssemblyIdentity.cs (1)
400public override bool Equals(object? obj)
MetadataReference\CompilationReference.cs (1)
133public override bool Equals(object? obj)
MetadataReference\MetadataReferenceResolver.cs (1)
15public abstract override bool Equals(object? other);
PEWriter\InheritedTypeParameter.cs (1)
307public sealed override bool Equals(object? obj)
PEWriter\MethodDefinitionBase.cs (1)
171public sealed override bool Equals(object obj)
PEWriter\ModifiedTypeReference.cs (1)
150public sealed override bool Equals(object? obj)
PEWriter\ParameterDefinitionBase.cs (1)
36public sealed override bool Equals(object? obj)
PEWriter\RootModuleType.cs (1)
329public sealed override bool Equals(object? obj)
ReferenceManager\AssemblyData.cs (1)
74public sealed override bool Equals(object? obj)
SourceGeneration\GlobalAliases.cs (1)
75public override bool Equals(object? obj)
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
StrongName\StrongNameFileSystem.cs (1)
48public override bool Equals(object? obj)
StrongName\StrongNameProvider.cs (1)
21public abstract override bool Equals(object? other);
SymbolDisplay\FormattedSymbol.cs (1)
38public override bool Equals(object obj)
Syntax\SyntaxAnnotation.cs (1)
72public override bool Equals(object? obj)
Microsoft.CodeAnalysis.CodeStyle (12)
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
244public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingRule.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
365public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
191public override bool Equals(object obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
94public override bool Equals(object? obj) => Equals(obj as IOption2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
72public override bool Equals(object? other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
351public override readonly bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
136public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Collections.Package (1)
Internal\SegmentedHashSetEqualityComparer`1.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
Microsoft.CodeAnalysis.CSharp (26)
Binder\DecisionDagBuilder.cs (3)
2211public override bool Equals(object? obj) => this == obj || obj is One other && this.Test.Equals(other.Test); 2317public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated); 2368public sealed override bool Equals(object? obj) =>
BoundTree\BoundDagTemp.cs (1)
23public override bool Equals(object? obj) => obj is BoundDagTemp other && this.Equals(other);
BoundTree\BoundDagTest.cs (1)
16public override bool Equals([NotNullWhen(true)] object? obj) => this.Equals(obj as BoundDagTest);
BoundTree\BoundDecisionDagNode.cs (1)
18public override bool Equals(object? other)
BoundTree\UnboundLambda.cs (1)
1061public override bool Equals(object? obj)
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
225public sealed override bool Equals(object obj)
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
82public override bool Equals(object? obj)
Emitter\Model\NamedTypeReference.cs (1)
168public sealed override bool Equals(object obj)
Emitter\Model\ParameterTypeInformation.cs (2)
69public sealed override bool Equals(object obj) 120public sealed override bool Equals(object obj)
Emitter\Model\SymbolAdapter.cs (1)
180public sealed override bool Equals(object obj)
Emitter\Model\TypeMemberReference.cs (1)
53public sealed override bool Equals(object obj)
Symbols\CustomModifier.cs (1)
46public abstract override bool Equals(object obj);
Symbols\PublicModel\PreprocessingSymbol.cs (1)
32public override bool Equals(object? obj)
Symbols\PublicModel\Symbol.cs (1)
84public sealed override bool Equals(object obj)
Symbols\Symbol.cs (1)
806public sealed override bool Equals(object obj)
Symbols\SymbolDistinguisher.cs (1)
222public override bool Equals(object obj)
Utilities\InterceptableLocation.cs (1)
41public abstract override bool Equals(object? obj);
Utilities\ValueSetFactory.BoolValueSet.cs (1)
98public override bool Equals(object? obj) => this == obj;
Utilities\ValueSetFactory.EnumeratedValueSet.cs (1)
163public override bool Equals(object? obj)
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
159public override bool Equals(object? obj) => this == obj ||
Utilities\ValueSetFactory.NintValueSet.cs (1)
122public override bool Equals(object? obj) => obj is NintValueSet other &&
Utilities\ValueSetFactory.NuintValueSet.cs (1)
106public override bool Equals(object? obj) => obj is NuintValueSet other &&
Utilities\ValueSetFactory.NumericValueSet.cs (1)
320public override bool Equals(object? obj) =>
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
CodeActions\Preview\ErrorCases\ExceptionInCodeAction.cs (1)
60public override bool Equals(object obj)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
InteractiveSessionTests.cs (1)
641public override bool Equals(object obj) => true;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
SourceGeneration\GeneratorDriverTests.cs (1)
1571public override bool Equals(object? obj) => throw _toThrow;
Microsoft.CodeAnalysis.EditorFeatures (9)
Extensibility\NavigationBar\NavigationBarItem.cs (1)
43public abstract override bool Equals(object? obj);
Extensibility\NavigationBar\NavigationBarProjectItem.cs (1)
34public override bool Equals(object? obj)
Extensibility\NavigationBar\NavigationBarSelectedItems.cs (1)
27public override bool Equals(object? obj)
Extensibility\NavigationBar\SimpleNavigationBarItem.cs (1)
14public override bool Equals(object? obj)
Extensibility\NavigationBar\WrappedNavigationBarItem.cs (1)
66public override bool Equals(object? obj)
InlineHints\InlineHintDataTag.cs (1)
44public override bool Equals(object? obj)
IntelliSense\QuickInfo\QuickInfoHyperLink.cs (1)
27public override bool Equals(object? obj)
NavigationBar\NavigationBarModel.cs (1)
16public override bool Equals(object? obj)
Structure\StructureTag.cs (1)
83public override bool Equals(object? obj)
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Classification\FormattedClassification.cs (1)
33public override bool Equals(object obj)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
StringIndentation\StringIndentationTag.cs (1)
45public override bool Equals(object? obj)
Suggestions\SuggestedActions\SuggestedAction.cs (1)
289public override bool Equals(object obj)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataBlock.cs (1)
51public override bool Equals(object obj)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\MemberInfo\MethodInfoImpl.cs (1)
149public override bool Equals(object obj)
Microsoft.CodeAnalysis.ExternalAccess.Copilot (1)
Analyzer\CopilotChecksumWrapper.cs (1)
32public override bool Equals(object? obj)
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
ChecksumWrapper.cs (1)
18public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Features (22)
AddImport\References\AssemblyReference.cs (1)
38public override bool Equals(object obj)
AddImport\References\MetadataSymbolReference.cs (1)
66public override bool Equals(object obj)
AddImport\References\PackageReference.cs (1)
38public override bool Equals(object obj)
AddImport\References\ProjectSymbolReference.cs (1)
100public override bool Equals(object obj)
AddImport\References\Reference.cs (1)
64public override bool Equals(object obj)
AddImport\References\SymbolReference.cs (1)
32public override bool Equals(object obj)
Contracts\EditAndContinue\ManagedInstructionId.cs (1)
44public override bool Equals(object? obj) => obj is ManagedInstructionId instr && Equals(instr);
Contracts\EditAndContinue\ManagedMethodId.cs (1)
52public override bool Equals(object? obj) => obj is ManagedMethodId method && Equals(method);
EditAndContinue\DeclarationBody.cs (1)
90public override bool Equals(object? obj)
EditAndContinue\NonRemappableRegion.cs (1)
34public override bool Equals(object? obj)
EditAndContinue\SourceFileSpan.cs (1)
67public override bool Equals(object? other)
FindUsages\DefinitionItem.DetachedDefinitionItem.cs (1)
48public override bool Equals(object? obj)
InheritanceMargin\InheritanceMarginItem.cs (1)
55public override bool Equals(object? obj)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
440public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.ActionlessItem.cs (1)
27public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.cs (1)
45public abstract override bool Equals(object? obj);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateDefaultConstructorItem.cs (1)
16public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateEventHandlerItem.cs (1)
19public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateFinalizerItem.cs (1)
16public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateMethodItem.cs (1)
18public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
41public override bool Equals(object? obj)
SignatureHelp\AbstractSignatureHelpProvider.SymbolKeySignatureHelpItem.cs (1)
25public override bool Equals(object? obj)
Microsoft.CodeAnalysis.LanguageServer.Protocol (13)
Protocol\CodeDescription.cs (1)
58public override bool Equals(object obj)
Protocol\Diagnostic.cs (1)
159public override bool Equals(object obj)
Protocol\Extensions\VSImageId.cs (1)
39public override bool Equals(object obj)
Protocol\Extensions\VSProjectContext.cs (1)
87public override bool Equals(object obj)
Protocol\Internal\VSInternalIconMapping.cs (1)
38public override bool Equals(object? obj)
Protocol\Internal\VSInternalKindAndModifier.cs (1)
58public override bool Equals(object obj)
Protocol\Location.cs (1)
40public override bool Equals(object obj)
Protocol\LocationLink.cs (1)
60public override bool Equals(object obj) => Equals(obj as LocationLink);
Protocol\Position.cs (1)
97public override bool Equals(object obj)
Protocol\Range.cs (1)
62public override bool Equals(object obj)
Protocol\SymbolInformation.cs (1)
106public override bool Equals(object obj)
Protocol\TextDocumentIdentifier.cs (1)
57public override bool Equals(object obj)
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\TypeRef.cs (1)
50public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Scripting (2)
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
93public override bool Equals(object obj) => Equals(obj as GacFileResolver);
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\DiagnosticDescription.cs (1)
247public override bool Equals(object obj)
Microsoft.CodeAnalysis.UnitTests (7)
Collections\GenericParameterHelper.cs (1)
29public override bool Equals(object? obj)
Collections\HashSet\TestingTypes.cs (2)
35public override bool Equals(object? obj) 66public override bool Equals(object? obj)
Collections\ImmutableListTestBase.cs (1)
586public override bool Equals(object? obj)
Collections\ImmutableSegmentedDictionaryTest.cs (1)
388public override bool Equals(object? obj)
MetadataReferences\FusionAssemblyPortabilityPolicy.cs (1)
82public override bool Equals(object obj)
PEWriter\UsedNamespaceOrTypeTests.cs (1)
30public override bool Equals(object obj) => (obj as EqualsProxy)?.Name.Equals(Name) == true;
Microsoft.CodeAnalysis.VisualBasic (8)
BoundTree\UnboundLambda.vb (1)
190Public Overrides Function Equals(obj As Object) As Boolean
Emit\NamedTypeReference.vb (1)
124Public NotOverridable Overrides Function Equals(obj As Object) As Boolean
Emit\ParameterTypeInformation.vb (1)
51Public Overrides Function Equals(obj As Object) As Boolean
Emit\SymbolAdapter.vb (1)
155Public NotOverridable Overrides Function Equals(obj As Object) As Boolean
Emit\TypeMemberReference.vb (1)
43Public NotOverridable Overrides Function Equals(obj As Object) As Boolean
GlobalImport.vb (1)
141Public Overrides Function Equals(obj As Object) As Boolean
Symbols\CustomModifier.vb (1)
40Public MustOverride Overrides Function Equals(obj As Object) As Boolean
Symbols\Symbol.vb (1)
834Public Overrides Function [Equals](obj As Object) As Boolean
Microsoft.CodeAnalysis.Workspaces (35)
Classification\ClassifiedSpan.cs (1)
24public override bool Equals(object? obj)
CodeStyle\CodeStyleOption.cs (1)
69public override bool Equals(object? obj)
Diagnostics\DiagnosticData.cs (1)
106public override bool Equals(object? obj)
FindSymbols\IStreamingFindReferencesProgress.cs (1)
45public override bool Equals(object? obj)
FindSymbols\TopLevelSyntaxTree\DeclaredSymbolInfo.cs (1)
242public override bool Equals(object? obj)
Options\Option.cs (1)
96public override bool Equals(object? obj) => Equals(obj as IOption2);
Options\PerLanguageOption.cs (1)
88public override bool Equals(object? obj) => Equals(obj as IOption2);
Packaging\IPackageInstallerService.cs (1)
55public override bool Equals(object? obj)
Remote\RemoteArguments.cs (2)
32public override bool Equals(object? obj) 208public override bool Equals(object? obj)
Rename\RenameLocation.cs (1)
40public override bool Equals(object? obj)
src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
244public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\NamingRule.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
365public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
191public override bool Equals(object obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
94public override bool Equals(object? obj) => Equals(obj as IOption2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
72public override bool Equals(object? other)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.cs (1)
351public override readonly bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EventMap.cs (1)
136public override bool Equals(object? obj)
SymbolSearch\ISymbolSearchService.cs (1)
119public override bool Equals(object? obj)
Utilities\Documentation\DeferredDocumentationProvider.cs (1)
39public override bool Equals(object? obj)
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
39public override bool Equals(object? obj)
Workspace\Solution\DocumentId.cs (1)
68public override bool Equals(object? obj)
Workspace\Solution\ProjectCone.cs (1)
30public override bool Equals(object? obj)
Workspace\Solution\ProjectId.cs (1)
77public override bool Equals(object? obj)
Workspace\Solution\ProjectReference.cs (1)
40public override bool Equals(object obj)
Workspace\Solution\ProjectState.cs (1)
609public override bool Equals(object? obj)
Workspace\Solution\SolutionId.cs (1)
61public override bool Equals(object obj)
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
77public override bool Equals([NotNullWhen(true)] object? obj)
Workspace\Solution\StateChecksums.cs (1)
391public override bool Equals(object? obj)
Workspace\Solution\TextDocumentStates.cs (1)
277public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
ObjectSerializationTests.cs (1)
178public override Boolean Equals(Object obj)
SolutionTests\SolutionWithSourceGeneratorTests.cs (1)
113public override bool Equals(object? obj) => Equals(obj as AnalyzerReference);
Microsoft.CommonLanguageServerProtocol.Framework.Package (1)
TypeRef.cs (1)
50public override bool Equals(object? obj)
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
80public override bool Equals(object obj)
Microsoft.DotNet.Build.Tasks.Feed (1)
src\model\TargetFeedConfig.cs (1)
96public override bool Equals(object obj)
Microsoft.DotNet.Build.Tasks.Packaging (1)
PackageReport.cs (1)
147public override bool Equals(object other)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Swix\SwixComponent.cs (1)
136public override bool Equals(object? obj)
Microsoft.DotNet.VersionTools (2)
BuildManifest\Model\BlobArtifactModel.cs (1)
72public override bool Equals(object obj)
BuildManifest\Model\PackageArtifactModel.cs (1)
90public override bool Equals(object obj)
Microsoft.DotNet.XUnitAssert.Tests (4)
EqualityAssertsTests.cs (4)
4364 public override bool Equals(object? obj) => 4442 public override bool Equals(object? obj) => Value == ((ComparableThrower?)obj)!.Value; 4547 public override bool Equals(object? obj) => Value == ((IntWrapper?)obj)!.Value; 4627 public override bool Equals(object? obj) => result;
Microsoft.Extensions.AI.Abstractions (3)
ChatCompletion\AutoChatToolMode.cs (1)
24public override bool Equals(object? obj) => obj is AutoChatToolMode;
ChatCompletion\ChatResponseFormatText.cs (1)
23public override bool Equals(object? obj) => obj is ChatResponseFormatText;
ChatCompletion\RequiredChatToolMode.cs (1)
54public override bool Equals(object? obj) =>
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationSet.cs (1)
97public override bool Equals(object? obj) => Equals(obj as DataClassificationSet);
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PathSegments\LiteralPathSegment.cs (1)
31public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.Http.Resilience.Tests (2)
artifacts\obj\Microsoft.Extensions.Http.Resilience.Tests\Debug\net8.0\Protos\Greet.cs (2)
105public override bool Equals(object other) { 298public override bool Equals(object other) {
Microsoft.Extensions.ServiceDiscovery (1)
UriEndPoint.cs (1)
20public override bool Equals(object? obj)
Microsoft.Interop.ComInterfaceGenerator (1)
ComMethodContext.cs (1)
56public override bool Equals(object obj) => obj is ComMethodContext other && Equals(other);
Microsoft.Interop.SourceGeneration (1)
ContainingSyntaxContext.cs (1)
25public override bool Equals(object obj) => obj is ContainingSyntax other && Equals(other);
Microsoft.Maui.Controls (10)
Accelerator.cs (1)
85 public override bool Equals(object obj)
AnimatableKey.cs (1)
29 public override bool Equals(object obj)
GradientStop.cs (1)
42 public override bool Equals(object obj)
ImageBrush.cs (1)
28 public override bool Equals(object? obj) =>
Routing.cs (1)
285 public override bool Equals(object obj)
Shell\ShellAppearance.cs (1)
102 public override bool Equals(object obj)
SolidColorBrush.cs (1)
45 public override bool Equals(object obj)
VisualStateManager.cs (3)
349 public override bool Equals(object obj) => Equals(obj as VisualStateGroupList); 567 public override bool Equals(object obj) => Equals(obj as VisualStateGroup); 651 public override bool Equals(object obj) => Equals(obj as VisualState);
Microsoft.Maui.Controls.Maps (1)
Pin.cs (1)
82 public override bool Equals(object? obj)
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Xaml\XamlNode.cs (1)
58 public override bool Equals(object obj)
Microsoft.Maui.Controls.Xaml (1)
XamlNode.cs (1)
58 public override bool Equals(object obj)
Microsoft.Maui.Essentials (1)
Types\Location.shared.cs (1)
252 public override bool Equals(object obj)
Microsoft.Maui.Graphics (4)
Color.cs (1)
102 public override bool Equals(object obj)
Insets.cs (1)
65 public override bool Equals(object obj)
InsetsF.cs (1)
65 public override bool Equals(object obj)
PathF.cs (1)
1290 public override bool Equals(object obj)
Microsoft.Maui.Maps (1)
Primitives\MapSpan.cs (1)
43 public override bool Equals(object? obj)
Microsoft.ML.AutoML (4)
Experiment\SuggestedPipeline.cs (1)
40public override bool Equals(object obj)
Sweepers\Parameters.cs (3)
94public override bool Equals(object obj) 140public override bool Equals(object obj) 183public override bool Equals(object obj)
Microsoft.ML.Core (1)
Utilities\SummaryStatistics.cs (1)
20public override bool Equals(object obj)
Microsoft.ML.Data (4)
Data\DataViewTypeManager.cs (1)
239public override bool Equals(object obj)
EntryPoints\EntryPointNode.cs (3)
1222public override bool Equals(object obj) 1248public override bool Equals(object obj) 1276public override bool Equals(object obj)
Microsoft.ML.DataView (2)
KeyDataViewType.cs (1)
156public override bool Equals(object other)
VectorType.cs (1)
141public override bool Equals(object other)
Microsoft.ML.OnnxConverter (19)
OnnxMl.cs (19)
511public override bool Equals(object other) 1005public override bool Equals(object other) 1319public override bool Equals(object other) 1726public override bool Equals(object other) 2049public override bool Equals(object other) 2244public override bool Equals(object other) 2547public override bool Equals(object other) 3050public override bool Equals(object other) 3497public override bool Equals(object other) 3727public override bool Equals(object other) 3934public override bool Equals(object other) 4152public override bool Equals(object other) 4487public override bool Equals(object other) 4817public override bool Equals(object other) 5009public override bool Equals(object other) 5199public override bool Equals(object other) 5403public override bool Equals(object other) 5608public override bool Equals(object other) 5819public override bool Equals(object other)
Microsoft.ML.OnnxTransformer (19)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (19)
511public override bool Equals(object other) 1005public override bool Equals(object other) 1319public override bool Equals(object other) 1726public override bool Equals(object other) 2049public override bool Equals(object other) 2244public override bool Equals(object other) 2547public override bool Equals(object other) 3050public override bool Equals(object other) 3497public override bool Equals(object other) 3727public override bool Equals(object other) 3934public override bool Equals(object other) 4152public override bool Equals(object other) 4487public override bool Equals(object other) 4817public override bool Equals(object other) 5009public override bool Equals(object other) 5199public override bool Equals(object other) 5403public override bool Equals(object other) 5608public override bool Equals(object other) 5819public override bool Equals(object other)
Microsoft.ML.Predictor.Tests (1)
CmdLine\CmdLineReverseTest.cs (1)
145public override bool Equals(object obj)
Microsoft.ML.Sweeper (3)
Parameters.cs (3)
102public override bool Equals(object obj) 148public override bool Equals(object obj) 191public override bool Equals(object obj)
Microsoft.ML.TestFramework (1)
SubComponent.cs (1)
139public override bool Equals(object obj)
Microsoft.ML.Tokenizers (6)
SentencepieceModel.cs (6)
1596public override bool Equals(object other) { 3083public override bool Equals(object other) { 3440public override bool Equals(object other) { 3706public override bool Equals(object other) { 4000public override bool Equals(object other) { 4435public override bool Equals(object other) {
Microsoft.Net.Http.Headers (12)
CacheControlHeaderValue.cs (1)
399public override bool Equals(object? obj)
ContentDispositionHeaderValue.cs (1)
231public override bool Equals(object? obj)
ContentRangeHeaderValue.cs (1)
142public override bool Equals(object? obj)
CookieHeaderValue.cs (1)
194public override bool Equals(object? obj)
EntityTagHeaderValue.cs (1)
106public override bool Equals(object? obj)
MediaTypeHeaderValue.cs (1)
474public override bool Equals(object? obj)
NameValueHeaderValue.cs (1)
138public override bool Equals(object? obj)
RangeConditionHeaderValue.cs (1)
82public override bool Equals(object? obj)
RangeHeaderValue.cs (1)
103public override bool Equals(object? obj)
RangeItemHeaderValue.cs (1)
82public override bool Equals(object? obj)
SetCookieHeaderValue.cs (1)
714public override bool Equals(object? obj)
StringWithQualityHeaderValue.cs (1)
80public override bool Equals(object? obj)
Microsoft.VisualBasic.Core (13)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (13)
361Public Overrides Function Equals(ByVal _other As Object) As Boolean 439Public Overrides Function Equals(ByVal _other As Object) As Boolean 516Public Overrides Function Equals(ByVal _other As Object) As Boolean 585Public Overrides Function Equals(ByVal _other As Object) As Boolean 654Public Overrides Function Equals(ByVal _other As Object) As Boolean 706Public Overrides Function Equals(ByVal _other As Object) As Boolean 765Public Overrides Function Equals(ByVal _other As Object) As Boolean 798Public Overrides Function Equals(ByVal _other As Object) As Boolean 854Public Overrides Function Equals(ByVal _other As Object) As Boolean 902Public Overrides Function Equals(ByVal _other As Object) As Boolean 953Public Overrides Function Equals(ByVal _other As Object) As Boolean 1021Public Overrides Function Equals(ByVal _other As Object) As Boolean 1096Public Overrides Function Equals(ByVal _other As Object) As Boolean
Microsoft.VisualStudio.LanguageServices (2)
DocumentOutline\DocumentSymbolDataViewModel.cs (1)
78public override bool Equals(object obj)
InheritanceMargin\InheritanceMarginTag.cs (1)
61public override bool Equals(object? obj)
MSBuild (2)
AssemblyLoadInfo.cs (1)
83public override bool Equals(Object obj)
TerminalLogger\NodeStatus.cs (1)
62public override bool Equals(object? obj) =>
MSBuildTaskHost (1)
AssemblyLoadInfo.cs (1)
83public override bool Equals(Object obj)
Mvc.Api.Analyzers.Test (1)
TestFiles\MvcFactsTest\IsControllerActionTests.cs (1)
48public override bool Equals(object obj) => false;
MyFrontend (9)
artifacts\obj\MyFrontend\Debug\net8.0\Basket.cs (9)
127public override bool Equals(object other) { 337public override bool Equals(object other) { 561public override bool Equals(object other) { 825public override bool Equals(object other) { 1137public override bool Equals(object other) { 1322public override bool Equals(object other) { 1496public override bool Equals(object other) { 1681public override bool Equals(object other) { 1879public override bool Equals(object other) {
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
6866public override bool Equals(object o)
src\Microsoft.DotNet.Wpf\src\WindowsBase\System\IO\Packaging\CompoundFile\VersionPair.cs (1)
240public override bool Equals(Object obj)
PresentationCore (21)
MS\Internal\DpiScale2.cs (1)
166public override bool Equals(object obj)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
121public override bool Equals(object obj)
MS\Internal\FontFace\FontFamilyIdentifier.cs (1)
441public abstract override bool Equals(object obj);
MS\Internal\Ink\ExtendedProperty.cs (1)
38public override bool Equals(object obj)
MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
23public override bool Equals(object o)
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
1131public override bool Equals(object value)
MS\Internal\Shaping\ShapeTypeface.cs (2)
45public override bool Equals(object o) 131public override bool Equals(object o)
MS\Internal\TextFormatting\GenericTextProperties.cs (1)
88public override bool Equals(object o)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
277public override bool Equals(object o)
System\Windows\BinaryFormat\BinaryObjectString.cs (1)
39public override bool Equals(object? obj)
System\Windows\BinaryFormat\ObjectNull.cs (1)
31public override bool Equals(object? obj) => obj is ObjectNull;
System\Windows\Ink\DrawingAttributes.cs (1)
499public override bool Equals(object o)
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
180public override bool Equals(object obj)
System\Windows\Media\CharacterMetrics.cs (1)
272public override bool Equals(object obj)
System\Windows\Media\ColorContext.cs (1)
402override public bool Equals(object obj)
System\Windows\Media\FamilyTypeface.cs (1)
253public override bool Equals(object o)
System\Windows\Media\FontFamily.cs (1)
272public override bool Equals(object o)
System\Windows\Media\GlyphTypeface.cs (1)
184public override bool Equals(object o)
System\Windows\Media\textformatting\NumberSubstitution.cs (1)
244public override bool Equals(object obj)
System\Windows\Media\Typeface.cs (1)
682public override bool Equals(object o)
PresentationFramework (32)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
55public override bool Equals(Object obj)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
263public override bool Equals(object o)
MS\Internal\Annotations\TextAnchor.cs (1)
163public override bool Equals(object obj)
MS\Internal\AppModel\BamlStream.cs (1)
168public override bool Equals(
MS\Internal\Data\ValueTable.cs (1)
328public override bool Equals(object o)
MS\Internal\IO\Packaging\ContentDescriptor.cs (1)
33public override bool Equals( object other )
MS\Internal\Navigation\BindStream.cs (1)
243public override bool Equals(
MS\Internal\Text\TypographyProperties.cs (1)
685public override bool Equals(object other)
MS\Internal\WeakHashtable.cs (1)
207public override bool Equals(object o)
MS\Internal\WeakObjectHashtable.cs (1)
216public override bool Equals(object o)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (3)
53public override bool Equals(object obj) => obj is AlternateWordForm that && this == that; 271public override bool Equals(object obj) => obj is WordSegment that && this == that; 376public override bool Equals(object obj) => obj is WordsSegmenter that && this == that;
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (1)
148public override bool Equals(object obj) => obj is Language that && this == that;
System\Windows\Annotations\LocatorPart.cs (1)
77public override bool Equals(object obj)
System\Windows\ComponentResourceKey.cs (1)
100public override bool Equals(object o)
System\Windows\Controls\Grid.cs (1)
3562public override bool Equals(object obj)
System\Windows\Controls\ItemsControl.cs (1)
3834public override bool Equals(object o)
System\Windows\Controls\ValidationResult.cs (1)
92public override bool Equals(object obj)
System\Windows\Data\XmlNamespaceMapping.cs (1)
77public override bool Equals(object obj)
System\Windows\Documents\FixedHighlight.cs (1)
60override public bool Equals(object oCompare)
System\Windows\Documents\FlowNode.cs (1)
88public override bool Equals(object o)
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
333public override bool Equals(object obj)
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (1)
165public override bool Equals(object other)
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (1)
115public override bool Equals(object other)
System\Windows\Markup\Primitives\MarkupWriter.cs (2)
261public override bool Equals(object obj) 1284public override bool Equals(object obj)
System\Windows\Media\Animation\Storyboard.cs (1)
198public override bool Equals(object o)
System\Windows\StyleHelper.cs (1)
6112public override bool Equals(object o)
System\Windows\SystemResourceKey.cs (1)
1990public override bool Equals(object o)
System\Windows\SystemThemeKey.cs (1)
53public override bool Equals(object o)
System\Windows\TemplateKey.cs (1)
104public override bool Equals(object o)
PresentationUI (2)
MS\Internal\Documents\Application\CriticalFileToken.cs (1)
88public override bool Equals(object obj)
MS\Internal\Documents\Application\StreamProxy.cs (1)
238public override bool Equals(object obj)
Sandbox (9)
artifacts\obj\Sandbox\Release\net10.0\Greet.cs (3)
107public override bool Equals(object other) { 310public override bool Equals(object other) { 537public override bool Equals(object other) {
artifacts\obj\Sandbox\Release\net10.0\Transcoding.cs (6)
246public override bool Equals(object other) { 564public override bool Equals(object other) { 976public override bool Equals(object other) { 1573public override bool Equals(object other) { 1890public override bool Equals(object other) { 2356public override bool Equals(object other) {
SocialWeather (1)
Protobuf\WeatherReport.cs (1)
141public override bool Equals(object other) {
Stress.TelemetryService (42)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\logs\v1\LogsService.cs (3)
121public override bool Equals(object other) { 326public override bool Equals(object other) { 561public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (3)
123public override bool Equals(object other) { 328public override bool Equals(object other) { 563public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\collector\trace\v1\TraceService.cs (3)
122public override bool Equals(object other) { 327public override bool Equals(object other) { 562public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\common\v1\Common.cs (5)
315public override bool Equals(object other) { 694public override bool Equals(object other) { 894public override bool Equals(object other) { 1099public override bool Equals(object other) { 1380public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
215public override bool Equals(object other) { 442public override bool Equals(object other) { 726public override bool Equals(object other) { 1165public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
315public override bool Equals(object other) { 542public override bool Equals(object other) { 826public override bool Equals(object other) { 1295public override bool Equals(object other) { 1741public override bool Equals(object other) { 1965public override bool Equals(object other) { 2221public override bool Equals(object other) { 2453public override bool Equals(object other) { 2672public override bool Equals(object other) { 3023public override bool Equals(object other) { 3607public override bool Equals(object other) { 4318public override bool Equals(object other) { 4861public override bool Equals(object other) { 5200public override bool Equals(object other) { 5557public override bool Equals(object other) { 5931public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\resource\v1\Resource.cs (1)
129public override bool Equals(object other) {
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
161public override bool Equals(object other) { 388public override bool Equals(object other) { 672public override bool Equals(object other) { 1198public override bool Equals(object other) { 1811public override bool Equals(object other) { 2147public override bool Equals(object other) { 2459public override bool Equals(object other) {
System.CodeDom (1)
System\CodeDom\Compiler\CompilerInfo.cs (1)
91public override bool Equals(object o)
System.Collections (2)
System\Collections\Generic\SortedDictionary.cs (1)
852public override bool Equals(object? obj)
System\Collections\Generic\SortedSetEqualityComparer.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj)
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (1)
122public override bool Equals([NotNullWhen(true)] object? obj)
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
536public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
325public override bool Equals(object? obj)
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\CommandID.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\MemberDescriptor.cs (1)
243public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\WeakHashtable.cs (1)
154public override bool Equals(object? o)
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
76public override bool Equals(object obj)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationElement.cs (1)
672public override bool Equals(object compareTo)
System\Configuration\Internal\FileVersion.cs (1)
21public override bool Equals(object obj)
System.Data.Common (5)
src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
System\Data\DataRowView.cs (1)
31public override bool Equals(object? other) => ReferenceEquals(this, other);
System\Data\ForeignKeyConstraint.cs (1)
857public override bool Equals([NotNullWhen(true)] object? key)
System\Data\UniqueConstraint.cs (1)
392public override bool Equals([NotNullWhen(true)] object? key2)
System\Data\XmlToDatasetMap.cs (1)
29public override bool Equals([NotNullWhen(true)] object? obj)
System.Data.Odbc (2)
Common\System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
33public override bool Equals(object? value)
src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
System.DirectoryServices.AccountManagement (1)
artifacts\obj\System.DirectoryServices.AccountManagement\Debug\net10.0\System.DirectoryServices.AccountManagement.notsupported.cs (1)
206public override bool Equals(object o) { throw new System.PlatformNotSupportedException(System.SR.DirectoryServicesAccountManagement_PlatformNotSupported); }
System.Drawing.Common (6)
Special\NotSupported.cs (6)
349public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 407public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 1781public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2396public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2519public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2725public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Linq.Expressions (4)
System\Dynamic\BindingRestrictions.cs (3)
245public override bool Equals([NotNullWhen(true)] object? obj) 268public override bool Equals([NotNullWhen(true)] object? obj) 290public override bool Equals([NotNullWhen(true)] object? obj)
System\Dynamic\CallInfo.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj)
System.Management (1)
artifacts\obj\System.Management\Debug\net10.0\System.Management.notsupported.cs (1)
152public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemManagement); }
System.Memory.Data (1)
System\BinaryData.cs (1)
529public override bool Equals([NotNullWhen(true)] object? obj) => ReferenceEquals(this, obj);
System.Net.Http (20)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
96public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as CredentialCacheKey);
System\Net\Http\Headers\AuthenticationHeaderValue.cs (1)
63public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\CacheControlHeaderValue.cs (1)
307public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\ContentDispositionHeaderValue.cs (1)
159public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\ContentRangeHeaderValue.cs (1)
94public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\EntityTagHeaderValue.cs (1)
56public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\MediaTypeHeaderValue.cs (1)
130public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\NameValueHeaderValue.cs (1)
81public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\ProductHeaderValue.cs (1)
60public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\ProductInfoHeaderValue.cs (1)
54public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\RangeConditionHeaderValue.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\RangeHeaderValue.cs (1)
84public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\RangeItemHeaderValue.cs (1)
69public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\RetryConditionHeaderValue.cs (1)
49public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\StringWithQualityHeaderValue.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\TransferCodingHeaderValue.cs (1)
120public override bool Equals([NotNullWhen(true)] object? obj)
System\Net\Http\Headers\ViaHeaderValue.cs (1)
102public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\Headers\WarningHeaderValue.cs (1)
98public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\HttpMethod.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (1)
47public override bool Equals([NotNullWhen(true)] object? obj)
System.Net.HttpListener (1)
System\Net\Managed\ListenerPrefix.cs (1)
84public override bool Equals([NotNullWhen(true)] object? o)
System.Net.Mail (3)
System\Net\Mail\MailAddress.cs (1)
271public override bool Equals([NotNullWhen(true)] object? value)
System\Net\Mime\ContentDisposition.cs (1)
244public override bool Equals([NotNullWhen(true)] object? rparam)
System\Net\Mime\ContentType.cs (1)
212public override bool Equals([NotNullWhen(true)] object? rparam) =>
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\PhysicalAddress.cs (1)
60public override bool Equals([NotNullWhen(true)] object? comparand) =>
System.Net.Primitives (6)
src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
96public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as CredentialCacheKey);
src\libraries\Common\src\System\Net\SocketAddress.cs (1)
141public override bool Equals(object? comparand) =>
System\Net\Cookie.cs (1)
700public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\DnsEndPoint.cs (1)
36public override bool Equals([NotNullWhen(true)] object? comparand) =>
System\Net\IPAddress.cs (1)
677public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\IPEndPoint.cs (1)
172public override bool Equals([NotNullWhen(true)] object? comparand)
System.Net.Sockets (2)
System\Net\Sockets\LingerOption.cs (1)
45public override bool Equals(object? comparand)
System\Net\Sockets\UnixDomainSocketEndPoint.cs (1)
139public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.CoreLib (61)
src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
71public override bool Equals([NotNullWhen(true)] object? o) =>
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Comparer.cs (4)
70public override bool Equals([NotNullWhen(true)] object? obj) => 105public override bool Equals([NotNullWhen(true)] object? obj) => 123public override bool Equals([NotNullWhen(true)] object? obj) => 141public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (7)
103public override bool Equals(object? obj) => 136public override bool Equals([NotNullWhen(true)] object? obj) => 176public override bool Equals([NotNullWhen(true)] object? obj) => 205public override bool Equals([NotNullWhen(true)] object? obj) => 226public override bool Equals([NotNullWhen(true)] object? obj) => 259public override bool Equals([NotNullWhen(true)] object? obj) => 317public override bool Equals(object? obj) => obj is StringEqualityComparer;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSetEqualityComparer.cs (1)
75public override bool Equals([NotNullWhen(true)] object? obj) => obj is HashSetEqualityComparer<T>;
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (1)
1513public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
636public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
146public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
184public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\SortKey.cs (1)
62public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Globalization\SortVersion.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
30public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
493public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector_1.cs (1)
696public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
1044public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector2 other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
1054public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector3 other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\ReadOnlySpan.cs (1)
186public override bool Equals(object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
180public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeData.cs (1)
80public override bool Equals(object? obj) => obj == (object)this;
src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
43public override bool Equals(object? obj) => base.Equals(obj);
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
145public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
43public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector128_1.cs (1)
386public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector128<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector256_1.cs (1)
383public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector256<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector512_1.cs (1)
383public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector512<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Vector64_1.cs (1)
442public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector64<T> other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
32public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (1)
613public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (2)
293public override bool Equals([NotNullWhen(true)] object? obj) 412public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
21public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\DecoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncoderExceptionFallback.cs (1)
25public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1052public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Text\EncodingInfo.cs (1)
63public override bool Equals([NotNullWhen(true)] object? value) => value is EncodingInfo that && CodePage == that.CodePage;
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
833public override bool Equals([NotNullWhen(true)] object? value) => value is DecoderUTF7Fallback;
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
862public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as TimeZoneInfo);
src\libraries\System.Private.CoreLib\src\System\Tuple.cs (8)
116public override bool Equals([NotNullWhen(true)] object? obj) 236public override bool Equals([NotNullWhen(true)] object? obj) 361public override bool Equals([NotNullWhen(true)] object? obj) 496public override bool Equals([NotNullWhen(true)] object? obj) 641public override bool Equals([NotNullWhen(true)] object? obj) 796public override bool Equals([NotNullWhen(true)] object? obj) 961public override bool Equals([NotNullWhen(true)] object? obj) 1141public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
138public override bool Equals([NotNullWhen(true)] object? obj)
src\System\Delegate.CoreCLR.cs (1)
88public override bool Equals([NotNullWhen(true)] object? obj)
src\System\Reflection\Emit\SignatureHelper.cs (1)
839public override bool Equals(object? obj) =>
src\System\ValueType.cs (1)
27public override unsafe bool Equals([NotNullWhen(true)] object? obj)
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContract.cs (2)
2068public sealed override bool Equals(object? obj) 2480public override bool Equals(object? other)
System\Xml\PrefixHandle.cs (1)
239public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\StringHandle.cs (1)
285public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\UniqueId.cs (1)
324public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.Uri (2)
System\Uri.cs (1)
1678public override bool Equals([NotNullWhen(true)] object? comparand)
System\UriBuilder.cs (1)
253public override bool Equals([NotNullWhen(true)] object? rparam) => rparam is not null && Uri.Equals(rparam.ToString());
System.Private.Windows.Core (3)
System\Private\Windows\BinaryFormat\Serializer\BinaryObjectString.cs (1)
37public override bool Equals(object? obj)
System\Private\Windows\BinaryFormat\Serializer\ObjectNull.cs (1)
28public override bool Equals(object? obj) => obj is ObjectNull;
Windows\Win32\Foundation\HandleRef.cs (1)
45public override bool Equals([NotNullWhen(true)] object? obj) => obj is THandle other && Equals(other);
System.Private.Xml (15)
System\Xml\Cache\XPathNodeInfoAtom.cs (1)
284public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Schema\BitSet.cs (1)
152public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Schema\Chameleonkey.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Schema\ConstraintStruct.cs (1)
489public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Serialization\Compilation.cs (1)
676public override bool Equals([NotNullWhen(true)] object? o)
System\Xml\Serialization\NameTable.cs (1)
23public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Serialization\SourceInfo.cs (1)
257public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Serialization\XmlSerializer.cs (1)
1029public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\XmlQualifiedName.cs (1)
74public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\QIL\QilName.cs (1)
95public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\Runtime\EarlyBoundInfo.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
171public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\XmlCollation.cs (1)
345public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Xsl\Runtime\XmlExtensionFunction.cs (1)
305public override bool Equals([NotNullWhen(true)] object? other)
System\Xml\Xsl\XmlQueryType.cs (1)
322public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.Xml.Linq (2)
System\Xml\Linq\XName.cs (1)
120public override bool Equals([NotNullWhen(true)] object? obj)
System\Xml\Linq\XNamespace.cs (1)
159public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.Context (2)
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (1)
63public override bool Equals([NotNullWhen(true)] object? o)
System\Reflection\Context\Virtual\VirtualParameter.cs (1)
49public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\General\RoAssemblyName.cs (1)
69public sealed override bool Equals([NotNullWhen(true)] object? obj) => obj is RoAssemblyName other && Equals(other);
System\Reflection\TypeLoading\Parameters\RoParameter.cs (1)
44public sealed override bool Equals(object? obj)
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\MemberHolder.cs (1)
24public override bool Equals([NotNullWhen(true)] object? obj)
System.Security.AccessControl (1)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (1)
273public sealed override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? o) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.Security.Cryptography (12)
System\Security\Cryptography\CngAlgorithm.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\CngAlgorithmGroup.cs (1)
56public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\CngKeyBlobFormat.cs (1)
56public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\CngProvider.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\DSAWrapper.cs (1)
153public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (2)
155public override bool Equals(object? obj) => _wrapped.Equals(obj); 209public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\ECDsaWrapper.cs (1)
178public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\RSAEncryptionPadding.cs (1)
103public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\RSASignaturePadding.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\RSAWrapper.cs (1)
218public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\X509Certificates\X509Certificate.cs (1)
297public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509Certificate other && Equals(other);
System.Security.Permissions (24)
System\Net\EndpointPermission.cs (1)
12public override bool Equals(object obj) { return false; }
System\Security\CodeAccessPermission.cs (1)
17public override bool Equals(object obj) => base.Equals(obj);
System\Security\Permissions\KeyContainerPermissionAccessEntry.cs (1)
24public override bool Equals(object o) { return false; }
System\Security\Permissions\PrincipalPermission.cs (1)
199public override bool Equals(object obj)
System\Security\Permissions\StrongNamePublicKeyBlob.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\AllMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ApplicationDirectory.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ApplicationDirectoryMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\CodeConnectAccess.cs (1)
17public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\CodeGroup.cs (1)
22public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\GacInstalled.cs (1)
14public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\GacMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\HashMembershipCondition.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\PolicyStatement.cs (1)
23public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Publisher.cs (1)
17public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\PublisherMembershipCondition.cs (1)
14public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Site.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\SiteMembershipCondition.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\StrongName.cs (1)
19public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\StrongNameMembershipCondition.cs (1)
19public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Url.cs (1)
15public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\UrlMembershipCondition.cs (1)
12public override bool Equals(object obj) => base.Equals(obj);
System\Security\Policy\Zone.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ZoneMembershipCondition.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System.Security.Principal.Windows (1)
artifacts\obj\System.Security.Principal.Windows\Debug\net10.0\System.Security.Principal.Windows.notsupported.cs (1)
34public abstract override bool Equals(object? o);
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingEncoders.cs (1)
80public override bool Equals(object o)
System.ServiceModel.Primitives (5)
netstandard.cs (5)
96public override bool Equals(object obj) => default; 637public override bool Equals(object obj) { return default; } 660public override bool Equals(object obj) { return default; } 1186public override bool Equals(object obj) { return default; } 1772public override bool Equals(object obj) { return default; }
System.Speech (4)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (4)
44public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 309public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 651public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 922public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Encoding.CodePages (2)
System\Text\DecoderBestFitFallback.cs (1)
35public override bool Equals([NotNullWhen(true)] object? value) =>
System\Text\EncoderBestFitFallback.cs (1)
35public override bool Equals([NotNullWhen(true)] object? value) =>
System.Text.Json (2)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1077public override bool Equals([NotNullWhen(true)] object? obj) => obj is ParameterLookupKey key && Equals(key);
System\Text\Json\Serialization\Metadata\PropertyRef.cs (1)
38public override bool Equals(object? obj) => obj is PropertyRef other && Equals(other);
System.Text.Json.SourceGeneration (2)
src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
30public override bool Equals(object? obj)
src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
39public override bool Equals(object? obj) => Equals(obj as TypeRef);
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Symbolic\BDD.cs (1)
144public override bool Equals(object? obj) => Equals(obj as BDD);
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
171public override bool Equals(object? obj) =>
System\Text\RegularExpressions\Symbolic\SymbolicRegexBuilder.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Threading.RateLimiting (1)
System\Threading\RateLimiting\MetadataName.T.cs (1)
43public override bool Equals([NotNullWhen(true)] object? obj)
System.Transactions.Local (1)
System\Transactions\Transaction.cs (1)
317public override bool Equals([NotNullWhen(true)] object? obj)
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.HitTestInfo.cs (1)
94public override bool Equals(object? value) =>
System\Windows\Forms\Controls\DataGridView\DataGridViewAdvancedBorderStyle.cs (1)
276public override bool Equals(object? other)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyle.cs (1)
446public override bool Equals(object? o) =>
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1138public override bool Equals(object? obj)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
697public override bool Equals(object? obj) => this == (HtmlDocument?)obj;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (1)
814public override bool Equals(object? obj) => this == (obj as HtmlElement);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (1)
479public override bool Equals(object? obj) => this == (HtmlWindow?)obj;
System\Windows\Forms\DataBinding\BindingContext.HashKey.cs (1)
30public override bool Equals(object? target)
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButton.cs (1)
350public override bool Equals(object? obj)
System\Windows\Forms\Input\Cursor.cs (1)
479public override bool Equals(object? obj) => obj is Cursor cursor && this == cursor;
System\Windows\Forms\Input\InputLanguage.cs (1)
257public override bool Equals(object? value)
System\Windows\Forms\Layout\ArrangedElementCollection.cs (1)
24public override bool Equals(object? obj)
System\Windows\Forms\Layout\TableLayout.LayoutInfo.cs (1)
57public override bool Equals(object? obj) =>
System\Windows\Forms\Screen.cs (1)
244public override bool Equals(object? obj) => obj is Screen comp && _hmonitor == comp._hmonitor;
System\Windows\Forms\Scrolling\ScrollableControl.DockPaddingEdgesConverter.cs (1)
185public override bool Equals(object? other)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
410public override bool Equals(object? otherClosure)
System\Drawing\Design\ToolboxItem.cs (1)
364public override bool Equals(object? obj)
System\Windows\Forms\Design\MaskDescriptor.cs (1)
132public override bool Equals(object? maskDescriptor)
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataGridViewCellStyleTests.cs (1)
1151public override bool Equals(object other) => other is AlwaysEqual;
System.Xaml (6)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
277public override bool Equals(object o)
System\Xaml\AttachableMemberIdentifier.cs (1)
51public override bool Equals(object obj)
System\Xaml\Schema\XamlValueConverter.cs (1)
107public override bool Equals(object obj)
System\Xaml\XamlMember.cs (1)
1037public override bool Equals(object obj)
System\Xaml\XamlObjectReader.cs (1)
3044public override bool Equals(object obj)
System\Xaml\XamlType.cs (1)
1836public override bool Equals(object obj)
UIAutomationClient (1)
System\Windows\Automation\AutomationElement.cs (1)
305public override bool Equals(object obj)
UIAutomationTypes (2)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
73public override bool Equals( object obj )
System\Windows\Automation\AutomationIdentifier.cs (1)
107public override bool Equals( object obj )
999 references to Equals
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\TestExtensions.cs (1)
50if (expected?.Equals(actual) == true)
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\TestExtensions.cs (1)
50if (expected?.Equals(actual) == true)
dotnet-svcutil-lib (19)
CommandLineParser.cs (1)
59System.Diagnostics.Debug.Assert(!s_allSwitches.Any(s => s.Equals(this)), $"A switch with name or abbreviation '{name}+{abbreviation}' has already been crated!");
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4663if (modifiers[i].Equals(value))
FrameworkFork\Microsoft.Xml\Xml\schema\ConstraintStruct.cs (5)
362return atomicValues1.Length == 1 && atomicValues1.GetValue(0).Equals(other.Value); 366return arr1.Length == 1 && arr1.GetValue(0).Equals(other.Value); 376return atomicValues2.Length == 1 && atomicValues2.GetValue(0).Equals(this.Value); 380return arr2.Length == 1 && arr2.GetValue(0).Equals(this.Value); 385return this.Value.Equals(other.Value);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNamespaceManager.cs (1)
54if (entry.Value.Equals(ns))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
1081return o != null && ValueOfDBNull != null && ValueOfDBNull.Equals(o);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriterSession.cs (1)
140if (_list[i].Key.Equals(key))
FrameworkFork\System.ServiceModel\Internals\System\Runtime\MruCache.cs (1)
143if (_mruEntry.node != null && key != null && key.Equals(_mruEntry.node.Value))
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\ClaimComparer.cs (1)
173return obj1.Equals(obj2);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (2)
785return value.Equals(pair.Value); 848if (!value.Equals(pair.Value))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
148return base.Equals(obj);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
569if (parameterInfo1.Equals(parameterInfo2))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
833return CredentialCache.DefaultNetworkCredentials.Equals(credential);
Shared\Options\OptionBase.cs (2)
84get { return _canSerialize && this.Value != null && !this.Value.Equals(this.DefaultValue); } 133if (this.Value == null || !this.Value.Equals(value))
http2cat (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
IIS.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
IIS.LongTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
IIS.NewHandler.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
IIS.NewShim.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
IISExpress.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
illink (4)
ILLink.RoslynAnalyzer (2)
DataFlow\ControlFlowGraphProxy.cs (1)
213 if (catchOrFilter.Equals (region))
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
70 if (!item.Equals (other))
Microsoft.AspNetCore.Components (1)
ChangeDetection.cs (1)
35|| !oldValue.Equals(newValue)) // Somebody says they are different
Microsoft.AspNetCore.Components.Web (1)
Forms\InputRadio.cs (1)
71builder.AddAttribute(6, "checked", Context.CurrentValue?.Equals(Value) == true ? GetToggledTrueValue() : null);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (1)
ConverterTests\JsonConverterReadTests.cs (1)
666Assert.True(objectNew.Equals(objectOld));
Microsoft.AspNetCore.HeaderParsing.Tests (4)
HostHeaderValueTests.cs (4)
32Assert.True(sameAsHost1.Equals((object)host1)); 33Assert.False(differentHost.Equals((object)host1)); 34Assert.False(differentPort.Equals((object)host1)); 35Assert.False(differentPort.Equals(new object()));
Microsoft.AspNetCore.Html.Abstractions.Tests (1)
HtmlContentBuilderTest.cs (1)
264return base.Equals(obj);
Microsoft.AspNetCore.Http.Abstractions (20)
EndpointFilterInvocationContextOfT.Generated.cs (20)
66if (Arguments[i]?.Equals(item) == true) 104if (Arguments[i]?.Equals(item) == true) 194if (Arguments[i]?.Equals(item) == true) 233if (Arguments[i]?.Equals(item) == true) 329if (Arguments[i]?.Equals(item) == true) 369if (Arguments[i]?.Equals(item) == true) 471if (Arguments[i]?.Equals(item) == true) 512if (Arguments[i]?.Equals(item) == true) 620if (Arguments[i]?.Equals(item) == true) 662if (Arguments[i]?.Equals(item) == true) 776if (Arguments[i]?.Equals(item) == true) 819if (Arguments[i]?.Equals(item) == true) 939if (Arguments[i]?.Equals(item) == true) 983if (Arguments[i]?.Equals(item) == true) 1109if (Arguments[i]?.Equals(item) == true) 1154if (Arguments[i]?.Equals(item) == true) 1286if (Arguments[i]?.Equals(item) == true) 1332if (Arguments[i]?.Equals(item) == true) 1470if (Arguments[i]?.Equals(item) == true) 1517if (Arguments[i]?.Equals(item) == true)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\SaveTempDataPropertyFilterBase.cs (1)
52if (newValue != null && !newValue.Equals(originalValue))
Microsoft.AspNetCore.RateLimiting (1)
DefaultKeyTypeEqualityComparer.cs (1)
23return string.Equals(x.PolicyName, y.PolicyName, StringComparison.Ordinal) && xKey.Equals(yKey);
Microsoft.AspNetCore.Routing (1)
Template\TemplateBinder.cs (1)
666return a.Equals(b);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
1015if (!expected.Equals(actual)) 1031if (value1.Equals(value2))
Microsoft.AspNetCore.Server.IIS (1)
Core\WrappingStream.cs (1)
111=> _inner.Equals(obj);
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\WrappingStream.cs (1)
110=> _inner.Equals(obj);
Internal\KestrelServerImpl.cs (1)
206if (!configuredEndpoint.Equals(options.EndPoint))
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
71return base.Equals(obj);
Microsoft.Build (10)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (1)
852ErrorUtilities.VerifyThrow((itemVectorTransforms == null) || (itemVectorCollection.Equals(itemVectorTransforms)) || (itemVectorPartition.Count == 1),
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
707return base.Equals(obj);
Evaluation\Evaluator.cs (1)
1503if (fallbackSearchPathMatch.Equals(ProjectImportPathMatch.None))
Evaluation\Expander.cs (2)
3726if (args[i].Equals("out _")) 3740else if (!toReturn.Equals(currentReturnValue))
Graph\GraphBuilder.cs (1)
476if (node.Equals(referenceNode))
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
195return actualInstance.Equals(item);
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
149if (foundItem is not null && foundItem.Equals(item))
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
210if (foundItem is not null && foundItem.Equals(item))
Logging\BaseConsoleLogger.cs (1)
857else if (p1.Equals(p2))
Microsoft.Build.Engine.UnitTests (8)
BackEnd\TranslationHelpers.cs (1)
145if (leftProp != null && !prop.GetValue(left, null).Equals(prop.GetValue(right, null)))
Construction\ElementLocation_Tests.cs (5)
87Assert.True(location1.Equals(location6)); 88Assert.True(location2.Equals(location5)); 89Assert.False(location3.Equals(location1)); 90Assert.False(location4.Equals(location2)); 91Assert.False(location4.Equals(location6));
Evaluation\Evaluator_Tests.cs (2)
1977else if (!property.Equals(propertyFromAllEvaluated)) 2141else if (!property.Equals(propertyFromAllEvaluated))
Microsoft.Cci.Extensions (6)
Differs\ListMerger.cs (4)
43if (list0[list0Index].Equals(list1[list1Index])) 52int findIndex0 = Array.FindIndex(list0, list0Index, list0End - list0Index, t => list1[list1Index].Equals(t)); 64int findIndex1 = Array.FindIndex(list1, list1Index, list1End - list1Index, t => list0[list0Index].Equals(t)); 77Contract.Assert(!list0[list0Index].Equals(list1[list1Index]));
Extensions\CSharp\CSharpCciExtensions.cs (1)
657return ((ITypeDefinition)method.ContainingType).ExplicitImplementationOverrides.Where(mi => mi.ImplementingMethod.Equals(method)).FirstOrDefault();
Writers\CSharp\CSDeclarationWriter.Enums.cs (1)
28if (enumFieldValue != null && enumFieldValue.Equals(constant.Value))
Microsoft.CodeAnalysis (12)
InternalUtilities\ConcurrentLruCache.cs (1)
126else if (!result.Value.Equals(value))
MetadataReader\MetadataDecoder.cs (1)
2384return !methodParam.IsByRef && methodParam.Type.Equals(eventType);
PEWriter\SymbolEquivalentEqualityComparer.cs (2)
39return xSymbol.Equals(ySymbol); 74return xSymbol.Equals(ySymbol);
PEWriter\UsedNamespaceOrType.cs (4)
101return xSymbol.Equals(ySymbol); 108return x.Equals(y); 140return xSymbol.Equals(ySymbol); 147return x.Equals(y);
ReferenceManager\AssemblyData.cs (1)
76return base.Equals(obj);
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1370internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
SwitchConstantValueHelper.cs (1)
127return first.Equals(second);
SymbolDisplay\FormattedSymbol.cs (1)
42_symbol.Equals(other._symbol) &&
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1370internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
139else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
125if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 129if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 130existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
159if (arguments[i].Equals(targetArgument)) 165if (arguments[i].Equals(targetArgument))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Microsoft.CodeAnalysis.Collections.Package (1)
SegmentedHashSet`1.cs (1)
1370internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
Microsoft.CodeAnalysis.CSharp (10)
Binder\DecisionDagBuilder.cs (4)
854!existingState.RemainingValues.All(kv => newRemainingValues.TryGetValue(kv.Key, out IValueSet? values) && kv.Value.Equals(values))) 2035this.RemainingTests.Equals(other.RemainingTests); 2045return newRemainingTests.Equals(RemainingTests) 2317public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated);
Binder\SwitchBinder_Patterns.cs (1)
31Debug.Assert(SwitchSyntax.Equals(node));
FlowAnalysis\NullableWalker.PlaceholderLocal.cs (1)
44return obj is PlaceholderLocal other && _identifier.Equals(other._identifier);
Utilities\ValueSetFactory.EnumeratedValueSetFactory.cs (1)
44return _tc.FromConstantValue(left).Equals(_tc.FromConstantValue(right));
Utilities\ValueSetFactory.FloatingValueSet.cs (1)
162this._numbers.Equals(other._numbers);
Utilities\ValueSetFactory.NintValueSet.cs (1)
125this._values.Equals(other._values);
Utilities\ValueSetFactory.NuintValueSet.cs (1)
108this._values.Equals(other._values);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (5)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
143if (constructor.Equals(primaryConstructor))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (4)
1727if (name.Equals(nameof(Task<int>.ConfigureAwait)) && 1733else if (name.Equals(nameof(Task<int>.ContinueWith))) 1745else if (name.Equals(nameof(Enumerable.Select)) || 1746name.Equals(nameof(Enumerable.Where)))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (36)
CodeGen\CodeGenTupleTest.cs (34)
11673Assert.False(members2.Any(u => u.Equals(m))); 11674Assert.False(members2.Any(u => m.Equals(u))); 13592Assert.True(t1.Equals(t2)); 13599Assert.False(t1.Equals(t3)); 13604Assert.True(t3.Equals(t4)); 13607Assert.False(t5.Equals(t3)); 13615Assert.True(t6.Equals(t7)); 13618Assert.False(t1.Equals(t6)); 13625Assert.False(t1.Equals(t8)); 13630Assert.False(t6.Equals(t8)); 13641Assert.True(t1.Equals(t2)); 13651Assert.False(t1.Equals(t3)); 13656Assert.True(t3.Equals(t4)); 13659Assert.False(t5.Equals(t3)); 13669Assert.True(t6.Equals(t7)); 13672Assert.False(t1.Equals(t6)); 13680Assert.False(t1.Equals(t8)); 13685Assert.False(t6.Equals(t8)); 13695Assert.True(t9.Equals(t10)); 13704Assert.False(t1.Equals(t11)); 13708Assert.False(t1.Equals(t11)); 13710Assert.False(t11.Equals(t1)); 13761Assert.False(t1.Equals(t12)); 13770Assert.False(t1.Equals(t12)); 13772Assert.False(t12.Equals(t1)); 13831Assert.True(t1.Equals(t2)); 13838Assert.False(t1.Equals(t3)); 13843Assert.True(t3.Equals(t4)); 13846Assert.False(t5.Equals(t3)); 13854Assert.True(t6.Equals(t7)); 13857Assert.False(t1.Equals(t6)); 13864Assert.False(t1.Equals(t8)); 13869Assert.False(t6.Equals(t8)); 15879return x.GetSyntax().Equals(y.GetSyntax());
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (2)
2454diagnostic.Arguments[0].Equals("System.Guid") && diagnostic.Arguments[1].Equals(".ctor"))
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Diagnostics\GetDiagnosticsTests.cs (5)
447Assert.True(diagnostics[0].Location.SourceTree.Equals(syntaxTree1)); 448Assert.True(diagnostics[1].Location.SourceTree.Equals(syntaxTree2)); 449Assert.True(diagnostics[2].Location.SourceTree.Equals(syntaxTree3)); 473Assert.True(diagnostics[0].Location.SourceTree.Equals(syntaxTree1)); 474Assert.True(diagnostics[1].Location.SourceTree.Equals(syntaxTree2));
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (3)
111=> syntaxNode.Equals(conditionalExpressionSyntax.WhenTrue) || 112syntaxNode.Equals(conditionalExpressionSyntax.WhenFalse), 114=> syntaxNode.Equals(binaryExpressionSyntax.Right),
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
143if (constructor.Equals(primaryConstructor))
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\SemanticErrorTests.cs (1)
21081var compatibleExpected = fullExpected.Where(d => !d.Code.Equals((int)ErrorCode.WRN_NubExprIsConstBool2)).ToArray();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
SymbolDisplay\SymbolDisplayTests.cs (2)
5316Assert.False(new FormattedSymbol(sA, f1).Equals((object)sA)); 5317Assert.False(new FormattedSymbol(sA, f1).Equals(null));
Symbols\ConversionTests.cs (6)
246Assert.False(f1Type.Equals(f2Type)); 252Assert.False(f3Type.Equals(f4Type)); 258Assert.False(f6Type.Equals(f7Type)); 259Assert.False(f6Type.Equals(f8Type)); 260Assert.False(f7Type.Equals(f8Type)); 277Assert.False(g1Type.Equals(g2Type));
Symbols\Metadata\PE\MissingTypeReferences.cs (1)
379Assert.False(missingAssembly.Equals(null));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
Extensions.cs (2)
429return expected.Equals(arg.Value); 464return expected == null ? arg.Value == null : expected.Equals(arg.Value);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (4)
1727if (name.Equals(nameof(Task<int>.ConfigureAwait)) && 1733else if (name.Equals(nameof(Task<int>.ContinueWith))) 1745else if (name.Equals(nameof(Enumerable.Select)) || 1746name.Equals(nameof(Enumerable.Where)))
Microsoft.CodeAnalysis.EditorFeatures (30)
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (2)
81static option => option.Equals(ClassificationOptionsStorage.ClassifyReassignedVariables) || option.Equals(ClassificationOptionsStorage.ClassifyObsoleteSymbols)));
EditorConfigSettings\Updater\SettingsUpdateHelper.cs (1)
126return updatedText.Equals(originalText) ? null : updatedText;
EditorConfigSettings\Updater\SettingsUpdaterBase.cs (1)
93if (newText is null || newText.Equals(originalText))
Extensibility\NavigationBar\NavigationBarProjectItem.cs (1)
38=> base.Equals(item) &&
Extensibility\NavigationBar\SimpleNavigationBarItem.cs (1)
18=> base.Equals(other);
Extensibility\NavigationBar\WrappedNavigationBarItem.cs (1)
70=> base.Equals(other) &&
InlineHints\InlineHintsDataTaggerProvider.cs (14)
51option.Equals(InlineHintsOptionsStorage.EnabledForParameters) || 52option.Equals(InlineHintsOptionsStorage.ForLiteralParameters) || 53option.Equals(InlineHintsOptionsStorage.ForIndexerParameters) || 54option.Equals(InlineHintsOptionsStorage.ForObjectCreationParameters) || 55option.Equals(InlineHintsOptionsStorage.ForOtherParameters) || 56option.Equals(InlineHintsOptionsStorage.SuppressForParametersThatMatchMethodIntent) || 57option.Equals(InlineHintsOptionsStorage.SuppressForParametersThatDifferOnlyBySuffix) || 58option.Equals(InlineHintsOptionsStorage.SuppressForParametersThatMatchArgumentName) || 59option.Equals(InlineHintsOptionsStorage.EnabledForTypes) || 60option.Equals(InlineHintsOptionsStorage.ForImplicitVariableTypes) || 61option.Equals(InlineHintsOptionsStorage.ForLambdaParameterTypes) || 62option.Equals(InlineHintsOptionsStorage.ForImplicitObjectCreation) || 63option.Equals(InlineHintsOptionsStorage.ForCollectionExpressions))); 106=> tag1.Equals(tag2);
Structure\AbstractStructureTaggerProvider.cs (9)
160option.Equals(BlockStructureOptionsStorage.ShowBlockStructureGuidesForCodeLevelConstructs) || 161option.Equals(BlockStructureOptionsStorage.ShowBlockStructureGuidesForDeclarationLevelConstructs) || 162option.Equals(BlockStructureOptionsStorage.ShowBlockStructureGuidesForCommentsAndPreprocessorRegions) || 163option.Equals(BlockStructureOptionsStorage.ShowOutliningForCodeLevelConstructs) || 164option.Equals(BlockStructureOptionsStorage.ShowOutliningForDeclarationLevelConstructs) || 165option.Equals(BlockStructureOptionsStorage.ShowOutliningForCommentsAndPreprocessorRegions) || 166option.Equals(BlockStructureOptionsStorage.CollapseRegionsWhenCollapsingToDefinitions) || 167option.Equals(BlockStructureOptionsStorage.CollapseLocalFunctionsWhenCollapsingToDefinitions))); 247return latestTag.Equals(previousTag);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities2 (2)
Intellisense\MockCompletionPresenter.vb (2)
57_filters = _filters.Select(Function(n) If(n.Filter.Equals(targetFilter), n.WithSelected(isSelected), n)).ToImmutableArray() 81If itemToSelect IsNot Nothing AndAlso Not _presentedItems.Any(Function(n) n.CompletionItem.Equals(itemToSelect)) AndAlso Not thisIsSuggestionItem Then
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (7)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (7)
8661Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("C11")) 8698Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("DDD")) 8737Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("DDD")) 8774Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("DDD")) 8807Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("C11")) 8840Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("AA")) 8873Dim expectingItem = state.GetCompletionItems().First(Function(item) item.DisplayText.Equals("AA"))
Microsoft.CodeAnalysis.Features (19)
AddImport\References\AssemblyReference.cs (1)
41return base.Equals(obj) &&
AddImport\References\MetadataSymbolReference.cs (1)
69return base.Equals(reference) &&
AddImport\References\PackageReference.cs (1)
41return base.Equals(obj) &&
AddImport\References\ProjectSymbolReference.cs (1)
103return base.Equals(reference) &&
AddImport\References\SymbolReference.cs (1)
34var equals = base.Equals(obj);
GenerateEqualsAndGetHashCodeFromMembers\IGenerateEqualsAndGetHashCodeService.cs (3)
15/// Service that can be used to generate <see cref="object.Equals(object)"/> and 26/// Generates an override of <see cref="object.Equals(object)"/> that works by comparing the 32/// Generates an override of <see cref="object.Equals(object)"/> that works by delegating to
IntroduceParameter\IntroduceParameterDocumentRewriter.cs (1)
640if (!match.Equals(_expression))
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
108=> Equals((object)other);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.ActionlessItem.cs (1)
31=> base.Equals(other);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateDefaultConstructorItem.cs (1)
20=> base.Equals(other);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateEventHandlerItem.cs (1)
23=> base.Equals(other) &&
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateFinalizerItem.cs (1)
20=> base.Equals(other);
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.GenerateMethodItem.cs (1)
22=> base.Equals(other) &&
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
45=> base.Equals(other) &&
PullMemberUp\MembersPuller.cs (1)
242if (declaration.Equals(eventDeclaration) && !isEventHasExplicitAddOrRemoveMethod)
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
159if (arguments[i].Equals(targetArgument)) 165if (arguments[i].Equals(targetArgument))
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (1)
142Debug.Assert(!entry.AnalyzerReferences.Equals(project.AnalyzerReferences));
Handler\PullHandlers\VersionedPullCache.CacheItem.cs (2)
75if (cheapVersion != null && cheapVersion.Equals(_lastResult.Value.cheapVersion)) 87if (expensiveVersion != null && expensiveVersion.Equals(_lastResult.Value.expensiveVersion))
Protocol\Diagnostic.cs (2)
152: this.Tags.Equals(other.Tags) || this.Tags.SequenceEqual(other.Tags)) 155: this.Data.Equals(other.Data));
Protocol\Position.cs (1)
93/// Overrides base class method <see cref="object.Equals(object)"/>. Two positions are equal if their line and character are the same.
Protocol\SymbolInformation.cs (1)
120: (this.Tags.Equals(other.Tags) || this.Tags.SequenceEqual(other.Tags)))
Microsoft.CodeAnalysis.Test.Utilities (8)
Assert\EqualityTesting.cs (4)
20Assert.True(x.Equals(y)); 21Assert.True(((object)x).Equals(y)); 27Assert.False(x.Equals(y)); 28Assert.False(((object)x).Equals(y));
Assert\EqualityUtil`1.cs (3)
145Assert.True(value.Equals(unitValue)); 146Assert.True(unitValue.Equals(value)); 176Assert.False(value.Equals((object)42));
Diagnostics\DiagnosticDescription.cs (1)
254if (!_code.Equals(d._code))
Microsoft.CodeAnalysis.UnitTests (50)
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (14)
70Assert.False(Empty<int, int>().Equals(null)); 71Assert.False(Empty<int, int>().Equals("hi")); 72Assert.True(Empty<int, int>().Equals(Empty<int, int>())); 73Assert.False(Empty<int, int>().Add(3, 2).Equals(Empty<int, int>().Add(3, 2))); 74Assert.False(Empty<int, int>().Add(3, 2).Equals(Empty<int, int>().Add(3, 1))); 75Assert.False(Empty<int, int>().Add(5, 1).Equals(Empty<int, int>().Add(3, 1))); 76Assert.False(Empty<int, int>().Add(3, 1).Add(5, 1).Equals(Empty<int, int>().Add(3, 1))); 77Assert.False(Empty<int, int>().Add(3, 1).Equals(Empty<int, int>().Add(3, 1).Add(5, 1))); 79Assert.True(Empty<int, int>().ToReadOnlyDictionary().Equals(Empty<int, int>())); 80Assert.True(Empty<int, int>().Equals(Empty<int, int>().ToReadOnlyDictionary())); 81Assert.True(Empty<int, int>().ToReadOnlyDictionary().Equals(Empty<int, int>().ToReadOnlyDictionary())); 82Assert.False(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary().Equals(Empty<int, int>())); 83Assert.False(Empty<int, int>().Equals(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary())); 84Assert.False(Empty<int, int>().ToReadOnlyDictionary().Equals(Empty<int, int>().Add(3, 1).ToReadOnlyDictionary()));
Collections\ImmutableSetTest.cs (7)
143Assert.False(Empty<int>().Equals(null)); 144Assert.False(Empty<int>().Equals("hi")); 145Assert.True(Empty<int>().Equals(Empty<int>())); 146Assert.False(Empty<int>().Add(3).Equals(Empty<int>().Add(3))); 147Assert.False(Empty<int>().Add(5).Equals(Empty<int>().Add(3))); 148Assert.False(Empty<int>().Add(3).Add(5).Equals(Empty<int>().Add(3))); 149Assert.False(Empty<int>().Add(3).Equals(Empty<int>().Add(3).Add(5)));
Collections\List\SegmentedList.Generic.Tests.Find.cs (22)
23private readonly Predicate<T?> _equalsDefaultDelegate = (T? item) => { return default(T) == null ? item == null : default(T)!.Equals(item); }; 234Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 255foundItem = list.Find((T? item) => { return item == null ? default(T) == null : item.Equals(default(T)); }); 268Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 329Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 354foundItem = list.FindLast((T? item) => { return item == null ? default(T) == null : item.Equals(default(T)); }); 367Predicate<T?> EqualsDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 406Predicate<T> EqualsDefaultDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 437Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 472Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 525Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 570Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 576index = list.FindIndex(0, count, delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }); 648Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 693Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 721Predicate<T> EqualsDelegate = delegate (T item) { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 756Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 808Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 853Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 934Predicate<T> EqualsDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 968Predicate<T> EqualsDelegate = (value) => expectedItem == null ? value == null : expectedItem.Equals(value); 994Predicate<T> EqualsDelegate = (value) => expectedItem == null ? value == null : expectedItem.Equals(value);
Collections\List\SegmentedList.Generic.Tests.Misc.cs (6)
367Predicate<T?> expectedItemDelegate = (T? item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 392Assert.True(list.Exists((T? item) => { return item == null ? default(T) == null : item.Equals(default(T)); }), 401Predicate<T> expectedItemDelegate = (T item) => { return expectedItem == null ? item == null : expectedItem.Equals(item); }; 425Assert.True(list.Exists((T item) => { return item != null && (item.Equals(items[0]) || item.Equals(items[1])); }), 674Predicate<T> expectedItemDelegate = delegate (T item) { return expectedItem == null ? item != null : !expectedItem.Equals(item); };
Collections\List\SegmentedList.Generic.Tests.Remove.cs (1)
54Predicate<T> EqualsDefaultElement = (value) => { return default(T) == null ? value == null : default(T)!.Equals(value); };
Microsoft.CodeAnalysis.VisualBasic (2)
Binding\Binder_SelectCase.vb (1)
413clausesChanged = clausesChanged OrElse Not newCaseClause.Equals(caseClause)
Symbols\Source\CrefTypeParameterSymbol.vb (1)
143Me._syntaxReference.GetSyntax().Equals(other._syntaxReference.GetSyntax())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
159If parentEndBlock.Equals(precedingEndBlock) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
204Dim literal = If(negative AndAlso nonNegativeValue.Equals(value), 401If specialValue.Key.Equals(value) Then
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
AutomaticEndConstructCorrection\LetterOnlyTrackingSpan.vb (1)
169If snapshot.Version.Equals(Me._version) Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (7)
Attributes\AssemblyAttributes.vb (2)
1237Dim srcAttrs = allSrcAttrs.Where(Function(a) a.AttributeClass.Name.Equals(attrTypeName)).AsImmutable() 1256Dim emittedAttrs = allEmittedAttrs.Where(Function(a) a.AttributeClass.Name.Equals(attrTypeName)).AsImmutable()
CodeGen\CodeGenTuples.vb (4)
15189Assert.False(underlyingMembers.Any(Function(u) u.Equals(m))) 15190Assert.False(underlyingMembers.Any(Function(u) m.Equals(u))) 15244Assert.False(members2.Any(Function(u) u.Equals(m))) 15245Assert.False(members2.Any(Function(u) m.Equals(u)))
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (1)
1917If Diagnostic.Code = ERRID.ERR_MissingRuntimeHelper AndAlso Diagnostic.Arguments(0).Equals("System.Guid..ctor") Then
Microsoft.CodeAnalysis.VisualBasic.Features (1)
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (1)
41If innerExpression.HasAnnotation(s_replacementAnnotation) AndAlso innerExpression.Equals(parenthesizedExpression.Expression) Then
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (13)
SymbolsTests\Metadata\PE\LoadingOperators.vb (7)
2292Assert.Equal(MethodKind.Ordinary, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("op_OnesComplement")).Single(), MethodSymbol).MethodKind) 2293Assert.Equal(MethodKind.Ordinary, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("OP_ONESCOMPLEMENT")).Single(), MethodSymbol).MethodKind) 2390Assert.Equal(MethodKind.Ordinary, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("OP_ONESCOMPLEMENT")).Single(), MethodSymbol).MethodKind) 2391Assert.Equal(MethodKind.Ordinary, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("op_OnesComplement")).Single(), MethodSymbol).MethodKind) 2628Assert.Equal(MethodKind.UserDefinedOperator, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("op_OnesComplement")).Single(), MethodSymbol).MethodKind) 2629Assert.Equal(MethodKind.Ordinary, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("OP_ONESCOMPLEMENT")).Single(), MethodSymbol).MethodKind) 2692Assert.Equal(MethodKind.UserDefinedOperator, DirectCast(a11.GetMembers().Where(Function(m) m.Name.Equals("op_OnesComplement")).Single(), MethodSymbol).MethodKind)
SymbolsTests\Metadata\PE\MissingTypeReferences.vb (2)
475Assert.True(missingAssembly.Equals(missingAssembly)) 477Assert.False(missingAssembly.Equals(Nothing))
SymbolsTests\Metadata\PE\NoPiaLocalHideAndTypeSubstitutionTests.vb (1)
298Where(Function(n) n.Name.Equals(name)).
SymbolsTests\Source\PropertyTests.vb (3)
596Assert.Equal(propertySymbols.Count(Function(psymb) psymb.Name.Equals("P")), 3) 597Assert.Equal(propertyGettersSymbols.Count(Function(msymb) msymb.Name.Equals("get_p")), 1) 598Assert.Equal(propertyGettersSymbols.Count(Function(msymb) msymb.Name.Equals("get_P")), 2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Parser\ParseAsyncTests.vb (1)
440Dim awaitParsedAsIdentifier = tree.GetRoot().DescendantNodes.OfType(Of IdentifierNameSyntax).Where(Function(id) id.Identifier.ValueText.Equals("Await")).ToArray()
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
Extensions.vb (2)
184Return expected.Equals(arg.Value) 216Return If(expected Is Nothing, arg.Value Is Nothing, expected.Equals(CType(arg.Value, T)))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
330symbols = symbols.WhereAsArray(Function(s) Not s.Equals(parentingCtor))
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
942.Where(Function(sym) Not sym.Equals(renamedSymbol))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
159If parentEndBlock.Equals(precedingEndBlock) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
204Dim literal = If(negative AndAlso nonNegativeValue.Equals(value), 401If specialValue.Key.Equals(value) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (2)
CodeGeneration\SyntaxGeneratorTests.vb (2)
1067Function(m) m.Name = WellKnownMemberNames.ExplicitConversionName AndAlso m.Parameters(0).Type.Equals(gcHandleType)) 1076Function(m) m.Name = WellKnownMemberNames.ImplicitConversionName AndAlso m.Parameters(0).Type.Equals(_emptyCompilation.GetSpecialType(SpecialType.System_Byte)))
Microsoft.CodeAnalysis.Workspaces (21)
CodeStyle\CodeStyleOption.cs (1)
67=> UnderlyingOption.Equals(other?.UnderlyingOption);
Differencing\Edit.cs (6)
24Debug.Assert((oldNode == null || oldNode.Equals(null)) == (kind == EditKind.Insert)); 25Debug.Assert((newNode == null || newNode.Equals(null)) == (kind == EditKind.Delete)); 28oldNode == null || oldNode.Equals(null) || 29newNode == null || newNode.Equals(null) || 70&& (OldNode == null) ? other.OldNode == null : OldNode.Equals(other.OldNode) 71&& (NewNode == null) ? other.NewNode == null : NewNode.Equals(other.NewNode);
Differencing\EditScript.cs (4)
183if (Match.TryGetPartnerInTree2(e, out var pw) && Comparer.GetParent(pw).Equals(x)) 194if (Match.TryGetPartnerInTree1(e, out var px) && Comparer.GetParent(px).Equals(w)) 230Comparer.GetParent(b).Equals(x) && 242=> dict.TryGetValue(a, out var value) && value.Equals(b);
Differencing\Match.cs (1)
326return TryGetPartnerInTree2(node1, out var partner2) && node2.Equals(partner2);
FindSymbols\FindLiterals\FindLiteralsSearchEngine.cs (1)
191if (_value.Equals(token.Value))
FindSymbols\SymbolFinder.cs (1)
235c => c.DeclaringSyntaxReferences.Any(r => linkedNode.Equals(r.GetSyntax(cancellationToken))));
Options\OptionKey.cs (1)
51return thisOption.Equals(otherOption);
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1370internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
139else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
125if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 129if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 130existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
126else if (!result.Value.Equals(value))
src\Dependencies\Collections\SegmentedHashSet`1.cs (1)
1370internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Options\OptionsTestHelpers.cs (1)
149return defaultValue.Equals(zero) ? Enum.ToObject(type, 1) : zero;
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Options\NamingStylePreferencesTests.cs (1)
32NamingStylePreferences.FromXElement(XElement.Parse(NamingStylePreferences.DefaultNamingPreferencesString)).Equals(
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (1)
106if (pi1.Equals(pi2))
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
118private static bool AreTypesEqualForConversion(CType pType1, CType pType2) => pType1.Equals(pType2);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (5)
315if (typeDst.Equals(typeSrc)) 317Debug.Assert(typeDst.Equals(SubstType(typeSrc, typeArgsCls, typeArgsMeth, denormMeth))); 329if (taDst == taSrc || (taDst != null && taDst.Equals(taSrc))) 364if (typeDst == typeSrc || typeDst.Equals(typeSrc)) 462if (type == typeFind || type.Equals(typeFind))
Microsoft.DotNet.XUnitAssert.Tests (1)
EqualityAssertsTests.cs (1)
4365 obj is BaseClass || base.Equals(obj);
Microsoft.Extensions.DependencyInjection (5)
ServiceLookup\CallSiteFactory.cs (4)
289!KeyedService.AnyKey.Equals(cacheKey.ServiceKey) && 706return key1.Equals(key2) 707|| key1.Equals(KeyedService.AnyKey) 708|| key2.Equals(KeyedService.AnyKey);
ServiceLookup\ServiceIdentifier.cs (1)
39return ServiceType == other.ServiceType && ServiceKey.Equals(other.ServiceKey);
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
25if (!other.TryGetValue(kvp.Key, out var value) || !kvp.Value.Equals(value))
Microsoft.Maui (11)
Converters\EasingTypeConverter.cs (11)
60 _ when easing.Equals(Linear) => nameof(Linear), 61 _ when easing.Equals(SinIn) => nameof(SinIn), 62 _ when easing.Equals(SinOut) => nameof(SinOut), 63 _ when easing.Equals(SinInOut) => nameof(SinInOut), 64 _ when easing.Equals(CubicIn) => nameof(CubicIn), 65 _ when easing.Equals(CubicOut) => nameof(CubicOut), 66 _ when easing.Equals(CubicInOut) => nameof(CubicInOut), 67 _ when easing.Equals(BounceIn) => nameof(BounceIn), 68 _ when easing.Equals(BounceOut) => nameof(BounceOut), 69 _ when easing.Equals(SpringIn) => nameof(SpringIn), 70 _ when easing.Equals(SpringOut) => nameof(SpringOut),
Microsoft.Maui.Controls (9)
CompareStateTrigger.cs (1)
79 return value2.Equals(value1);
Interactivity\BindingCondition.cs (2)
71 if ((other == Value) || (other != null && other.Equals(Value))) 80 return (other == converted) || (other != null && other.Equals(converted));
Interactivity\PropertyCondition.cs (2)
95 bool newState = (newvalue == Value) || (newvalue != null && newvalue.Equals(Value)); 116 bool newstate = (newvalue == Value) || (newvalue != null && newvalue.Equals(Value));
MessagingCenter.cs (1)
49 if (subscriber.Equals(delegateSource))
Routing.cs (1)
255 if (s_routes.TryGetValue(route, out existingRegistration) && !existingRegistration.Equals(routeFactory))
VisualStateManager.cs (2)
668 if (!Setters[i].Equals(other.Setters[i])) 671 if (!StateTriggers[i].Equals(other.StateTriggers[i]))
Microsoft.Maui.Controls.BindingSourceGen (1)
PathPart.cs (1)
41 && Index.Equals(indexAccess.Index)
Microsoft.Maui.Controls.Maps (2)
Map.cs (1)
353 if (pin.BindingContext?.Equals(itemToRemove) == true)
Pin.cs (1)
81 /// <inheritdoc cref="object.Equals(object)"/>
Microsoft.Maui.Essentials (1)
Types\Location.shared.cs (1)
251 /// <inheritdoc cref="object.Equals(object)"/>
Microsoft.Maui.Graphics (1)
Color.cs (1)
107 return base.Equals(obj);
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvasState.cs (1)
211 if (!ReferenceEquals(_font, value) && (_font is null || !_font.Equals(value)))
Microsoft.ML.AutoML (3)
AutoMLExperiment\IStopTrainingManager.cs (3)
143if (_managers.Exists(manager.Equals)) 152if (_managers.Exists(manager.Equals)) 154_managers.RemoveAll(manager.Equals);
Microsoft.ML.AutoML.Tests (16)
SweeperTests.cs (16)
187Assert.False(value1.Equals((object)value2)); 188Assert.True(value1.Equals((object)value1)); 189Assert.True(value1.Equals((object)duplicateValue1)); 193Assert.False(value1.Equals((object)null)); 194Assert.False(value1.Equals(new object())); 210Assert.False(value1.Equals((object)value2)); 211Assert.True(value1.Equals((object)value1)); 212Assert.True(value1.Equals((object)duplicateValue1)); 216Assert.False(value1.Equals((object)null)); 217Assert.False(value1.Equals(new object())); 233Assert.False(value1.Equals((object)value2)); 234Assert.True(value1.Equals((object)value1)); 235Assert.True(value1.Equals((object)duplicateValue1)); 239Assert.False(value1.Equals((object)null)); 240Assert.False(value1.Equals(new object())); 254Assert.False(parameterSet.Equals(null));
Microsoft.ML.Core (11)
CommandLine\CmdParser.cs (5)
1700else if (Unique && val.Values.Any(x => x.Value.Equals(newValue))) 1958else if (def == null || !value.Equals(def)) 1983if (!vals[i].Equals(defs[i])) 2057else if (def == null || !value.Equals(def)) 2082if (!vals[i].Equals(defs[i]))
EntryPoints\EntryPointUtils.cs (1)
78equalToDefault = fieldType.IsValueType ? Activator.CreateInstance(fieldType).Equals(fieldVal) : fieldVal == null;
Utilities\FuncInstanceMethodInfo1`3.cs (1)
48/// <see cref="object.Equals(object)"/> method:
Utilities\FuncInstanceMethodInfo1`4.cs (1)
49/// <see cref="object.Equals(object)"/> method:
Utilities\FuncInstanceMethodInfo2`4.cs (1)
49/// <see cref="object.Equals(object)"/> method:
Utilities\FuncInstanceMethodInfo3`3.cs (1)
48/// <see cref="object.Equals(object)"/> method:
Utilities\FuncInstanceMethodInfo3`4.cs (1)
49/// <see cref="object.Equals(object)"/> method:
Microsoft.ML.Data (2)
EntryPoints\InputBuilder.cs (1)
273else if (instanceVal != null && (attr.Input.IsRequired || !instanceVal.Equals(defaultsVal)))
Evaluators\EvaluatorUtils.cs (1)
507if (def.Equals(default(T)))
Microsoft.ML.Ensemble (1)
Selector\SubModelSelector\BaseBestPerformanceSelector.cs (1)
61if (value.Equals(valCur))
Microsoft.ML.Tests (1)
CollectionsDataViewTest.cs (1)
51return x.Equals(y);
Microsoft.ML.Transforms (1)
GroupTransform.cs (1)
413result = oldValue.Equals(newValue);
Microsoft.Net.Http.Headers (1)
HeaderUtilities.cs (1)
125if (((comparer == null) && xItem.Equals(yItem)) ||
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
228If pi1.Equals(pi2) Then
Microsoft.VisualStudio.LanguageServices (10)
InheritanceMargin\InheritanceMarginTaggerProvider.cs (2)
66option.Equals(InheritanceMarginOptionsStorage.ShowInheritanceMargin) || 67option.Equals(InheritanceMarginOptionsStorage.InheritanceMarginCombinedWithIndicatorMargin)));
InheritanceMargin\InheritanceMarginViewMargin.cs (2)
128option.Equals(InheritanceMarginOptionsStorage.ShowInheritanceMargin) || 129option.Equals(InheritanceMarginOptionsStorage.InheritanceMarginCombinedWithIndicatorMargin)))
Options\LocalUserRegistryOptionPersister.cs (1)
54value = subKey.GetValue(key, defaultValue: (bool)optionKey.Option.DefaultValue! ? 1 : 0).Equals(1);
Progression\GraphProvider.cs (2)
329=> node[RoslynGraphProperties.DeclaredAccessibility].Equals(accessibility); 344=> typeKinds.Any(k => node[RoslynGraphProperties.TypeKind].Equals(k));
src\Compilers\Core\Portable\InternalUtilities\ConcurrentLruCache.cs (1)
126else if (!result.Value.Equals(value))
Utilities\EnumBoolConverter.cs (2)
22=> value?.Equals(parameter) ?? DependencyProperty.UnsetValue; 25=> value?.Equals(true) == true ? parameter : Binding.DoNothing;
Microsoft.VisualStudio.LanguageServices.LiveShare (2)
Client\RemoteLanguageServiceWorkspace.cs (2)
157if (IsRemoteSession && (!_remoteWorkspaceRootPaths.Equals(remoteRootPaths) || !_registeredExternalPaths.Equals(externalPaths)))
Microsoft.VisualStudio.LanguageServices.UnitTests (7)
CodeModel\VisualBasic\FileCodeModelTests.vb (2)
1020Dim changeDocument = changedworkspace.CurrentSolution.GetDocument(changedworkspace.Documents.First(Function(d) d.Name.Equals("File1.vb")).Id) 1036changeDocument = changedworkspace.CurrentSolution.GetDocument(changedworkspace.Documents.First(Function(d) d.Name.Equals("File2.vb")).Id)
CommonControls\MemberSelectionViewModelTests.vb (2)
159Dim member = memberArray.FirstOrDefault(Function(memberViewModel) memberViewModel.SymbolName.Equals(name)) 187Function(member) New MemberSymbolViewModel(member, glyphService:=Nothing) With {.IsChecked = member.Equals(memberSymbol), .IsCheckable = True, .MakeAbstract = False})
MoveStaticMembers\MoveStaticMembersViewModelTest.vb (1)
55Dim member = memberArray.FirstOrDefault(Function(memberViewModel) memberViewModel.Symbol.Name.Equals(name))
PullMemberUp\PullMemberUpViewModelTest.vb (2)
231Dim member = memberArray.FirstOrDefault(Function(memberViewModel) memberViewModel.SymbolName.Equals(name)) 260Function(member) New MemberSymbolViewModel(member, glyphService:=Nothing) With {.IsChecked = member.Equals(memberSymbol), .IsCheckable = True, .MakeAbstract = False})
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\VisualBasicCodeModelService.vb (4)
1717If [option].Equals(optionNode) Then 1734If [inherits].Equals(inheritsNode) Then 1751If [implements].Equals(implementsNode) Then 1768If attribute.Equals(attributeNode) Then
PresentationCore (17)
MS\Internal\DpiScale2.cs (1)
180areEqual = base.Equals(obj);
MS\Internal\DpiUtil\DpiUtil+DpiAwarenessScope.cs (2)
173dpiAwarenessContext.Equals(DpiAwarenessContextValue.Unaware) || 174dpiAwarenessContext.Equals(DpiAwarenessContextValue.SystemAware);
MS\Internal\Ink\ExtendedProperty.cs (2)
68if (!array1.GetValue(i).Equals(array2.GetValue(i))) 79return that.Value.Equals(this.Value);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
291return base.Equals(o);
System\Windows\Ink\DrawingAttributes.cs (6)
825if (!defaultValueIfDrawingAttribute.Equals(args.NewProperty.Value)) 855if (!args.NewProperty.Value.Equals(args.OldProperty.Value)) 868if (!args.NewProperty.Value.Equals(args.OldProperty.Value)) 899if (defaultValue.Equals(value)) 911if (!o.Equals(value)) 923if (defaultValue == null || !defaultValue.Equals(value))
System\Windows\Media\Animation\KeyTime.cs (1)
172/// Implementation of <see cref="System.Object.Equals(object)">Object.Equals</see>.
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
98if (t.Equals(item))
System\Windows\Media\FamilyMapCollection.cs (1)
343if (_items[i].Equals(item))
System\Windows\Media\FamilyTypeface.cs (1)
251/// <see cref="object.Equals(object)"/>
System\Windows\Media\FontFamily.cs (1)
288return base.Equals(o);
PresentationFramework (20)
MS\Internal\AppModel\BamlStream.cs (1)
172return _stream.Equals(obj);
MS\Internal\Navigation\BindStream.cs (1)
247return _stream.Equals(obj);
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
238if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
200if (value.Equals(currentValue))
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
314if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\ComponentResourceKey.cs (1)
107((key._resourceId != null) ? key._resourceId.Equals(this._resourceId) : (this._resourceId == null));
System\Windows\Controls\Grid.cs (1)
3560/// <see cref="object.Equals(object)"/>
System\Windows\Controls\TreeView.cs (1)
428if ((selectedItem != null) && selectedItem.Equals(e.OldItems[0]))
System\Windows\Controls\TreeViewItem.cs (1)
967if ((selectedItem != null) && selectedItem.Equals(e.OldItems[0]))
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
145if (currentValue.Equals(newValue))
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
264return other != null && other.Key.Equals(Key);
System\Windows\Standard\Debug.cs (4)
75if (null != actual && !actual.Equals(expected)) 80else if (!expected.Equals(actual)) 99if (null == actual || actual.Equals(notExpected)) 104else if (notExpected.Equals(actual))
System\Windows\Standard\Verify.cs (4)
187if (null != actual && !actual.Equals(expected)) 192else if (!expected.Equals(actual)) 204if (null == actual || actual.Equals(notExpected)) 209else if (notExpected.Equals(actual))
System\Windows\Style.cs (1)
922return (a != null) ? a.Equals(b) : (b == null);
PresentationUI (28)
MS\Internal\Documents\Application\StreamProxy.cs (1)
240return _proxy.Equals(obj);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
197if (writingPart.Equals(this))
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
292if (writer.Equals(this))
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (24)
1312if (e.Command.Equals(ApplicationCommands.Save)) 1325else if (e.Command.Equals(ApplicationCommands.SaveAs)) 1331else if (e.Command.Equals(ApplicationCommands.Properties)) 1337else if (e.Command.Equals(DocumentApplicationDocumentViewer.FocusToolBar)) 1367if (e.Command.Equals(ApplicationCommands.Save)) 1382else if (e.Command.Equals(ApplicationCommands.SaveAs)) 1390else if (e.Command.Equals(ApplicationCommands.Properties)) 1398else if (e.Command.Equals(DocumentApplicationDocumentViewer.FocusToolBar)) 1422if (e.Command.Equals(NavigationCommands.FirstPage)) 1427else if (e.Command.Equals(NavigationCommands.LastPage)) 1448if (e.Command.Equals(NavigationCommands.FirstPage)) 1452else if (e.Command.Equals(NavigationCommands.LastPage)) 1474if (e.Command.Equals(DocumentApplicationDocumentViewer.Sign)) 1478else if (e.Command.Equals(DocumentApplicationDocumentViewer.RequestSigners)) 1482else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowSignatureSummary)) 1510if (e.Command.Equals(DocumentApplicationDocumentViewer.Sign)) 1514else if (e.Command.Equals(DocumentApplicationDocumentViewer.RequestSigners)) 1518else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowSignatureSummary)) 1568if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPermissions)) 1572else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMCredentialManager)) 1576else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPublishingUI)) 1604if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMCredentialManager)) 1608else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPermissions)) 1615else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPublishingUI))
MS\Internal\Documents\DocumentSignatureManager.cs (1)
668if (!signature.Equals(digSig) &&
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
72if (List[i].Equals(value))
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
49if (modifiers[i].Equals(value))
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
49if (modifiers[i].Equals(value))
System.Collections (4)
System\Collections\Generic\SortedDictionary.cs (2)
39kv.keyComparer.Equals(keyValuePairComparer.keyComparer)) 857return this.keyComparer == other.keyComparer || this.keyComparer.Equals(other.keyComparer);
System\Collections\Generic\SortedSet.cs (1)
839return Comparer == other.Comparer || Comparer.Equals(other.Comparer);
System\Collections\StructuralComparisons.cs (1)
32return x.Equals(y);
System.Collections.Immutable (11)
System\Collections\Frozen\FrozenDictionary.cs (3)
79if (source is FrozenDictionary<TKey, TValue> fd && fd.Comparer.Equals(comparer)) 88if (newDictionary is null || (newDictionary.Count != 0 && !newDictionary.Comparer.Equals(comparer))) 108Debug.Assert(newDictionary.Comparer.Equals(comparer));
System\Collections\Frozen\FrozenSet.cs (3)
68if (source is FrozenSet<T> fs && fs.Comparer.Equals(comparer)) 78(newSet.Count != 0 && !newSet.Comparer.Equals(comparer))) 91Debug.Assert(newSet.Comparer.Equals(comparer));
System\Collections\Frozen\FrozenSetInternalBase.cs (5)
163HashSet<T> hs => _thisSet.Comparer.Equals(hs.Comparer), 164SortedSet<T> sortedSet => _thisSet.Comparer.Equals(sortedSet.Comparer), 165ImmutableHashSet<T> ihs => _thisSet.Comparer.Equals(ihs.KeyComparer), 166ImmutableSortedSet<T> iss => _thisSet.Comparer.Equals(iss.KeyComparer), 167FrozenSet<T> fs => _thisSet.Comparer.Equals(fs.Comparer),
System.Collections.NonGeneric (2)
System\Collections\Queue.cs (1)
230else if (_array[index] != null && _array[index]!.Equals(obj))
System\Collections\Stack.cs (1)
105else if (_array[count] != null && _array[count]!.Equals(obj))
System.Collections.Specialized (7)
System\Collections\Specialized\ListDictionary.cs (5)
42if (oldKey.Equals(key)) 73if ((comparer == null) ? oldKey.Equals(key) : comparer.Compare(oldKey, key) == 0) 161if ((comparer == null) ? oldKey.Equals(key) : comparer.Compare(oldKey, key) == 0) 196if ((comparer == null) ? oldKey.Equals(key) : comparer.Compare(oldKey, key) == 0) 240if ((comparer == null) ? oldKey.Equals(key) : comparer.Compare(oldKey, key) == 0)
System\Collections\Specialized\OrderedDictionary.cs (2)
298if (o.Equals(key)) 614else if (entryKey.Equals(value))
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\AllowedValuesAttribute.cs (1)
48if (allowed is null ? value is null : allowed.Equals(value))
System\ComponentModel\DataAnnotations\DeniedValuesAttribute.cs (1)
48if (denied is null ? value is null : denied.Equals(value))
System.ComponentModel.Composition (7)
Microsoft\Internal\Collections\CollectionServices.cs (2)
236if (!thisArray[i]!.Equals(thatArray[i])) 254if (!thisList[i]!.Equals(thatList[i]))
System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs (1)
1002return _part.Equals(part);
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
122return value.Equals(untypedValue);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
538return obj is GenericSpecializationPartCreationInfo that && (_originalPartCreationInfo.Equals(that._originalPartCreationInfo)) &&
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (2)
170if (candidatePart.Equals(previousPart)) 333return obj is ReflectionComposablePartDefinition that && _creationInfo.Equals(that._creationInfo);
System.ComponentModel.TypeConverter (8)
System\ComponentModel\AmbientValueAttribute.cs (1)
164return Value != null ? Value.Equals(other.Value) : other.Value == null;
System\ComponentModel\AttributeCollection.cs (1)
80if (newArray[existingIdx].TypeId.Equals(newAttributes[idx].TypeId))
System\ComponentModel\BindingList.cs (1)
499if (pos < 0 || pos >= Count || !this[pos]!.Equals(item))
System\ComponentModel\ComponentResourceManager.cs (1)
116if (resources == null || (resources.Comparer.Equals(StringComparer.OrdinalIgnoreCase) != IgnoreCase))
System\ComponentModel\ExtenderProvidedPropertyAttribute.cs (1)
78&& other.Provider!.Equals(Provider)
System\ComponentModel\TypeConverter.cs (1)
393return attr.Value!.Equals(GetValue(component));
System\ComponentModel\TypeDescriptor.cs (1)
2934if (newArray[existingIdx].TypeId.Equals(newAttrs[idx].TypeId))
System\ComponentModel\TypeListConverter.cs (1)
55if (value.Equals(t.FullName))
System.Composition.Hosting (1)
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (1)
94if (step.Target.Equals(dependency.Target))
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
207else if (!firstItem.Value.Equals(secondValue))
System.Configuration.ConfigurationManager (3)
System\Configuration\BaseConfigurationRecord.cs (1)
3544if (lastVersion != null) return (currentVersion == null) || !lastVersion.Equals(currentVersion);
System\Configuration\ConfigurationElementCollection.cs (1)
1205return key1.Equals(key2);
System\Configuration\ValidatorUtils.cs (1)
46if (min.Equals(max))
System.Data.Common (13)
System\Data\Common\DBCommandBuilder.cs (1)
953|| ((null != originalValue) && originalValue.Equals(currentValue)))
System\Data\Common\DbConnectionStringBuilder.cs (1)
323if (!connectionStringBuilder.CurrentValues.TryGetValue(entry.Key, out value) || !entry.Value.Equals(value))
System\Data\ConstraintCollection.cs (1)
507if (((Constraint)List[i]!).Equals(constraint))
System\Data\DataColumn.cs (1)
674if (_defaultValue == null || !DefaultValue.Equals(value))
System\Data\DataKey.cs (1)
118if (column1[i].Equals(column2[j]))
System\Data\DataRow.cs (2)
1244if (!value.Equals(keyValues[i])) 1447Debug.Assert(valueFromStorage.Equals(column.DataExpression.Evaluate(this, version)),
System\Data\DataRowComparer.cs (2)
33return (a.Equals(b) || (a.GetType().IsArray && CompareArray((Array)a, b as Array))); 49return a.Equals(b);
System\Data\DataRowView.cs (1)
27/// <see cref="object.Equals(object)"/> instead of <see cref="object.ReferenceEquals"/>
System\Data\DataView.cs (1)
1743retval &= (rows[j].Equals(objectArray[j]));
System\Data\RbTree.cs (1)
1299else if (!Key(nodeId)!.Equals(key))
System\Xml\XmlDataDocument.cs (1)
2405if (!oVal.Equals(row[col]))
System.Diagnostics.DiagnosticSource (8)
System\Diagnostics\Metrics\ObjectSequence.cs (7)
22return Value1 is null ? other.Value1 is null : Value1.Equals(other.Value1); 45return (Value1 is null ? other.Value1 is null : Value1.Equals(other.Value1)) && 46(Value2 is null ? other.Value2 is null : Value2.Equals(other.Value2)); 71return (Value1 is null ? other.Value1 is null : Value1.Equals(other.Value1)) && 72(Value2 is null ? other.Value2 is null : Value2.Equals(other.Value2)) && 73(Value3 is null ? other.Value3 is null : Value3.Equals(other.Value3)); 108else if (!value.Equals(otherValue))
System\Diagnostics\Metrics\TagList.netcore.cs (1)
282if (item.Key == tags[i].Key && item.Value.Equals(tags[i].Value))
System.Diagnostics.TraceSource (1)
System\Diagnostics\CorrelationManager.cs (1)
79else if (obj.Equals(n.Value))
System.Linq (3)
System\Linq\Utilities.cs (3)
34return right == defaultComparer || right!.Equals(defaultComparer); 39return left == defaultComparer || left.Equals(defaultComparer); 42return left.Equals(right);
System.Linq.Expressions (3)
System\Dynamic\Utils\CacheDict.cs (2)
59if (entry != null && entry._hash == hash && entry._key.Equals(key)) 79if (entry == null || entry._hash != hash || !entry._key.Equals(key))
System\Linq\Expressions\Interpreter\TypeOperations.cs (1)
203frame.Push(obj.Equals(other));
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\HashLookup.cs (1)
73((key1 == null && key2 == null) || (key1 != null && key1.Equals(key2))) :
System.Net.Http (4)
System\Net\Http\Headers\HeaderUtilities.cs (1)
216if (((comparer == null) && xItem.Equals(yItem)) ||
System\Net\Http\Headers\HttpHeaders.cs (1)
1261return value.Equals(storeValue);
System\Net\Http\Headers\ObjectCollection.cs (2)
92_items is T o ? o.Equals(item) : 120if (o.Equals(item))
System.Net.Sockets (4)
System\Net\Sockets\Socket.cs (4)
2679if (!remoteEP.Equals(resultEp)) remoteEP = resultEp; 2697if (!endPoint.Equals(result.RemoteEndPoint)) 2720if (!remoteEP.Equals(resultEp)) remoteEP = resultEp; 2737if (!endPoint.Equals(result.RemoteEndPoint))
System.ObjectModel (1)
System\Collections\Specialized\NotifyCollectionChangedEventArgs.cs (1)
352public bool Contains(object? value) => _item is null ? value is null : _item.Equals(value);
System.Private.CoreLib (202)
src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
1392if (obj != null && obj.Equals(value)) 1462if (obj.Equals(value)) 1619if (obj != null && obj.Equals(value)) 1689if (obj.Equals(value))
src\libraries\System.Private.CoreLib\src\System\Attribute.cs (1)
130if (!thisValue.Equals(thatValue))
src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
879if (_list[i] is object o && o.Equals(value)) 947if (_list[i] is object o && o.Equals(value)) 2271if (_baseList[_baseIndex + i] is object o && o.Equals(item))
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (2)
124if (y != null) return x.Equals(y); 193if (y != null) return x.Equals(y);
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\ReferenceEqualityComparer.cs (1)
10/// instead of value equality (<see cref="object.Equals(object?)"/>) when comparing two object instances.
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
524if (val != null && val.Equals(value)) 801return item == null ? false : item.Equals(key);
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (5)
38if (node.key.Equals(key)) 55if (node.key.Equals(key)) 105if (node.key.Equals(key)) 140if (node.key.Equals(key)) 186if (node.key.Equals(key))
src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (1)
276return Value.Equals(other.Value);
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
82/// <inheritdoc cref="object.Equals(object?)" />
src\libraries\System.Private.CoreLib\src\System\Object.cs (1)
63return objA.Equals(objB);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
180public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
43public override bool Equals(object? obj) => base.Equals(obj);
src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
145public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
32public override bool Equals(object? o) => base.Equals(o);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (155)
399if (value0.Equals(lookUp) || value1.Equals(lookUp)) 402if (value0.Equals(lookUp) || value1.Equals(lookUp)) 405if (value0.Equals(lookUp) || value1.Equals(lookUp)) 408if (value0.Equals(lookUp) || value1.Equals(lookUp)) 411if (value0.Equals(lookUp) || value1.Equals(lookUp)) 414if (value0.Equals(lookUp) || value1.Equals(lookUp)) 417if (value0.Equals(lookUp) || value1.Equals(lookUp)) 420if (value0.Equals(lookUp) || value1.Equals(lookUp)) 429if (value0.Equals(lookUp) || value1.Equals(lookUp)) 432if (value0.Equals(lookUp) || value1.Equals(lookUp)) 435if (value0.Equals(lookUp) || value1.Equals(lookUp)) 438if (value0.Equals(lookUp) || value1.Equals(lookUp)) 447if (value0.Equals(lookUp) || value1.Equals(lookUp)) 465else if (lookUp.Equals(value0) || lookUp.Equals(value1)) 505if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 508if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 511if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 514if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 517if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 520if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 523if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 526if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 535if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 538if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 541if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 544if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 553if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 571else if (lookUp.Equals(value0) || lookUp.Equals(value1) || lookUp.Equals(value2)) 805if (value0.Equals(lookUp) || value1.Equals(lookUp)) 808if (value0.Equals(lookUp) || value1.Equals(lookUp)) 811if (value0.Equals(lookUp) || value1.Equals(lookUp)) 814if (value0.Equals(lookUp) || value1.Equals(lookUp)) 817if (value0.Equals(lookUp) || value1.Equals(lookUp)) 820if (value0.Equals(lookUp) || value1.Equals(lookUp)) 823if (value0.Equals(lookUp) || value1.Equals(lookUp)) 826if (value0.Equals(lookUp) || value1.Equals(lookUp)) 835if (value0.Equals(lookUp) || value1.Equals(lookUp)) 838if (value0.Equals(lookUp) || value1.Equals(lookUp)) 841if (value0.Equals(lookUp) || value1.Equals(lookUp)) 844if (value0.Equals(lookUp) || value1.Equals(lookUp)) 853if (value0.Equals(lookUp) || value1.Equals(lookUp)) 869else if (lookUp.Equals(value0) || lookUp.Equals(value1)) 910if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 913if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 916if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 919if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 922if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 925if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 928if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 931if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 940if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 943if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 946if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 949if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 958if (value0.Equals(lookUp) || value1.Equals(lookUp) || value2.Equals(lookUp)) 974else if (lookUp.Equals(value0) || lookUp.Equals(value1) || lookUp.Equals(value2)) 1209if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1213if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1217if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1221if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1225if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1229if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1233if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1237if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1249if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1253if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1257if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1261if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 1271if (!(lookUp0?.Equals(lookUp1) ?? (object?)lookUp1 is null)) 3067Unsafe.Add(ref dst, idx) = oldValue.Equals(original) ? newValue : original; 3752if (value.Equals(current))
src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (1)
192return x.Equals(y);
src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
1055(EncoderFallback.Equals(that.EncoderFallback)) && 1056(DecoderFallback.Equals(that.DecoderFallback));
src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (2)
1796(EncoderFallback.Equals(that.EncoderFallback)) && 1797(DecoderFallback.Equals(that.DecoderFallback));
src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (2)
1143(EncoderFallback.Equals(that.EncoderFallback)) && 1144(DecoderFallback.Equals(that.DecoderFallback));
src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (2)
103(EncoderFallback.Equals(that.EncoderFallback)) && 104(DecoderFallback.Equals(that.DecoderFallback));
src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
882(EncoderFallback.Equals(that.EncoderFallback)) && 883(DecoderFallback.Equals(that.DecoderFallback));
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
84/// <inheritdoc cref="object.Equals(object?)" />
src\System\Collections\Generic\EqualityComparer.CoreCLR.cs (4)
32if (array[i] != null && array[i]!.Equals(value)) return i; 52if (array[i] != null && array[i]!.Equals(value)) return i; 118if (array[i] != null && array[i]!.Equals(value)) return i; 138if (array[i] != null && array[i]!.Equals(value)) return i;
src\System\Delegate.CoreCLR.cs (1)
136return _methodBase.Equals(d._methodBase);
src\System\MulticastDelegate.CoreCLR.cs (2)
107if (!_invocationList!.Equals(d._invocationList)) 318if (!a[start + i].Equals(b[i]))
src\System\RuntimeType.CoreCLR.cs (2)
4406Debug.Assert(!hit.Equals(key), "Key was already in CerHashtable! Potential race condition (or bug) in the Reflection cache?"); 4480if (hit.Equals(key))
src\System\ValueType.cs (1)
62if (!thisResult.Equals(thatResult))
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
233|| (memberValue != null && memberValue.Equals(defaultValue)))
System\Runtime\Serialization\ReflectionXmlFormatWriter.cs (1)
167|| (memberValue != null && memberValue.Equals(defaultValue)))
System\Xml\XmlBinaryWriterSession.cs (1)
135if (_list[i].Key.Equals(key))
System.Private.Xml (11)
System\Xml\Schema\ConstraintStruct.cs (5)
359return atomicValues1.Length == 1 && atomicValues1.GetValue(0)!.Equals(other.Value); 364return arr1.Length == 1 && arr1.GetValue(0)!.Equals(other.Value); 374return atomicValues2.Length == 1 && atomicValues2.GetValue(0)!.Equals(this.Value); 379return arr2.Length == 1 && arr2.GetValue(0)!.Equals(this.Value); 384return this.Value!.Equals(other.Value);
System\Xml\Serialization\ReflectionXmlSerializationWriter.cs (1)
1061return value.Equals(o);
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (3)
5385return ExtractLiteralValue(ndLiteral).Equals(ExtractLiteralValue(ndDest)); 5446return litLeft.Equals(litRight) ? f.True() : f.False(); 5449return litLeft.Equals(litRight) ? f.False() : f.True();
System\Xml\Xsl\ListBase.cs (1)
41if (value!.Equals(this[i]))
System\Xml\Xsl\QIL\QilNode.cs (1)
197if (node.Equals(this[i]))
System.Reflection.Context (2)
System\Reflection\Context\CollectionServices.cs (1)
22if (!left[i].Equals(right[i]))
System\Reflection\Context\Projection\ProjectingParameterInfo.cs (1)
67UnderlyingParameter.Equals(other.UnderlyingParameter);
System.Runtime.Serialization.Schema (3)
System\Runtime\Serialization\Schema\CodeExporter.cs (3)
550if (!xmlContract.Equals(_dataContractSet.GetDataContract(type))) 563if (referencedContract.Equals(dataContract)) 575if (referencedContract != null && !referencedContract.Equals(dataContract))
System.Security.Cryptography (5)
System\Security\Cryptography\DSAWrapper.cs (1)
153public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (2)
155public override bool Equals(object? obj) => _wrapped.Equals(obj); 209public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\ECDsaWrapper.cs (1)
178public override bool Equals(object? obj) => _wrapped.Equals(obj);
System\Security\Cryptography\RSAWrapper.cs (1)
218public override bool Equals(object? obj) => _wrapped.Equals(obj);
System.Security.Permissions (21)
System\Security\CodeAccessPermission.cs (1)
17public override bool Equals(object obj) => base.Equals(obj);
System\Security\Permissions\StrongNamePublicKeyBlob.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\AllMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ApplicationDirectory.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ApplicationDirectoryMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\CodeConnectAccess.cs (1)
17public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\CodeGroup.cs (1)
22public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\GacInstalled.cs (1)
14public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\GacMembershipCondition.cs (1)
11public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\HashMembershipCondition.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\PolicyStatement.cs (1)
23public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Publisher.cs (1)
17public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\PublisherMembershipCondition.cs (1)
14public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Site.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\SiteMembershipCondition.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\StrongName.cs (1)
19public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\StrongNameMembershipCondition.cs (1)
19public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\Url.cs (1)
15public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\UrlMembershipCondition.cs (1)
12public override bool Equals(object obj) => base.Equals(obj);
System\Security\Policy\Zone.cs (1)
16public override bool Equals(object o) => base.Equals(o);
System\Security\Policy\ZoneMembershipCondition.cs (1)
12public override bool Equals(object o) => base.Equals(o);
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
171Debug.Assert(typeDiscriminator.Equals(result.TypeDiscriminator));
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\MatchingState.cs (1)
172obj is MatchingState<TSet> s && PrevCharKind == s.PrevCharKind && Node.Equals(s.Node);
System.Text.RegularExpressions.Generator (1)
RegexGenerator.cs (1)
373? leftElem.Equals(right[i])
System.Transactions.Local (3)
System\Transactions\TransactionManager.cs (1)
231(tm.NodeName != null && tm.NodeName.Equals(nodeName))))
System\Transactions\TransactionScope.cs (2)
548if (!Equals(actualCurrentScope)) 623while (!Equals(actualCurrentScope))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1362if (_firstGalleryItem != null && _firstGalleryItem.IsAlive && _firstGalleryItem.Target.Equals(item)) 1373if (_firstGalleryItem != null && _firstGalleryItem.IsAlive && _firstGalleryItem.Target.Equals(item))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
113return content.Equals(ribbonToolTip.Title);
System.Windows.Forms (38)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
39foreach (AssemblyName assemblyName in _names.Where(an => an.Equals(name)))
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2017if (!childID.Equals((int)PInvoke.CHILDID_SELF))
System\Windows\Forms\ComponentModel\COM2Interop\Com2IPerPropertyBrowsingHandler.Com2IPerPropertyEnumConverter.cs (1)
27if (currentValue == value || (currentValue is not null && currentValue.Equals(value)))
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
455if ((value is Entry itemEntry && entry == itemEntry) || entry.Item.Equals(value))
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
9696|| (currentFormattedValue is not null && !_uneditedFormattedValue!.Equals(currentFormattedValue)))
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonColumn.cs (1)
222!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
3943(originalValue is not null && !originalValue.Equals(value))))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (3)
579if (value.Equals(TrueValue)) 583else if (value.Equals(FalseValue)) 587else if (ThreeState && value.Equals(IndeterminateValue))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxColumn.cs (2)
305!defaultNullValue.Equals(defaultCellStyle.NullValue) || 308!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
221!defaultCellStyle.FormatProvider.Equals(CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1434if (key.Equals(value)) 1461if (displayValue is null || !displayValue.Equals(key)) 1479if (displayValue is not null && displayValue.Equals(key)) 1495if (item is null || !item.Equals(key))
System\Windows\Forms\Controls\DataGridView\DataGridViewImageColumn.cs (2)
281!defaultNullValue.Equals(defaultCellStyle.NullValue) || 284!defaultCellStyle.FormatProvider.Equals(Globalization.CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
73if (value is null || value.Equals(SR.toStringNone))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
233else if ((@object is null && currentObject is null) || (@object is not null && @object.Equals(currentObject)))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.MultiMergeCollection.cs (1)
72(_items[i] is object item && !item.Equals(newItems[i])))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
371|| isValueType ? owner!.Equals(entry.GetValueOwner()) : owner == entry.GetValueOwner()) 561if (value is not null && value.Equals(oldValue))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
1728if (value is not null && currentValue is not null && currentValue.Equals(value)) 2445bool equal = (value == currentValue) || (value is not null && value.Equals(currentValue));
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1042if (_tabPages[i].Equals(tabPage))
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.StubSite.cs (1)
90if (value.Equals(o))
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
137if (value.Equals(Items[i]))
System\Windows\Forms\DataBinding\CurrencyManager.cs (1)
569if (key.Equals(value))
System\Windows\Forms\Dialogs\TaskDialog\TaskDialogButton.cs (1)
359return base.Equals(obj);
System\Windows\Forms\GiveFeedbackEventArgs.cs (1)
94|| (giveFeedbackEventArgs.DragImage is not null && giveFeedbackEventArgs.DragImage.Equals(DragImage)))
System\Windows\Forms\Internal\ItemArray.cs (1)
204if ((item is Entry itemEntry && entry == itemEntry) || entry.Item.Equals(item))
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
50if (all[i].Equals(active))
System\Windows\Forms\MDI\MdiWindowListStrip.cs (2)
108forms[i].Equals(activeMdiChild)) 122if (forms[i].Equals(activeMdiChild))
System\Windows\Forms\OLE\DragEventArgs.cs (1)
135&& dragEventArgs.Data.Equals(Data)
System\Windows\Forms\PropertyStore.cs (1)
160|| (value is not null && value.Equals(defaultValue));
System.Windows.Forms.Design (55)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1156if (!_value.Equals(nextValue))
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
69if ((standardValue is not null) && standardValue.Equals(Value))
System\ComponentModel\Design\DesignerActionService.cs (1)
359if (actionList.Equals(actionLists[i]))
System\ComponentModel\Design\DesignerActionUI.cs (1)
245if (_lastPanelComponent is not null && !_lastPanelComponent.Equals(ce.Component))
System\ComponentModel\Design\DesignerHost.Site.cs (1)
56if (value.Equals(o))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
1439result = left.Equals(right);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
224return parentValue is null || !parentValue.Equals(value) ? CompareValue.Different : CompareValue.Same;
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
601if (enterGlyph is not null && leaveGlyph.Equals(enterGlyph))
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (4)
95if (selSvc is not null && !_containerControl.Equals(selSvc.PrimarySelection as Control)) 115if (selNew.Equals(selOld)) 127if (behOld.ContainerControl.Equals(behNew.ContainerControl)) 223if (!ctrl.Parent.Equals(requiredParent))
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (3)
485if (!c.Equals(targetControl)) 509(targetControl.Parent.Equals(control))) 635if (currentParent.Equals(parent))
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (6)
253else if (!localDrag && currentControl.Parent.Equals(dragSource)) 340bool localDrag = dragSource.Equals(dragTarget); 627if (_data.Target.Equals(_data.Source) && _lastEffect != DragDropEffects.Copy) 641if (!_data.Target.Equals(_lastDropTarget)) 911if (bodyGlyphAdorner is not null && a.Equals(bodyGlyphAdorner)) 988if (primaryControl.Equals(_dragComponents[i].dragComponent as Control))
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
796if (control.Equals(targetControl))
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
124selType = parent.Equals(primarySelection) 381if (toRefresh.IsEmpty(g) && primarySelection is not null && !primarySelection.Equals(_previousPrimarySelection))
System\Windows\Forms\Design\Behavior\TableLayoutPanelBehavior.cs (1)
139if (CheckoutException.Canceled.Equals(checkoutException))
System\Windows\Forms\Design\CommandSet.cs (1)
2324if (obj.Equals(selPrimary))
System\Windows\Forms\Design\ComponentTray.cs (1)
2761if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).RelatedComponent.Equals(trayControl.Component))
System\Windows\Forms\Design\ControlDesigner.cs (3)
592if (child.Equals(nc.Components[i])) 1401if (TryGetService(out ISelectionService? selectionService) && !Component.Equals(selectionService.PrimarySelection)) 1422else if (!requiredParent.Equals(control.Parent))
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
214&& Component.Equals(_selectionService.PrimarySelection))
System\Windows\Forms\Design\DataMemberFieldConverter.cs (2)
16return value is not null && value.Equals(SR.None) ? string.Empty : value; 21return destinationType == typeof(string) && (value is null || value.Equals(string.Empty))
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (2)
643if (_primaryDragControl.Equals(_dragControls[j])) 672if (_primaryDragControl.Equals(_dragControls[i]))
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
1311return defaultValue.Equals(value); 1460newTarget = !(data.Source.Equals(Component)); // Check if we are moving to a new target
System\Windows\Forms\Design\SplitContainerDesigner.cs (1)
366if (bodyGlyphAdorner is not null && adorner.Equals(bodyGlyphAdorner))
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (6)
515else if (existingControl is not null && !existingControl.Equals(control)) 1454if (c is not null && c.Parent is not null && c.Parent.Equals(Control) && e.Member is not null && (e.Member.Name == "Row" || e.Member.Name == "Column")) 1656if (CheckoutException.Canceled.Equals(checkoutException)) 1769if (CheckoutException.Canceled.Equals(checkoutException)) 1919if (CheckoutException.Canceled.Equals(checkoutException)) 2024if (CheckoutException.Canceled.Equals(checkoutException))
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
548if ((!(e is CheckoutException checkoutException)) || (!checkoutException.Equals(CheckoutException.Canceled)))
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (4)
497bool showDesignMenu = IsContextMenuStripItemSelected(selectionService) || Component.Equals(selectionService.PrimarySelection); 522if (Component.Equals(selectionService.PrimarySelection) && _selected) 527bool showDesignMenu = IsContextMenuStripItemSelected(selectionService) || Component.Equals(selectionService.PrimarySelection); 735if (_selectionService is not null && Component.Equals(_selectionService.PrimarySelection))
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
919&& ToolStripItem.Equals(_selectionService.PrimarySelection) 983if (currentSelection is not null && currentSelection.Equals(ToolStripItem) && !(ToolStripItem is ToolStripMenuItem))
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
195if (MenuItem.Equals(_selectionService.PrimarySelection)) 1283if (checkoutException.Equals(CheckoutException.Canceled)) 2152if (MenuItem.Equals(selectionSvc.PrimarySelection)) 2520if (checkoutException.Equals(CheckoutException.Canceled))
System.Windows.Forms.Tests (8)
System\Windows\Forms\BindingContextTests.cs (6)
784Assert.True(entry1.Key.Equals(entry1.Key)); 785Assert.True(entry1.Key.Equals(entry2.Key)); 786Assert.False(entry1.Key.Equals(entry3.Key)); 787Assert.False(entry1.Key.Equals(entry4.Key)); 789Assert.False(entry1.Key.Equals(new object())); 790Assert.False(entry1.Key.Equals(null));
System\Windows\Forms\ComboBoxTests.cs (2)
2516Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem)); 2536Assert.True(comboBox.Items[comboBox.SelectedIndex].Equals(comboBox.SelectedItem));
System.Xaml (3)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
291return base.Equals(o);
System\Xaml\XamlObjectReader.cs (2)
490else if (dkpObject.Equals(entry.Key)) 3046return obj is Entry other && other.Key.Equals(Key);
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
107if (!a.GetValue(src).Equals(a.GetValue(dest)))
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
191return val.Equals(targetAttribute) ? new WindowsEditBoxRange(_provider, Start, End) : null;
xunit.assert (3)
Sdk\AssertHelper.cs (3)
668 var result = expected.Equals(actual); 672 result = converted.Equals(actual); 674 result = converted.Equals(expected);