1218 overrides of Equals
aspire (1)
Commands\DescribeCommand.cs (1)
414public override bool Equals(object? obj) => Equals(obj as ResourceDisplayState);
Aspire.Dashboard (80)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\DashboardService.cs (34)
346public override bool Equals(object other) { 538public override bool Equals(object other) { 980public override bool Equals(object other) { 1487public override bool Equals(object other) { 1874public override bool Equals(object other) { 2179public override bool Equals(object other) { 2481public override bool Equals(object other) { 2757public override bool Equals(object other) { 3086public override bool Equals(object other) { 3408public override bool Equals(object other) { 3684public override bool Equals(object other) { 4038public override bool Equals(object other) { 4360public override bool Equals(object other) { 4715public override bool Equals(object other) { 5388public override bool Equals(object other) { 6013public override bool Equals(object other) { 6228public override bool Equals(object other) { 6491public override bool Equals(object other) { 6743public override bool Equals(object other) { 6954public override bool Equals(object other) { 7203public override bool Equals(object other) { 7502public override bool Equals(object other) { 7771public override bool Equals(object other) { 7996public override bool Equals(object other) { 8326public override bool Equals(object other) { 8937public override bool Equals(object other) { 9483public override bool Equals(object other) { 9690public override bool Equals(object other) { 9971public override bool Equals(object other) { 10261public override bool Equals(object other) { 10461public override bool Equals(object other) { 10871public override bool Equals(object other) { 11505public override bool Equals(object other) { 11778public override bool Equals(object other) {
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 (6)
318public override bool Equals(object other) { 697public override bool Equals(object other) { 899public override bool Equals(object other) { 1110public override bool Equals(object other) { 1402public override bool Equals(object other) { 1733public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\logs\v1\Logs.cs (4)
214public override bool Equals(object other) { 445public override bool Equals(object other) { 734public override bool Equals(object other) { 1199public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
335public override bool Equals(object other) { 566public override bool Equals(object other) { 855public override bool Equals(object other) { 1346public override bool Equals(object other) { 1810public override bool Equals(object other) { 2038public override bool Equals(object other) { 2298public override bool Equals(object other) { 2534public override bool Equals(object other) { 2760public override bool Equals(object other) { 3112public override bool Equals(object other) { 3702public override bool Equals(object other) { 4414public override bool Equals(object other) { 4957public override bool Equals(object other) { 5298public override bool Equals(object other) { 5655public override bool Equals(object other) { 6029public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\resource\v1\Resource.cs (1)
150public override bool Equals(object other) {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\trace\v1\Trace.cs (7)
203public override bool Equals(object other) { 434public override bool Equals(object other) { 723public override bool Equals(object other) { 1284public override bool Equals(object other) { 1922public override bool Equals(object other) { 2291public override bool Equals(object other) { 2627public override bool Equals(object other) {
Model\SelectViewModel.cs (1)
32public override bool Equals(object? obj)
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 (36)
artifacts\obj\Aspire.Hosting\Debug\net8.0\Dashboard\proto\DashboardService.cs (34)
346public override bool Equals(object other) { 538public override bool Equals(object other) { 980public override bool Equals(object other) { 1487public override bool Equals(object other) { 1874public override bool Equals(object other) { 2179public override bool Equals(object other) { 2481public override bool Equals(object other) { 2757public override bool Equals(object other) { 3086public override bool Equals(object other) { 3408public override bool Equals(object other) { 3684public override bool Equals(object other) { 4038public override bool Equals(object other) { 4360public override bool Equals(object other) { 4715public override bool Equals(object other) { 5388public override bool Equals(object other) { 6013public override bool Equals(object other) { 6228public override bool Equals(object other) { 6491public override bool Equals(object other) { 6743public override bool Equals(object other) { 6954public override bool Equals(object other) { 7203public override bool Equals(object other) { 7502public override bool Equals(object other) { 7771public override bool Equals(object other) { 7996public override bool Equals(object other) { 8326public override bool Equals(object other) { 8937public override bool Equals(object other) { 9483public override bool Equals(object other) { 9690public override bool Equals(object other) { 9971public override bool Equals(object other) { 10261public override bool Equals(object other) { 10461public override bool Equals(object other) { 10871public override bool Equals(object other) { 11505public override bool Equals(object other) { 11778public override bool Equals(object other) {
Dcp\Model\ModelCommon.cs (1)
205public override bool Equals(object? obj)
Publishing\PublisherAdvertisementEvent.cs (1)
25public 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)
18public override bool Equals(object? obj)
dotnet (2)
Commands\Workload\WorkloadHistoryRecord.cs (1)
63public override bool Equals(object other)
ToolPackage\RestoredCommandIdentifier.cs (1)
42public override bool Equals(object obj)
dotnet-aot (1)
src\sdk\src\Cli\dotnet\ToolPackage\RestoredCommandIdentifier.cs (1)
42public 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)
GenerateDocumentationAndConfigFiles (10)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
253public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
ILCompiler.Compiler (6)
Compiler\Compilation.cs (1)
720public override bool Equals(object obj) =>
Compiler\Dataflow\ValueNode.cs (1)
37public override bool Equals(object? other)
Compiler\DelegateCreationInfo.cs (1)
319public override bool Equals(object obj)
Compiler\DependencyAnalysis\GenericLookupResult.cs (1)
82public sealed override bool Equals(object obj)
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
90public override bool Equals(object obj) => obj is not EventPseudoDesc @event ? false : this == @event;
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
85public override bool Equals(object obj) => obj is not PropertyPseudoDesc property ? false : this == property;
ILCompiler.DependencyAnalysisFramework (2)
DependencyNode.cs (1)
36public sealed override bool Equals(object obj)
FullGraphLogStrategy.cs (1)
55public override bool Equals(object obj)
ILCompiler.Diagnostics (1)
PdbWriter.cs (1)
49public override bool Equals(object other)
ILCompiler.MetadataTransform (80)
Internal\Metadata\NativeFormat\Writer\NativeFormatWriterGen.cs (63)
36public override sealed bool Equals(Object obj) 123public override sealed bool Equals(Object obj) 191public override sealed bool Equals(Object obj) 257public override sealed bool Equals(Object obj) 320public override sealed bool Equals(Object obj) 386public override sealed bool Equals(Object obj) 449public override sealed bool Equals(Object obj) 515public override sealed bool Equals(Object obj) 578public override sealed bool Equals(Object obj) 644public override sealed bool Equals(Object obj) 709public override sealed bool Equals(Object obj) 778public override sealed bool Equals(Object obj) 846public override sealed bool Equals(Object obj) 908public override sealed bool Equals(Object obj) 974public override sealed bool Equals(Object obj) 1037public override sealed bool Equals(Object obj) 1103public override sealed bool Equals(Object obj) 1166public override sealed bool Equals(Object obj) 1232public override sealed bool Equals(Object obj) 1295public override sealed bool Equals(Object obj) 1354public override sealed bool Equals(Object obj) 1420public override sealed bool Equals(Object obj) 1483public override sealed bool Equals(Object obj) 1549public override sealed bool Equals(Object obj) 1613public override sealed bool Equals(Object obj) 1678public override sealed bool Equals(Object obj) 1747public override sealed bool Equals(Object obj) 1813public override sealed bool Equals(Object obj) 1876public override sealed bool Equals(Object obj) 1942public override sealed bool Equals(Object obj) 2005public override sealed bool Equals(Object obj) 2071public override sealed bool Equals(Object obj) 2142public override sealed bool Equals(Object obj) 2272public override sealed bool Equals(Object obj) 2365public override sealed bool Equals(Object obj) 2486public override sealed bool Equals(Object obj) 2555public override sealed bool Equals(Object obj) 2621public override sealed bool Equals(Object obj) 2714public override sealed bool Equals(Object obj) 2797public override sealed bool Equals(Object obj) 2891public override sealed bool Equals(Object obj) 2966public override sealed bool Equals(Object obj) 3036public override sealed bool Equals(Object obj) 3136public override sealed bool Equals(Object obj) 3201public override sealed bool Equals(Object obj) 3284public override sealed bool Equals(Object obj) 3402public override sealed bool Equals(Object obj) 3480public override sealed bool Equals(Object obj) 3553public override sealed bool Equals(Object obj) 3666public override sealed bool Equals(Object obj) 3739public override sealed bool Equals(Object obj) 3864public override sealed bool Equals(Object obj) 3950public override sealed bool Equals(Object obj) 4019public override sealed bool Equals(Object obj) 4087public override sealed bool Equals(Object obj) 4163public override sealed bool Equals(Object obj) 4284public override sealed bool Equals(Object obj) 4390public override sealed bool Equals(Object obj) 4496public override sealed bool Equals(Object obj) 4568public override sealed bool Equals(Object obj) 4645public override sealed bool Equals(Object obj) 4716public override sealed bool Equals(Object obj) 4790public override sealed bool Equals(Object obj)
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (17)
554public override bool Equals(object other) 593public override bool Equals(object obj) 728public override bool Equals(object obj) 778public override bool Equals(object obj) 816public override bool Equals(object obj) 856public override bool Equals(object obj) 890public override bool Equals(object obj) 954public override bool Equals(object obj) 1011public override bool Equals(object obj) 1054public override bool Equals(object obj) 1097public override bool Equals(object obj) 1157public override bool Equals(object obj) 1207public override bool Equals(object obj) 1241public override bool Equals(object obj) 1285public override bool Equals(object obj) 1351public override bool Equals(object obj) 1404public override bool Equals(object obj)
ILCompiler.ReadyToRun (23)
Compiler\DependencyAnalysis\ReadyToRun\SignatureContext.cs (1)
90public override bool Equals(object obj)
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
88public override bool Equals(object obj) 331public override bool Equals(object obj)
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (1)
200public override bool Equals(object obj)
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
90public override bool Equals(object obj) => obj is not EventPseudoDesc @event ? false : this == @event;
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
85public override bool Equals(object obj) => obj is not PropertyPseudoDesc property ? false : this == property;
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (17)
554public override bool Equals(object other) 593public override bool Equals(object obj) 728public override bool Equals(object obj) 778public override bool Equals(object obj) 816public override bool Equals(object obj) 856public override bool Equals(object obj) 890public override bool Equals(object obj) 954public override bool Equals(object obj) 1011public override bool Equals(object obj) 1054public override bool Equals(object obj) 1097public override bool Equals(object obj) 1157public override bool Equals(object obj) 1207public override bool Equals(object obj) 1241public override bool Equals(object obj) 1285public override bool Equals(object obj) 1351public override bool Equals(object obj) 1404public override bool Equals(object obj)
ILCompiler.TypeSystem (6)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
27public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (2)
324public override bool Equals(object obj) 503public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
26public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.TypeEquivalence.cs (1)
36public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Interop\MarshalAsDescriptor.cs (1)
97public override bool Equals(object obj)
illink (1)
Microsoft.AspNetCore.Antiforgery (1)
Internal\BinaryBlob.cs (1)
50public override bool Equals(object? obj)
Microsoft.AspNetCore.Components.AI.SourceGenerators (6)
ToolBlockCandidate.cs (6)
63public override bool Equals(object? obj) 108public override bool Equals(object? obj) => Equals(obj as ToolResultPropertyInfo); 145public override bool Equals(object? obj) => Equals(obj as ToolParameterInfo); 189public override bool Equals(object? obj) => Equals(obj as ToolBlockParseResult); 224public override bool Equals(object? obj) => Equals(obj as DiagnosticInfo); 262public override bool Equals(object? obj) => Equals(obj as LocationInfo);
Microsoft.AspNetCore.Components.Endpoints (2)
Discovery\ComponentBuilder.cs (1)
27public override bool Equals(object? obj)
Discovery\PageComponentBuilder.cs (1)
54public override bool Equals(object? obj)
Microsoft.AspNetCore.Components.Testing.Generators (1)
ServiceOverrideCallsite.cs (1)
41public override bool Equals(object? obj) => Equals(obj as ServiceOverrideCallsite);
Microsoft.AspNetCore.Connections.Abstractions (1)
NamedPipeEndPoint.cs (1)
55public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
134public override bool Equals(object? obj)
Microsoft.AspNetCore.Http.Extensions (2)
QueryBuilder.cs (1)
103public override bool Equals(object? obj)
src\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (1)
723public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (4)
StaticRouteHandlerModel\Endpoint.cs (1)
110public override bool Equals(object o) =>
StaticRouteHandlerModel\EndpointParameter.cs (1)
595public override bool Equals(object obj) =>
StaticRouteHandlerModel\EndpointResponse.cs (1)
102public override bool Equals(object obj)
StaticRouteHandlerModel\Model\ParameterLookupKey.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Identity (1)
Passkeys\BufferSource.cs (1)
81public override bool Equals(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\aspnetcore\src\Shared\ParameterBindingMethodCache.cs (1)
723public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
186public override bool Equals(object obj)
Microsoft.AspNetCore.OpenApi (1)
src\aspnetcore\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.Core (1)
Internal\HubGroupList.cs (1)
77public override bool Equals(object? obj)
Microsoft.Build (12)
BackEnd\Components\BuildRequestEngine\FullyQualifiedBuildRequest.cs (1)
111public override bool Equals(object obj)
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
695public override bool Equals(object obj)
BackEnd\Components\SdkResolution\SdkResult.cs (1)
107public override bool Equals(object obj)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
956public override bool Equals(object obj)
BackEnd\Shared\ConfigurationMetadata.cs (1)
123public 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)
1722public override bool Equals(object obj)
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
571public override bool Equals(object obj) 663public override bool Equals(object obj)
src\697a1c9088572269\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
Microsoft.Build.Framework (5)
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)
Telemetry\TaskExecutionStats.cs (1)
71public override bool Equals(object? obj)
Utilities\AssemblyLoadInfo.cs (1)
93public 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)
942public override bool Equals(object obj)
RoslynCodeTaskFactory\RoslynCodeTaskFactoryTaskInfo.cs (1)
61public override bool Equals(object obj)
Microsoft.Build.Utilities.Core (1)
TargetPlatformSDK.cs (1)
152public override bool Equals(object obj)
Microsoft.CodeAnalysis (47)
CodeGen\ArrayMembers.cs (1)
366public sealed override bool Equals(object? obj)
CodeGen\PrivateImplementationDetails.cs (2)
850public sealed override bool Equals(object? obj) 1066public sealed override bool Equals(object? obj)
Collections\Rope.cs (1)
115public override bool Equals(object? obj)
Compilation\CompilationOptions.cs (1)
611public abstract override bool Equals(object? obj);
Compilation\ParseOptions.cs (1)
140public 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)
424public sealed override bool Equals(object? obj)
Diagnostic\DiagnosticDescriptor.cs (1)
214public override bool Equals(object? obj)
Diagnostic\DiagnosticInfo.cs (1)
407public 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)
71public 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)
181public sealed override bool Equals(object? obj)
Emit\EditAndContinue\DeletedSourceEventDefinition.cs (1)
57public sealed override bool Equals(object? obj)
Emit\EditAndContinue\DeletedSourceMethodDefinition.cs (1)
140public sealed override bool Equals(object? obj)
Emit\EditAndContinue\DeletedSourcePropertyDefinition.cs (1)
81public sealed override bool Equals(object? obj)
Emit\EmitOptions.cs (1)
275public override bool Equals(object? obj)
Emit\ErrorType.cs (1)
194public 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)
726public sealed override bool Equals(object obj)
Emit\NoPia\CommonEmbeddedTypeParameter.cs (1)
240public sealed override bool Equals(object obj)
Emit\NoPia\VtblGap.cs (1)
260public 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)
306public sealed override bool Equals(object? obj)
PEWriter\MethodDefinitionBase.cs (1)
173public sealed override bool Equals(object obj)
PEWriter\ModifiedTypeReference.cs (1)
152public sealed override bool Equals(object? obj)
PEWriter\ParameterDefinitionBase.cs (1)
37public sealed override bool Equals(object? obj)
PEWriter\RootModuleType.cs (1)
331public sealed override bool Equals(object? obj)
ReferenceManager\AssemblyData.cs (1)
74public sealed override bool Equals(object? obj)
SourceGeneration\GlobalAliases.cs (1)
76public override bool Equals(object? obj)
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public 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)
58public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Analyzers (11)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
253public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
Microsoft.CodeAnalysis.AnalyzerUtilities (20)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
253public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (1)
110public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\HazardousUsageEvaluator.cs (1)
129public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (1)
128public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (1)
95public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (1)
85public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (1)
210public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (1)
163public override bool Equals(object obj)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\CacheBasedEquatable.cs (1)
44public sealed override bool Equals(object? obj) => Equals(obj as T);
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
105public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
Microsoft.CodeAnalysis.CodeStyle (10)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
Microsoft.CodeAnalysis.CSharp (28)
Binder\DecisionDagBuilder.cs (4)
3510public override bool Equals(object? obj) => this == obj || obj is One other && this.Test.Equals(other.Test); 4179public override bool Equals(object? obj) => this == obj || (obj is ValueSet other && Input.Equals(other.Input) && Values.Equals(other.Values)); 4235public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated); 4608public 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)
18public 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)
1105public override bool Equals(object? obj)
Emitter\Model\ExpandedVarargsMethodReference.cs (1)
225public sealed override bool Equals(object obj)
Emitter\Model\FunctionPointerTypeSymbolAdapter.cs (1)
83public override bool Equals(object? obj)
Emitter\Model\NamedTypeReference.cs (1)
169public 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)
186public sealed override bool Equals(object obj)
Emitter\Model\TypeMemberReference.cs (1)
54public 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)
85public sealed override bool Equals(object obj)
Symbols\Source\ExtensionGroupingInfo.cs (1)
669public sealed override bool Equals(object? obj)
Symbols\Symbol.cs (1)
816public sealed override bool Equals(object obj)
Symbols\SymbolDistinguisher.cs (1)
220public 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.Extensions.Package (2)
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Features (6)
AddImport\References\Reference.cs (1)
64public override bool Equals(object obj)
EditAndContinue\DeclarationBody.cs (1)
91public override bool Equals(object? obj)
FindUsages\DefinitionItem.DetachedDefinitionItem.cs (1)
49public override bool Equals(object? obj)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
466public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.cs (1)
45public abstract override bool Equals(object? obj);
SignatureHelp\AbstractSignatureHelpProvider.SymbolKeySignatureHelpItem.cs (1)
25public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Features.ExternalAccess (1)
Copilot\Analyzer\CopilotChecksumWrapper.cs (1)
32public override bool Equals(object? obj)
Microsoft.CodeAnalysis.NetAnalyzers (11)
Microsoft.NetCore.Analyzers\Security\Helpers\ObjectGraphOptions.cs (1)
108public override bool Equals(object obj)
src\11b41c7305441175\HazardousUsageEvaluator.cs (1)
128public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
251public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\ConstructorMapper.cs (1)
109public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertyMapper.cs (1)
127public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SanitizerInfo.cs (1)
94public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SinkInfo.cs (1)
84public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\SourceInfo.cs (1)
209public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataSymbolMap.cs (1)
161public override bool Equals(object obj)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\CacheBasedEquatable.cs (1)
43public sealed override bool Equals(object? obj) => Equals(obj as T);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\ThrownExceptionInfo.cs (1)
103public override bool Equals(object obj)
Microsoft.CodeAnalysis.Razor.Compiler (13)
CSharp\DefaultUtf8WriteLiteralFeature.cs (1)
269public override bool Equals(object? obj) => Equals(obj as Utf8SupportMap);
Language\DocumentationDescriptor.cs (1)
91public sealed override bool Equals(object? obj)
Language\Legacy\ExpressionChunkGenerator.cs (1)
19public override bool Equals(object obj)
Language\Legacy\LocationTagged.cs (1)
36public override bool Equals(object obj)
Language\Legacy\SpanChunkGenerator.cs (1)
16public override bool Equals(object obj)
Language\Legacy\SpanEditHandler.cs (1)
144public override bool Equals(object obj)
Language\RazorDiagnostic.cs (1)
94public override bool Equals(object? obj)
Language\RazorParserOptions.cs (1)
199public override bool Equals(object? obj)
Language\SourceChange.cs (1)
122public override bool Equals(object obj)
Language\SourceMapping.cs (1)
24public override bool Equals(object obj)
Language\TagHelperCollection.cs (1)
108public override bool Equals(object? obj)
Language\TagHelperObject`1.cs (1)
47public sealed override bool Equals(object? obj)
SourceGenerators\SourceGeneratorProjectItem.cs (1)
86public override bool Equals(object? obj) => obj is SourceGeneratorProjectItem projectItem && Equals(projectItem);
Microsoft.CodeAnalysis.ResxSourceGenerator (11)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
253public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
Microsoft.CodeAnalysis.Scripting (2)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Compilers\Shared\GlobalAssemblyCacheHelpers\GacFileResolver.cs (1)
93public override bool Equals(object obj) => Equals(obj as GacFileResolver);
Microsoft.CodeAnalysis.VisualBasic (8)
BoundTree\UnboundLambda.vb (1)
190Public Overrides Function Equals(obj As Object) As Boolean
Emit\NamedTypeReference.vb (1)
125Public 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)
158Public NotOverridable Overrides Function Equals(obj As Object) As Boolean
Emit\TypeMemberReference.vb (1)
44Public 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)
847Public Overrides Function [Equals](obj As Object) As Boolean
Microsoft.CodeAnalysis.Workspaces (27)
CodeStyle\CodeStyleOption.cs (1)
69public override bool Equals(object? obj)
Diagnostics\DiagnosticData.cs (1)
113public override bool Equals(object? obj)
FindSymbols\IStreamingFindReferencesProgress.cs (1)
44public 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);
Remote\RemoteArguments.cs (2)
32public override bool Equals(object? obj) 208public override bool Equals(object? obj)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
SymbolSearch\ISymbolSearchService.cs (1)
119public override bool Equals(object? obj)
Workspace\IsolatedAnalyzerFileReference.cs (1)
104public override bool Equals(object? obj)
Workspace\Solution\DocumentId.cs (1)
66public override bool Equals(object? obj)
Workspace\Solution\ProjectCone.cs (1)
29public override bool Equals(object? obj)
Workspace\Solution\ProjectId.cs (1)
75public override bool Equals(object? obj)
Workspace\Solution\ProjectReference.cs (1)
40public override bool Equals(object obj)
Workspace\Solution\ProjectState.cs (1)
591public override bool Equals(object? obj)
Workspace\Solution\SolutionId.cs (1)
58public override bool Equals(object obj)
Workspace\Solution\SourceGeneratorExecutionVersion.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj)
Workspace\Solution\StateChecksums.cs (1)
367public override bool Equals(object? obj)
Workspace\Solution\TextDocumentStates.cs (1)
276public override bool Equals(object? obj)
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (1)
329public override bool Equals(object obj)
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallable.cs (1)
40public override bool Equals(object obj)
Microsoft\CSharp\RuntimeBinder\Semantics\WithType.cs (1)
80public override bool Equals(object obj)
Microsoft.Deployment.DotNet.Releases (3)
Cve.cs (1)
69public override bool Equals(object obj)
ReleaseFile.cs (1)
143public override bool Equals(object obj)
ReleaseVersion.cs (1)
240public override bool Equals(object obj)
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\StackWalk\Context\ContextHolder.cs (1)
72public override bool Equals(object? obj)
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (1)
200public override bool Equals(object obj)
Microsoft.Diagnostics.NETCore.Client (4)
DiagnosticsClient\EventPipeProvider.cs (1)
77public override bool Equals(object obj)
DiagnosticsIpc\IpcTransport.cs (3)
175public override bool Equals(object obj) 225public override bool Equals(object obj) 569public override bool Equals(object obj)
Microsoft.DotNet.ApiCompatibility (1)
Logging\Suppression.cs (1)
72public override bool Equals(object? obj) => Equals(obj as Suppression);
Microsoft.DotNet.Build.Manifest (1)
ArtifactModel.cs (1)
93public 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.Cli.Definitions (1)
Help\TwoColumnHelpRow.cs (1)
24public override bool Equals(object? obj)
Microsoft.DotNet.SdkResolver (1)
NETCoreSdkResolver.cs (1)
53public override bool Equals(object? obj)
Microsoft.DotNet.TemplateLocator (2)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
31public override bool Equals(object? obj)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersionUpdate.cs (1)
45public override bool Equals(object? obj)
Microsoft.Extensions.AI.Abstractions (7)
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\NoneChatToolMode.cs (1)
24public override bool Equals(object? obj) => obj is NoneChatToolMode;
ChatCompletion\RequiredChatToolMode.cs (1)
49public override bool Equals(object? obj) =>
HostedMcpServerToolAlwaysRequireApprovalMode.cs (1)
24public override bool Equals(object? obj) => obj is HostedMcpServerToolAlwaysRequireApprovalMode;
HostedMcpServerToolNeverRequireApprovalMode.cs (1)
24public override bool Equals(object? obj) => obj is HostedMcpServerToolNeverRequireApprovalMode;
HostedMcpServerToolRequireSpecificApprovalMode.cs (1)
37public override bool Equals(object? obj) => obj is HostedMcpServerToolRequireSpecificApprovalMode other &&
Microsoft.Extensions.AI.Abstractions.Tests (1)
ChatRouting\RoutingChatClientTests.cs (1)
176public override bool Equals(object? obj) => obj is CountingDisposeClient;
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyService.UrlCacheKey.cs (1)
24public override bool Equals(object? other) =>
Microsoft.Extensions.AI.Tests (2)
ChatRouting\OrderedFailoverChatClientTests.cs (1)
395public override bool Equals(object? obj) => obj is CountingDisposeClient;
ChatRouting\SemanticRoutingChatClientTests.cs (1)
256public override bool Equals(object? obj) => obj is CountingDisposeClient;
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassificationSet.cs (1)
97public override bool Equals(object? obj) => Equals(obj as DataClassificationSet);
Microsoft.Extensions.Configuration.Binder.SourceGeneration (2)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
30public override bool Equals(object? obj)
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
39public override bool Equals(object? obj) => Equals(obj as TypeRef);
Microsoft.Extensions.FileProviders.Embedded.Manifest.Task (1)
EmbeddedItem.cs (1)
18public override bool Equals(object obj) => Equals(obj as EmbeddedItem);
Microsoft.Extensions.FileSystemGlobbing (1)
Internal\PathSegments\LiteralPathSegment.cs (1)
31public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.Http.Resilience.Tests (2)
Greet.cs (2)
105public override bool Equals(object other) { 298public override bool Equals(object other) {
Microsoft.Extensions.Logging.Generators (1)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
30public override bool Equals(object? obj)
Microsoft.Extensions.ServiceDiscovery.Abstractions (1)
UriEndPoint.cs (1)
29public override bool Equals(object? obj)
Microsoft.Interop.ComInterfaceGenerator (2)
ComClassInfo.cs (1)
58public override bool Equals(object obj)
ComMethodContext.cs (1)
52public override bool Equals(object obj) => obj is ComMethodContext 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)
251 public override bool Equals(object obj)
Microsoft.Maui.Graphics (4)
Color.cs (1)
106 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.NET.Build.Tasks (4)
GetPackagesToPrune.cs (1)
76public override bool Equals(object obj) => obj is CacheKey key &&
ResolvedFile.cs (1)
98public override bool Equals(object obj)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersion.cs (1)
31public override bool Equals(object? obj)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\ManifestVersionUpdate.cs (1)
45public override bool Equals(object? obj)
Microsoft.NET.HostModel (1)
MachO\BinaryFormat\Blobs\CodeDirectoryBlob.cs (1)
254public override bool Equals(object? obj)
Microsoft.Net.Http.Headers (12)
CacheControlHeaderValue.cs (1)
399public override bool Equals(object? obj)
ContentDispositionHeaderValue.cs (1)
230public 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)
724public override bool Equals(object? obj)
StringWithQualityHeaderValue.cs (1)
80public override bool Equals(object? obj)
Microsoft.NET.Sdk.BlazorWebAssembly.Tasks (4)
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAsset.cs (1)
1438public override bool Equals(object obj) => obj != null && Equals(obj as StaticWebAsset);
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetPathPattern.cs (1)
535public override bool Equals(object obj) => Equals(obj as StaticWebAssetPathPattern);
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetPathSegment.cs (1)
21public override bool Equals(object obj) => Equals(obj as StaticWebAssetPathSegment);
src\sdk\src\StaticWebAssetsSdk\Tasks\Data\StaticWebAssetSegmentPart.cs (1)
19public override bool Equals(object obj) => Equals(obj as StaticWebAssetSegmentPart);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (8)
Data\ReferencedProjectConfiguration.cs (1)
40public override bool Equals(object obj) => obj is ReferencedProjectConfiguration reference
Data\StaticAssetsManifest.cs (1)
123public override bool Equals(object obj) => Equals(obj as StaticWebAssetsManifest);
Data\StaticWebAsset.cs (1)
1438public override bool Equals(object obj) => obj != null && Equals(obj as StaticWebAsset);
Data\StaticWebAssetEndpoint.cs (1)
257public override bool Equals(object obj) => Equals(obj as StaticWebAssetEndpoint);
Data\StaticWebAssetPathPattern.cs (1)
535public override bool Equals(object obj) => Equals(obj as StaticWebAssetPathPattern);
Data\StaticWebAssetPathSegment.cs (1)
21public override bool Equals(object obj) => Equals(obj as StaticWebAssetPathSegment);
Data\StaticWebAssetsDiscoveryPattern.cs (1)
25public override bool Equals(object obj) =>
Data\StaticWebAssetSegmentPart.cs (1)
19public override bool Equals(object obj) => Equals(obj as StaticWebAssetSegmentPart);
Microsoft.NET.Sdk.WorkloadManifestReader (2)
ManifestVersion.cs (1)
31public override bool Equals(object? obj)
ManifestVersionUpdate.cs (1)
45public override bool Equals(object? obj)
Microsoft.Private.Windows.Core (2)
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;
Microsoft.TemplateEngine.Cli (2)
Commands\create\InvalidTemplateOptionResult.cs (1)
51public override bool Equals(object? obj)
Commands\create\TemplateOption.cs (1)
64public override bool Equals(object? obj) => Equals(obj as TemplateOption);
Microsoft.TemplateEngine.Core (1)
TokenConfig.cs (1)
71public override bool Equals(object obj)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (1)
Parameter.cs (1)
63public override bool Equals(object obj)
Microsoft.TemplateEngine.Utils (2)
MultiValueParameter.cs (1)
68public override bool Equals(object? obj)
TemplateParameter.cs (1)
87public override bool Equals(object obj)
Microsoft.TemplateSearch.Common (1)
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
422public 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.TestPlatform.Common (1)
Utilities\SimpleJSON.cs (1)
450public override bool Equals(object obj)
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (15)
ObjectModel\TestCategoryItems.cs (2)
61public override bool Equals(object? other) 201public override bool Equals(object? obj)
ObjectModel\TestElement.cs (1)
223public override bool Equals(object? other)
ObjectModel\TestEntry.cs (1)
63public override bool Equals(object? obj)
ObjectModel\TestExecId.cs (1)
53public override bool Equals(object? obj)
ObjectModel\TestId.cs (1)
135public override bool Equals(object? other)
ObjectModel\TestLink.cs (1)
50public override bool Equals(object? other)
ObjectModel\TestListCategory.cs (1)
133public override bool Equals(object? obj)
ObjectModel\TestListCategoryId.cs (1)
74public override bool Equals(object? other)
ObjectModel\TestMethod.cs (1)
50public override bool Equals(object? obj)
ObjectModel\TestResult.cs (2)
76public override bool Equals(object? obj) 411public override bool Equals(object? obj)
ObjectModel\TestType.cs (1)
33public override bool Equals(object? obj)
ObjectModel\WorkItems.cs (2)
49public override bool Equals(object? other) 177public override bool Equals(object? obj)
Microsoft.VisualStudio.TestPlatform.ObjectModel (12)
Client\FilterOptions.cs (1)
47public override bool Equals(object? obj) => Equals(obj as FilterOptions);
Client\TestRunCriteria.cs (1)
853public override bool Equals(object? obj)
Client\TestSessionInfo.cs (1)
52public override bool Equals(object? obj)
DataCollector\Common\RequestId.cs (1)
47public override bool Equals(object? obj)
DataCollector\Common\Session.cs (1)
31public override bool Equals(object? obj) => obj is SessionId sessionId && Id.Equals(sessionId.Id);
DataCollector\Common\TestExecId.cs (1)
32public override bool Equals(object? obj) => obj is TestExecId testExecId && Id.Equals(testExecId.Id);
DataCollector\DataCollectionContext.cs (1)
119public override bool Equals(object? obj)
InvokedDataCollector.cs (1)
76public override bool Equals(object? obj)
Nuget.Frameworks\FrameworkRange.cs (1)
102public override bool Equals(object? obj)
Nuget.Frameworks\NuGetFramework.cs (1)
453public override bool Equals(object? obj)
Nuget.Frameworks\OneWayCompatibilityMappingEntry.cs (1)
52public override bool Equals(object? obj)
TestProperty\TestProperty.cs (1)
136public override bool Equals(object? obj)
Microsoft.Win32.SystemEvents (1)
Microsoft\Win32\SystemEvents.cs (1)
1282public override bool Equals([NotNullWhen(true)] object? other)
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) {
NuGet.CommandLine.XPlat (1)
Utility\FormattedCell.cs (1)
26public override bool Equals(object obj) => Equals(obj as FormattedCell);
NuGet.Commands (5)
RestoreCommand\LockFileBuilderCache.cs (1)
164public override bool Equals(object obj)
RestoreCommand\Logging\PackageSpecificWarningProperties.cs (1)
147public override bool Equals(object obj)
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (2)
658public override bool Equals(object obj) 734public override bool Equals(object obj)
RestoreCommand\Logging\WarningPropertiesCollection.cs (1)
195public override bool Equals(object obj)
NuGet.Configuration (17)
PackageSource\PackageSource.cs (1)
237public override bool Equals(object? obj)
PackageSource\PackageSourceCredential.cs (1)
228public override bool Equals(object? other)
Settings\Items\AddItem.cs (1)
105public sealed override bool Equals(object? other)
Settings\Items\AuthorItem.cs (1)
62public override bool Equals(object? other)
Settings\Items\CertificateItem.cs (1)
106public override bool Equals(object? other)
Settings\Items\ClearItem.cs (1)
35public override bool Equals(object? other) => other is ClearItem;
Settings\Items\ClientCertItem.cs (1)
34public override bool Equals(object? other)
Settings\Items\CredentialsItem.cs (1)
240public override bool Equals(object? other)
Settings\Items\MinPublishAgeExceptionItem.cs (1)
95public override bool Equals(object? other)
Settings\Items\OwnersItem.cs (1)
86public override bool Equals(object? other)
Settings\Items\PackagePatternItem.cs (1)
51public override bool Equals(object? other)
Settings\Items\PackageSourceMappingSourceItem.cs (1)
198public override bool Equals(object? other)
Settings\Items\RepositoryItem.cs (1)
131public override bool Equals(object? other)
Settings\Items\UnknownItem.cs (1)
164public override bool Equals(object? other)
Settings\NuGetConfiguration.cs (1)
169public override bool Equals(object? other)
Settings\SettingSection.cs (1)
54public override bool Equals(object? other)
Settings\SettingText.cs (1)
38public override bool Equals(object? other)
NuGet.DependencyResolver.Core (3)
GraphModel\GraphItem.cs (1)
29public override bool Equals(object obj)
LockFileCacheKey.cs (1)
56public override bool Equals(object? obj)
Remote\RemoteMatch.cs (1)
17public override bool Equals(object obj)
NuGet.Frameworks (3)
FrameworkRange.cs (1)
102public override bool Equals(object? obj)
FrameworkRuntimePair.cs (1)
35public override bool Equals(object? obj)
NuGetFramework.cs (1)
454public override bool Equals(object? obj)
NuGet.LibraryModel (6)
CentralPackageVersion.cs (1)
44public override bool Equals(object? obj)
DownloadDependency.cs (1)
86public override bool Equals(object? obj)
LibraryDependency.cs (1)
142public override bool Equals(object? obj)
LibraryIdentity.cs (1)
52public override bool Equals(object? obj)
LibraryRange.cs (1)
156public override bool Equals(object? obj)
PrunePackageReference.cs (1)
64public override bool Equals(object? obj)
NuGet.PackageManagement (2)
Resolution\GatherCache.cs (2)
156public override bool Equals(object obj) 209public override bool Equals(object obj)
NuGet.Packaging (17)
Core\FrameworkReference.cs (1)
55public override bool Equals(object? obj)
Core\FrameworkReferenceGroup.cs (1)
53public override bool Equals(object? obj)
Core\FrameworkSpecificGroup.cs (1)
82public override bool Equals(object? obj)
Core\PackageDependency.cs (1)
81public override bool Equals(object? obj)
Core\PackageDependencyGroup.cs (1)
76public override bool Equals(object? obj)
Core\PackageIdentity.cs (1)
89public override bool Equals(object? obj)
Core\PackageType.cs (1)
40public override bool Equals(object? obj)
Core\RepositoryMetadata.cs (1)
31public override bool Equals(object? obj)
NupkgMetadata\NupkgMetadataFile.cs (1)
34public override bool Equals(object? obj)
PackageCreation\Authoring\LicenseMetadata.cs (1)
76public override bool Equals(object? obj)
PackageCreation\Authoring\PhysicalPackageFile.cs (1)
107public override bool Equals(object? obj)
RuntimeModel\CompatibilityProfile.cs (1)
42public override bool Equals(object? obj)
RuntimeModel\RuntimeDependencySet.cs (1)
60public override bool Equals(object? obj)
RuntimeModel\RuntimeDescription.cs (1)
120public override bool Equals(object? obj)
RuntimeModel\RuntimeGraph.cs (1)
315public override bool Equals(object? obj)
RuntimeModel\RuntimePackageDependency.cs (1)
39public override bool Equals(object? obj)
Signing\Verification\CertificateHashAllowListEntry.cs (1)
56public override bool Equals(object? obj)
NuGet.ProjectModel (22)
CacheFile.cs (1)
66public override bool Equals(object obj)
CentralTransitiveDependencyGroup.cs (1)
53public override bool Equals(object? obj)
ExternalProjectReference.cs (1)
132public override bool Equals(object obj)
LockFile\AssetsLogMessage.cs (1)
158public override bool Equals(object other)
LockFile\LockFile.cs (1)
115public override bool Equals(object obj)
LockFile\LockFileItem.cs (1)
75public override bool Equals(object obj)
LockFile\LockFileTarget.cs (1)
60public override bool Equals(object obj)
LockFile\LockFileTargetLibrary.cs (1)
213public override bool Equals(object? obj)
PackageSpec.cs (1)
94public override bool Equals(object obj)
ProjectFileDependencyGroup.cs (1)
47public override bool Equals(object? obj)
ProjectLockFile\LockFileDependency.cs (1)
45public override bool Equals(object obj)
ProjectLockFile\PackagesLockFile.cs (1)
46public override bool Equals(object obj)
ProjectLockFile\PackagesLockFileTarget.cs (1)
62public override bool Equals(object obj)
ProjectRestoreMetadata.cs (1)
204public override bool Equals(object obj)
ProjectRestoreMetadataFile.cs (1)
55public override bool Equals(object? obj)
ProjectRestoreMetadataFrameworkInfo.cs (1)
54public override bool Equals(object obj)
ProjectRestoreReference.cs (1)
43public override bool Equals(object obj)
ProjectRestoreSettings.cs (1)
34public override bool Equals(object? obj)
RestoreAuditProperties.cs (1)
101public override bool Equals(object? obj)
RestoreLockProperties.cs (1)
52public override bool Equals(object? obj)
TargetFrameworkInformation.cs (1)
174public override bool Equals(object obj)
WarningProperties.cs (1)
65public override bool Equals(object? obj)
NuGet.Protocol (3)
Model\PackageVulnerabilityInfo.cs (1)
55public override bool Equals(object? obj) => Equals(obj as PackageVulnerabilityInfo);
Plugins\PluginManager.cs (1)
469public override bool Equals(object? obj)
RemoteSourceDependencyInfo.cs (1)
82public override bool Equals(object? obj) => Equals(obj as RemoteSourceDependencyInfo);
NuGet.Versioning (3)
FloatRange.cs (1)
457public override bool Equals(object? obj)
SemanticVersionBase.cs (1)
103public override bool Equals(object? obj)
VersionRangeBase.cs (1)
175public override bool Equals(object? obj)
PresentationBuildTasks (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (1)
6861public override bool Equals(object o)
src\wpf\src\Microsoft.DotNet.Wpf\src\WindowsBase\System\IO\Packaging\CompoundFile\VersionPair.cs (1)
239public override bool Equals(Object obj)
PresentationCore (19)
MS\Internal\DpiScale2.cs (1)
165public override bool Equals(object obj)
MS\Internal\FontCache\CanonicalFontFamilyReference.cs (1)
120public override bool Equals(object obj)
MS\Internal\FontFace\FontFamilyIdentifier.cs (1)
440public abstract override bool Equals(object obj);
MS\Internal\Ink\ExtendedProperty.cs (1)
37public override bool Equals(object obj)
MS\Internal\Ink\ExtendedPropertyCollection.cs (1)
22public override bool Equals(object o)
MS\Internal\Shaping\OpenTypeLayoutCache.cs (1)
1130public override bool Equals(object value)
MS\Internal\Shaping\ShapeTypeface.cs (2)
44public override bool Equals(object o) 130public override bool Equals(object o)
MS\Internal\TextFormatting\GenericTextProperties.cs (1)
87public override bool Equals(object o)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
275public override bool Equals(object o)
System\Windows\Ink\DrawingAttributes.cs (1)
498public override bool Equals(object o)
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
179public override bool Equals(object obj)
System\Windows\Media\CharacterMetrics.cs (1)
271public override bool Equals(object obj)
System\Windows\Media\ColorContext.cs (1)
401public override bool Equals(object obj)
System\Windows\Media\FamilyTypeface.cs (1)
252public override bool Equals(object o)
System\Windows\Media\FontFamily.cs (1)
271public override bool Equals(object o)
System\Windows\Media\GlyphTypeface.cs (1)
183public override bool Equals(object o)
System\Windows\Media\textformatting\NumberSubstitution.cs (1)
243public override bool Equals(object obj)
System\Windows\Media\Typeface.cs (1)
681public override bool Equals(object o)
PresentationFramework (32)
MS\Internal\Annotations\Anchoring\PathNode.cs (1)
54public override bool Equals(Object obj)
MS\Internal\Annotations\Component\AdornerPresentationContext.cs (1)
262public override bool Equals(object o)
MS\Internal\Annotations\TextAnchor.cs (1)
162public override bool Equals(object obj)
MS\Internal\AppModel\BamlStream.cs (1)
167public override bool Equals(
MS\Internal\Data\ValueTable.cs (1)
327public override bool Equals(object o)
MS\Internal\IO\Packaging\ContentDescriptor.cs (1)
32public override bool Equals( object other )
MS\Internal\Navigation\BindStream.cs (1)
242public override bool Equals(
MS\Internal\Text\TypographyProperties.cs (1)
684public override bool Equals(object other)
MS\Internal\WeakHashtable.cs (1)
206public override bool Equals(object o)
MS\Internal\WeakObjectHashtable.cs (1)
215public override bool Equals(object o)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (3)
52public override bool Equals(object obj) => obj is AlternateWordForm that && this == that; 270public override bool Equals(object obj) => obj is WordSegment that && this == that; 375public override bool Equals(object obj) => obj is WordsSegmenter that && this == that;
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (1)
147public override bool Equals(object obj) => obj is Language that && this == that;
System\Windows\Annotations\LocatorPart.cs (1)
76public override bool Equals(object obj)
System\Windows\ComponentResourceKey.cs (1)
99public override bool Equals(object o)
System\Windows\Controls\Grid.cs (1)
3615public override bool Equals(object obj)
System\Windows\Controls\ItemsControl.cs (1)
3833public override bool Equals(object o)
System\Windows\Controls\ValidationResult.cs (1)
91public override bool Equals(object obj)
System\Windows\Data\XmlNamespaceMapping.cs (1)
76public override bool Equals(object obj)
System\Windows\Documents\FixedHighlight.cs (1)
59public override bool Equals(object oCompare)
System\Windows\Documents\FlowNode.cs (1)
87public override bool Equals(object o)
System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
332public override bool Equals(object obj)
System\Windows\Markup\Localizer\BamlLocalizableResource.cs (1)
164public override bool Equals(object other)
System\Windows\Markup\Localizer\BamlLocalizableResourceKey.cs (1)
114public 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)
197public override bool Equals(object o)
System\Windows\StyleHelper.cs (1)
6109public override bool Equals(object o)
System\Windows\SystemResourceKey.cs (1)
1989public override bool Equals(object o)
System\Windows\SystemThemeKey.cs (1)
52public override bool Equals(object o)
System\Windows\TemplateKey.cs (1)
103public override bool Equals(object o)
PresentationUI (2)
MS\Internal\Documents\Application\CriticalFileToken.cs (1)
87public override bool Equals(object obj)
MS\Internal\Documents\Application\StreamProxy.cs (1)
237public override bool Equals(object obj)
Roslyn.Diagnostics.Analyzers (11)
src\roslyn\src\Compilers\Core\Portable\FileSystem\RelativePathResolver.cs (1)
66public override bool Equals(object? obj) => Equals(obj as RelativePathResolver);
src\roslyn\src\Dependencies\Collections\Internal\SegmentedHashSetEqualityComparer`1.cs (1)
86public override bool Equals([NotNullWhen(true)] object? obj) => obj is SegmentedHashSetEqualityComparer<T>;
src\roslyn\src\Dependencies\Contracts\EqualityComparerExtensions.cs (1)
55public override bool Equals(object? obj)
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Options\SymbolNamesWithValueOption.cs (1)
253public override bool Equals(object? obj) => Equals(obj as SymbolNamesWithValueOption<TValue>);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (1)
236public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\NormalizedTextSpanCollection.cs (1)
519public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
360public override bool Equals(object? obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
186public override bool Equals(object obj)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\Option2.cs (1)
93public override bool Equals(object? obj) => Equals(obj as IOption2);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\OptionDefinition.cs (1)
71public override bool Equals(object? other)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\PerLanguageOption2.cs (1)
81public override bool Equals(object? obj) => Equals(obj as IOption2);
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)
88public override bool Equals(object o)
System.Collections (2)
System\Collections\Generic\SortedDictionary.cs (1)
850public override bool Equals(object? obj)
System\Collections\Generic\SortedSetEqualityComparer.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj)
System.CommandLine (3)
Completions\CompletionItem.cs (1)
79public override bool Equals(object? obj) => Equals(obj as CompletionItem);
Help\TwoColumnHelpRow.cs (1)
32public override bool Equals(object? obj)
Parsing\Token.cs (1)
52public override bool Equals(object? obj) => Equals(obj as Token);
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)
530public override bool Equals([NotNullWhen(true)] object? obj)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (1)
325public override bool Equals(object? obj)
System.ComponentModel.TypeConverter (2)
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.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\runtime\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\runtime\src\libraries\Common\src\System\Data\Common\DbConnectionPoolKey.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
System.Data.OleDb (2)
System\Data\Common\DbConnectionPoolKey.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj)
System\Data\ProviderBase\DbConnectionPoolIdentity.cs (1)
43public override bool Equals(object? value)
System.Diagnostics.EventLog (1)
System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs (1)
32public override bool Equals([NotNullWhen(true)] object? obj)
System.DirectoryServices (1)
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (1)
45public override bool Equals([NotNullWhen(true)] object? obj)
System.DirectoryServices.AccountManagement (3)
System\DirectoryServices\AccountManagement\AD\ADStoreKey.cs (1)
54public override bool Equals(object o)
System\DirectoryServices\AccountManagement\Principal.cs (1)
466public override bool Equals(object o)
System\DirectoryServices\AccountManagement\SAM\SAMStoreKey.cs (1)
34public override bool Equals(object o)
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\ldap\LdapAsyncResult.cs (1)
36public override bool Equals(object obj)
System.Drawing.Common (6)
System\Drawing\Drawing2D\Matrix.cs (1)
397public override bool Equals([NotNullWhen(true)] object? obj)
System\Drawing\Font.cs (1)
228public override bool Equals([NotNullWhen(true)] object? obj)
System\Drawing\FontFamily.cs (1)
168public override bool Equals([NotNullWhen(true)] object? obj)
System\Drawing\Imaging\FrameDimension.cs (1)
56public override bool Equals([NotNullWhen(true)] object? o) => o is FrameDimension format && _guid == format._guid;
System\Drawing\Imaging\ImageFormat.cs (1)
114public override bool Equals([NotNullWhen(true)] object? o) => o is ImageFormat format && _guid == format._guid;
System\Drawing\Printing\Margins.cs (1)
177public override bool Equals([NotNullWhen(true)] object? obj) =>
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)
System\Management\ManagementBaseObject.cs (1)
649public override bool Equals(object obj)
System.Memory.Data (1)
System\BinaryData.cs (1)
501public override bool Equals([NotNullWhen(true)] object? obj) => ReferenceEquals(this, obj);
System.Net.Http (20)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
104public 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)
59public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Http\SocketsHttpHandler\HttpAuthority.cs (1)
57public 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)
288public 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\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (1)
104public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as CredentialCacheKey);
src\runtime\src\libraries\Common\src\System\Net\SocketAddress.cs (1)
141public override bool Equals(object? comparand) =>
System\Net\Cookie.cs (1)
623public 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)
681public override bool Equals([NotNullWhen(true)] object? comparand)
System\Net\IPEndPoint.cs (1)
204public 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 (56)
Internal\Runtime\CompilerServices\MethodNameAndSignature.cs (1)
38public override bool Equals(object? compare)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ApplicationId.cs (1)
71public override bool Equals([NotNullWhen(true)] object? o) =>
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (7)
126public override bool Equals(object? obj) => 159public override bool Equals([NotNullWhen(true)] object? obj) => 199public override bool Equals([NotNullWhen(true)] object? obj) => 228public override bool Equals([NotNullWhen(true)] object? obj) => 249public override bool Equals([NotNullWhen(true)] object? obj) => 282public override bool Equals([NotNullWhen(true)] object? obj) => 340public override bool Equals(object? obj) => obj is StringEqualityComparer;
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.cs (1)
1513public override bool Equals([NotNullWhen(true)] object? value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CultureInfo.cs (1)
631public override bool Equals([NotNullWhen(true)] object? value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.cs (1)
203public override bool Equals([NotNullWhen(true)] object? obj) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\RegionInfo.cs (1)
184public override bool Equals([NotNullWhen(true)] object? value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortKey.cs (1)
62public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortVersion.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\StringInfo.cs (1)
30public override bool Equals([NotNullWhen(true)] object? value)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\TextInfo.cs (1)
592public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
180public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
43public override bool Equals(object? obj) => base.Equals(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
145public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Versioning\FrameworkName.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
32public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.Comparison.cs (1)
551public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (2)
291public override bool Equals([NotNullWhen(true)] object? obj) 410public override bool Equals([NotNullWhen(true)] object? obj)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderExceptionFallback.cs (1)
21public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\DecoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderExceptionFallback.cs (1)
25public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\EncoderReplacementFallback.cs (1)
72public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (1)
1052public override bool Equals([NotNullWhen(true)] object? value) =>
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (1)
833public override bool Equals([NotNullWhen(true)] object? value) => value is DecoderUTF7Fallback;
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.AdjustmentRule.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.cs (1)
743public override bool Equals([NotNullWhen(true)] object? obj) => Equals(obj as TimeZoneInfo);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Version.cs (1)
139public override bool Equals([NotNullWhen(true)] object? obj)
System\Attribute.NativeAot.cs (1)
26public override unsafe bool Equals([NotNullWhen(true)] object? obj)
System\Delegate.cs (1)
675public sealed override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Emit\SignatureHelper.cs (1)
33public override bool Equals(object? obj)
System\Reflection\Runtime\ParameterInfos\RuntimeParameterInfo.cs (1)
27public sealed override bool Equals(object obj)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
129public override bool Equals(object obj)
System\Reflection\RuntimeAssemblyName.cs (1)
110public sealed override bool Equals(object? obj)
System\ValueType.cs (1)
60public override unsafe bool Equals([NotNullWhen(true)] object? obj)
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\DataContract.cs (2)
2094public sealed override bool Equals(object? obj) 2507public 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)
322public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.TypeLoader (6)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (1)
39public override bool Equals(object obj)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (1)
38public override bool Equals(object obj)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs (1)
27public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\MethodDesc.cs (2)
324public override bool Equals(object obj) 503public override bool Equals(object o)
src\runtime\src\coreclr\tools\Common\TypeSystem\Common\TypeDesc.cs (1)
26public override bool Equals(object o)
System.Private.Uri (2)
System\Uri.cs (1)
1689public override bool Equals([NotNullWhen(true)] object? comparand)
System\UriBuilder.cs (1)
277public override bool Equals([NotNullWhen(true)] object? rparam) => rparam is not null && Uri.Equals(rparam.ToString());
System.Private.Windows.Core (2)
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;
System.Private.Xml (15)
System\Xml\Cache\XPathNodeInfoAtom.cs (1)
287public 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)
723public 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)
1058public 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)
43public 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.InteropServices.JavaScript (2)
System\Runtime\InteropServices\JavaScript\JSException.cs (1)
88public override bool Equals(object? obj)
System\Runtime\InteropServices\JavaScript\JSObject.References.cs (1)
37public override bool Equals([NotNullWhen(true)] object? obj) => obj is JSObject other && JSHandle == other.JSHandle;
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\MemberHolder.cs (1)
24public override bool Equals([NotNullWhen(true)] object? obj)
System.Security.AccessControl (1)
System\Security\AccessControl\ACE.cs (1)
416public sealed override bool Equals([NotNullWhen(true)] object? o)
System.Security.Cryptography (13)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaAlgorithm.cs (1)
314public override bool Equals([NotNullWhen(true)] object? obj) => obj is CompositeMLDsaAlgorithm alg && alg.Name == Name;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKemAlgorithm.cs (1)
246public override bool Equals([NotNullWhen(true)] object? obj) => obj is CompositeMLKemAlgorithm alg && alg.Name == Name;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaAlgorithm.cs (1)
133public override bool Equals([NotNullWhen(true)] object? obj) => obj is MLDsaAlgorithm alg && alg.Name == Name;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemAlgorithm.cs (1)
123public override bool Equals([NotNullWhen(true)] object? obj) => obj is MLKemAlgorithm alg && alg.Name == Name;
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsaAlgorithm.cs (1)
217public override bool Equals([NotNullWhen(true)] object? obj) => obj is SlhDsaAlgorithm alg && alg.Name == Name;
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\ECDiffieHellmanWrapper.cs (1)
205public 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\X509Certificates\X509Certificate.cs (1)
299public 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)
System\Security\Principal\IdentityReference.cs (1)
19public abstract override bool Equals(object? o);
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
144public override bool Equals(object obj)
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\FramingEncoders.cs (1)
80public override bool Equals(object o)
System.ServiceModel.Primitives (12)
System\IdentityModel\Claims\Claim.cs (1)
219public override bool Equals(object obj)
System\ServiceModel\Channels\AddressHeader.cs (1)
75public override bool Equals(object obj)
System\ServiceModel\Channels\MessageVersion.cs (1)
118public override bool Equals(object obj)
System\ServiceModel\Channels\RequestReplyCorrelator.cs (1)
249public override bool Equals(object obj)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
68public override bool Equals(Object other)
System\ServiceModel\Description\MetadataConversionError.cs (1)
21public override bool Equals(object obj)
System\ServiceModel\Description\ServiceReflector.cs (1)
319public override bool Equals(object obj)
System\ServiceModel\EndpointAddress.cs (1)
429public override bool Equals(object obj)
System\ServiceModel\EndpointIdentity.cs (1)
96public override bool Equals(object obj)
System\ServiceModel\ProgrammaticEndpointTrait.cs (1)
27public override bool Equals(object obj)
System\ServiceModel\Security\SendSecurityHeader.cs (1)
734public override bool Equals(object item)
System\ServiceModel\ServiceEndpointTrait.cs (1)
22public override bool Equals(object obj)
System.Speech (13)
AudioFormat\SpeechAudioFormatInfo.cs (1)
103public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\BuilderElements.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\GrammarBuilderDictation.cs (1)
26public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\GrammarBuilderPhrase.cs (1)
58public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\GrammarBuilderRuleRef.cs (1)
27public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\GrammarBuilderWildcard.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
Internal\GrammarBuilding\RuleRefElement.cs (1)
29public override bool Equals([NotNullWhen(true)] object? obj)
Internal\ObjectToken\ObjectToken.cs (1)
92public override bool Equals([NotNullWhen(true)] object? obj)
Internal\Synthesis\ISSmlParser.cs (1)
77public override bool Equals([NotNullWhen(true)] object? obj)
Internal\Synthesis\TTSVoice.cs (1)
28public override bool Equals([NotNullWhen(true)] object? obj)
Result\SemanticValue.cs (1)
38public override bool Equals([NotNullWhen(true)] object? obj)
Synthesis\InstalledVoice.cs (1)
50public override bool Equals([NotNullWhen(true)] object? obj)
Synthesis\VoiceInfo.cs (1)
125public override bool Equals([NotNullWhen(true)] object? obj)
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.SourceGeneration (2)
src\runtime\src\libraries\Common\src\SourceGenerators\ImmutableEquatableArray.cs (1)
30public override bool Equals(object? obj)
src\runtime\src\libraries\Common\src\SourceGenerators\TypeRef.cs (1)
39public override bool Equals(object? obj) => Equals(obj as TypeRef);
System.Text.RegularExpressions (2)
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.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)
1129public 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)
821public 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.Xaml (6)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
275public override bool Equals(object o)
System\Xaml\AttachableMemberIdentifier.cs (1)
50public override bool Equals(object obj)
System\Xaml\Schema\XamlValueConverter.cs (1)
106public override bool Equals(object obj)
System\Xaml\XamlMember.cs (1)
1037public override bool Equals(object obj)
System\Xaml\XamlObjectReader.cs (1)
3043public override bool Equals(object obj)
System\Xaml\XamlType.cs (1)
1834public override bool Equals(object obj)
UIAutomationClient (1)
System\Windows\Automation\AutomationElement.cs (1)
304public override bool Equals(object obj)
UIAutomationTypes (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (1)
72public override bool Equals( object obj )
System\Windows\Automation\AutomationIdentifier.cs (1)
106public override bool Equals( object obj )
743 references to Equals
aspire (1)
Commands\DescribeCommand.cs (1)
273if (lastDisplayedContent.TryGetValue(snapshot.Name, out var lastValue) && lastValue.Equals(displayState))
Aspire.Dashboard (1)
Components\Pages\ComponentTelemetryContext.cs (1)
81if (!Properties.TryGetValue(name, out var existingValue) || !existingValue.Value.Equals(value.Value))
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\TestExtensions.cs (1)
49if (expected?.Equals(actual) == true)
Aspire.Hosting (1)
ApplicationModel\CustomResourceSnapshot.cs (1)
270return x.Equals(y);
Aspire.Hosting.Azure (1)
AzureProvisioningResource.cs (1)
214return left.GetType() == right.GetType() && left.Equals(right);
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\TestExtensions.cs (1)
49if (expected?.Equals(actual) == true)
dotnet (3)
Extensions\ParseResultExtensions.cs (2)
24parseResult.CommandResult.Command.Equals(Parser.RootCommand) && string.IsNullOrEmpty(parseResult.RootSubCommandResult()); 38parseResult.CommandResult.Command.Equals(Parser.RootCommand)
Parser.cs (1)
448if (command.Equals(RootCommand))
dotnet-aot (3)
src\sdk\src\Cli\dotnet\Extensions\ParseResultExtensions.cs (2)
24parseResult.CommandResult.Command.Equals(Parser.RootCommand) && string.IsNullOrEmpty(parseResult.RootSubCommandResult()); 38parseResult.CommandResult.Command.Equals(Parser.RootCommand)
src\sdk\src\Cli\dotnet\Parser.cs (1)
448if (command.Equals(RootCommand))
dotnet-svcutil-lib (20)
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.CodeDom\Microsoft\VBCodeProvider.cs (1)
3555if (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))
GenerateDocumentationAndConfigFiles (10)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
15dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
24/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 38/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
337/// Creates a default declaration for an override of <see cref="object.Equals(object)"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
ILAssembler (1)
GrammarVisitor.cs (1)
1217|| _entityRegistry.SystemValueTypeType.Equals(newTypeDef.BaseType)))
ILCompiler.Compiler (5)
Compiler\DependencyAnalysis\NodeFactory.cs (2)
1737public bool Equals(ReadyToRunHelperKey other) => HelperId == other.HelperId && Target.Equals(other.Target); 1761=> HelperId == other.HelperId && DictionaryOwner == other.DictionaryOwner && Target.Equals(other.Target);
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Vertex.cs (1)
43if (_edges[i].Destination.Equals(toVertex))
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
71if (!item.Equals(other))
ILCompiler.MetadataTransform (1)
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
1406return obj is FunctionPointerTypeSignature fnptrSig && _methodSignature.Equals(fnptrSig._methodSignature);
ILCompiler.ReadyToRun (7)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
236=> HelperId == other.HelperId && DictionaryOwner == other.DictionaryOwner && Target.Equals(other.Target);
Compiler\DependencyAnalysis\ReadyToRunSymbolNodeFactory.cs (1)
232return Id == other.Id && Target.Equals(other.Target);
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (2)
209if (_hasThis != other._hasThis || _isVarArg != other._isVarArg || !_returnType.Equals(other._returnType)) 219if (!_parameterTypes[i].Equals(other._parameterTypes[i]))
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\Graph.Vertex.cs (1)
43if (_edges[i].Destination.Equals(toVertex))
src\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs (1)
1406return obj is FunctionPointerTypeSignature fnptrSig && _methodSignature.Equals(fnptrSig._methodSignature);
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
ILCompiler.RyuJit (1)
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
ILCompiler.TypeSystem (1)
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
illink (4)
ILLink.RoslynAnalyzer (2)
DataFlow\ControlFlowGraphProxy.cs (1)
229if (catchOrFilter.Equals(region))
src\runtime\src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
71if (!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.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.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.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)
210if (!configuredEndpoint.Equals(options.EndPoint))
Microsoft.AspNetCore.SignalR.Client.Core (1)
HubConnectionBuilder.cs (1)
71return base.Equals(obj);
Microsoft.Build (11)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (1)
849Assumed.True((itemVectorTransforms == null) || (itemVectorCollection.Equals(itemVectorTransforms)) || (itemVectorPartition.Count == 1), "If transforms have been separated out, there should only be one item vector per partition.");
BackEnd\Components\Scheduler\SchedulableRequest.cs (1)
706return base.Equals(obj);
Evaluation\Evaluator.cs (1)
1601if (fallbackSearchPathMatch.Equals(ProjectImportPathMatch.None))
Evaluation\Expander.Function.cs (2)
625if (args[i].Equals("out _")) 639else if (!toReturn.Equals(currentReturnValue))
Graph\GraphBuilder.cs (1)
486if (node.Equals(referenceNode))
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
197return actualInstance.Equals(item);
Instance\ImmutableProjectCollections\ImmutableItemDefinitionsListConverter.cs (1)
146if (foundItem is not null && foundItem.Equals(item))
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
173if (foundItem is not null && foundItem.Equals(item))
Logging\BaseConsoleLogger.cs (1)
856else if (p1.Equals(p2))
src\msbuild\artifacts\.packages\microsoft.codeanalysis.collections\5.0.0-1.25277.114\contentFiles\cs\net9.0\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
Microsoft.Build.Tasks.Core (1)
AssemblyDependency\Node\RarTaskParameters.cs (1)
93return value?.Equals(defaultValue) == false;
Microsoft.CodeAnalysis (13)
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\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal 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) &&
Syntax\SyntaxAnnotation.cs (1)
60return base.Equals(obj);
Microsoft.CodeAnalysis.Analyzers (10)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
15dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
24/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 38/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
337/// Creates a default declaration for an override of <see cref="object.Equals(object)"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Microsoft.CodeAnalysis.AnalyzerUtilities (9)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
15dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
24/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 38/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityBasedPredicateAnalysisData.cs (1)
206if (!existingValue!.Equals(mergedValue))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\roslyn\src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
159if (arguments[i].Equals(targetArgument)) 165if (arguments[i].Equals(targetArgument))
src\roslyn\src\Analyzers\Core\CodeFixes\AddExplicitCast\InheritanceDistanceComparer.cs (1)
43if (!x.syntax.Equals(y.syntax))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Microsoft.CodeAnalysis.CSharp (16)
Binder\DecisionDagBuilder.cs (10)
1332!existingState.RemainingValues.All(kv => newRemainingValues.TryGetValue(kv.Key, out IValueSet? values) && kv.Value.Equals(values))) 3215this.RemainingTests.Equals(other.RemainingTests); 3225return newRemainingTests.Equals(RemainingTests) 3623Debug.Assert(!finalResult.Equals(tempsUpdatedResult) || tempsUpdatedResultTempMap == tempMap); 3625(!finalResult.Equals(tempsUpdatedResult) && 4138if (intersection.Equals(possibleValues)) 4142if (intersection.Equals(Values)) 4179public override bool Equals(object? obj) => this == obj || (obj is ValueSet other && Input.Equals(other.Input) && Values.Equals(other.Values)); 4235public override bool Equals(object? obj) => this == obj || obj is Not n && Negated.Equals(n.Negated); 4648else if (!t1.Equals(t2))
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\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
143if (constructor.Equals(primaryConstructor))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (4)
1805if (name.Equals(nameof(Task<>.ConfigureAwait)) && 1811else if (name.Equals(nameof(Task<>.ContinueWith))) 1823else if (name.Equals(nameof(Enumerable.Select)) || 1824name.Equals(nameof(Enumerable.Where)))
Microsoft.CodeAnalysis.CSharp.Features (5)
CodeRefactorings\InlineMethod\CSharpInlineMethodRefactoringProvider.cs (3)
110=> syntaxNode.Equals(conditionalExpressionSyntax.WhenTrue) || 111syntaxNode.Equals(conditionalExpressionSyntax.WhenFalse), 113=> syntaxNode.Equals(binaryExpressionSyntax.Right),
IntroduceVariable\CSharpIntroduceVariableService_IntroduceLocal.cs (1)
119var isEntireLambdaBodySelected = oldBody.Equals(expression.WalkUpParentheses());
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
143if (constructor.Equals(primaryConstructor))
Microsoft.CodeAnalysis.CSharp.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\CSharpAvoidMultipleEnumerationsAnalyzer.cs (1)
14=> syntax.Parent is ForEachStatementSyntax forEachStatementSyntax && forEachStatementSyntax.Expression.Equals(syntax);
Microsoft.NetCore.Analyzers\Runtime\CSharpPreferStreamAsyncMemoryOverloads.Fixer.cs (1)
33identifierNameNode.Identifier.Value!.Equals(name) &&
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (4)
1805if (name.Equals(nameof(Task<>.ConfigureAwait)) && 1811else if (name.Equals(nameof(Task<>.ContinueWith))) 1823else if (name.Equals(nameof(Enumerable.Select)) || 1824name.Equals(nameof(Enumerable.Where)))
Microsoft.CodeAnalysis.Extensions.Package (1)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
Microsoft.CodeAnalysis.Features (10)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
276if (newText == null || newText.Equals(originalText))
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)
656if (!match.Equals(_expression))
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
110=> Equals((object)other);
PullMemberUp\MembersPuller.cs (1)
243if (declaration.Equals(eventDeclaration) && !isEventHasExplicitAddOrRemoveMethod)
src\roslyn\src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
159if (arguments[i].Equals(targetArgument)) 165if (arguments[i].Equals(targetArgument))
src\roslyn\src\Analyzers\Core\CodeFixes\AddExplicitCast\InheritanceDistanceComparer.cs (1)
43if (!x.syntax.Equals(y.syntax))
Microsoft.CodeAnalysis.NetAnalyzers (14)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\InterfaceMethodsShouldBeCallableByChildTypes.cs (1)
151return interfaceMethod.Equals("Dispose") &&
Microsoft.CodeQuality.Analyzers\Maintainability\AvoidLengthCalculationWhenSlicingToEnd.cs (1)
286(ILiteralOperation literalRef1, ILiteralOperation literalRef2) => literalRef1.ConstantValue.HasValue && literalRef1.ConstantValue.Value!.Equals(literalRef2.ConstantValue.Value),
Microsoft.CodeQuality.Analyzers\QualityGuidelines\DoNotPassDisposablesIntoUnawaitedTasks.cs (1)
148if (usingLocal.Equals(disposableRef))
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.cs (2)
69DictionaryReference.Equals(other.DictionaryReference) && 70ContainsKeyArgumentReference.Equals(other.ContainsKeyArgumentReference) &&
Microsoft.NetCore.Analyzers\Security\DoNotDisableTokenValidationChecks.cs (1)
72simpleAssignmentOperation.Value.ConstantValue.Value.Equals(false) &&
Microsoft.NetCore.Analyzers\Security\DoNotInstallRootCert.cs (1)
109kind = PropertySetCallbacks.EvaluateLiteralValues(argumentValueContentAbstractValues[0], o => o != null && o.Equals(6));
Microsoft.NetCore.Analyzers\Security\UseRSAWithSufficientKeySize.cs (1)
156dimensionSize.Equals(1) &&
Microsoft.NetCore.Analyzers\Security\UseSecureCookiesASPNetCore.cs (1)
63return PropertySetCallbacks.EvaluateLiteralValues(valueContentAbstractValue, o => o != null && o.Equals(false));
src\9382845807600969\AnalysisEntityBasedPredicateAnalysisData.cs (1)
205if (!existingValue!.Equals(mergedValue))
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
38dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
25/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 39/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
337/// Creates a default declaration for an override of <see cref="object.Equals(object)"/>.
Microsoft.CodeAnalysis.ResxSourceGenerator (8)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
15dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
24/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 38/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
159If parentEndBlock.Equals(precedingEndBlock) Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
src\roslyn\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.Features (1)
IntroduceVariable\VisualBasicIntroduceVariableService.Rewriter.vb (1)
41If innerExpression.HasAnnotation(s_replacementAnnotation) AndAlso innerExpression.Equals(parenthesizedExpression.Expression) Then
Microsoft.CodeAnalysis.VisualBasic.NetAnalyzers (2)
Microsoft.CodeQuality.Analyzers\QualityGuidelines\BasicAvoidMultipleEnumerationsAnalyzer.vb (1)
16Return parent IsNot Nothing AndAlso parent.Expression.Equals(syntax)
Microsoft.NetCore.Analyzers\Runtime\BasicForwardCancellationTokenToInvocations.Analyzer.vb (1)
43If a.IsImplicit AndAlso Not a.Parameter.Type.Equals(cancellationTokenType) Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (5)
Recommendations\VisualBasicRecommendationServiceRunner.vb (1)
330symbols = symbols.WhereAsArray(Function(s) Not s.Equals(parentingCtor))
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
943.Where(Function(sym) Not sym.Equals(renamedSymbol))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
159If parentEndBlock.Equals(precedingEndBlock) Then
src\roslyn\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.Workspaces (22)
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\MapBasedLongestCommonSubsequence.cs (1)
13=> map.TryGetValue(oldSequence[oldIndex], out var newNode) && newNode.Equals(newSequence[newIndex]);
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)
232c => c.DeclaringSyntaxReferences.Any(r => linkedNode.Equals(r.GetSyntax(cancellationToken))));
Options\OptionKey.cs (1)
50return thisOption.Equals(otherOption);
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Workspace\Solution\Solution.cs (1)
883if (!reference.Equals(analyzerReference))
Microsoft.CSharp (9)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (1)
333&& _originalBinder.Equals(other._originalBinder);
Microsoft\CSharp\RuntimeBinder\ComInterop\ComEventsSink.Extended.cs (1)
55sinkEntry.RemoveDelegates(d => d.Target is SplatCallSite callContext && callContext._callable.Equals(func));
Microsoft\CSharp\RuntimeBinder\RuntimeBinderExtensions.cs (1)
106if (pi1.Equals(pi2))
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (1)
125private static bool AreTypesEqualForConversion(CType pType1, CType pType2) => pType1.Equals(pType2);
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeManager.cs (5)
330if (typeDst.Equals(typeSrc)) 332Debug.Assert(typeDst.Equals(SubstType(typeSrc, typeArgsCls, typeArgsMeth, denormMeth))); 344if (taDst == taSrc || (taDst != null && taDst.Equals(taSrc))) 379if (typeDst == typeSrc || typeDst.Equals(typeSrc)) 477if (type == typeFind || type.Equals(typeFind))
Microsoft.Diagnostics.DataContractReader.Contracts (2)
src\runtime\src\coreclr\tools\Common\CallingConvention\ArgIterator.cs (2)
209if (_hasThis != other._hasThis || _isVarArg != other._isVarArg || !_returnType.Equals(other._returnType)) 219if (!_parameterTypes[i].Equals(other._parameterTypes[i]))
Microsoft.Diagnostics.DataContractReader.Legacy (3)
ClrDataFrame.cs (1)
94Debug.Assert(contextStruct.Equals(localContextStruct));
ClrDataStackWalk.cs (1)
125Debug.Assert(contextStruct.Equals(localContextStruct));
Dbi\DacDbiImpl.cs (1)
2633Debug.Assert(contextStruct.Equals(localContextStruct));
Microsoft.DotNet.ApiCompatibility (1)
Rules\EnumsMustMatch.cs (1)
74if (lEntry.Value.ConstantValue is not object lval || rField.ConstantValue is not object rval || !lval.Equals(rval))
Microsoft.DotNet.Cli.Utils (1)
ExponentialRetry.cs (1)
76return await ExecuteAsyncWithRetry(action, result => result != null && !result.Equals(default), maxRetryCount, timer);
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIResponseClientTests.cs (1)
6635if (imageIndex == null || !imageIndex.Equals(index))
Microsoft.Extensions.DependencyInjection (4)
ServiceLookup\CallSiteFactory.cs (3)
445if (descriptorKey.Equals(KeyedService.AnyKey)) 450return lookupKey.Equals(descriptorKey) 451|| lookupKey.Equals(KeyedService.AnyKey);
ServiceLookup\ServiceIdentifier.cs (1)
39return ServiceType == other.ServiceType && ServiceKey.Equals(other.ServiceKey);
Microsoft.Extensions.Diagnostics.ExceptionSummarization.Tests (1)
ExceptionSummaryTests.cs (1)
51Assert.False(exceptionTest.Equals(exceptionSummary));
Microsoft.Extensions.VectorData.ConformanceTests (11)
ModelTests\BasicModelTests.cs (2)
38received.Single(r => r.Key.Equals(record.Key)), 86received.Single(r => r.Key.Equals(record.Key)),
ModelTests\DynamicModelTests.cs (1)
43received.Single(r => r[KeyPropertyName]!.Equals(record[KeyPropertyName])),
TypeTests\KeyTypeTests.cs (8)
88var firstRecord = Assert.Single(results, r => r.Key.Equals(key1)); 90var secondRecord = Assert.Single(results, r => r.Key.Equals(key2)); 136var firstDynamicRecord = Assert.Single(dynamicResults, r => r[nameof(Record<>.Key)]!.Equals(key1)); 139var secondDynamicRecord = Assert.Single(dynamicResults, r => r[nameof(Record<>.Key)]!.Equals(key2)); 206Assert.Single(results, r => r.Key.Equals(recordWithDefaultValueKey1.Key)); 207Assert.Single(results, r => r.Key.Equals(recordWithDefaultValueKey2.Key)); 208Assert.Single(results, r => r.Key.Equals(recordWithDefaultValueKey3.Key)); 209Assert.Single(results, r => r.Key.Equals(key1));
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)
250 /// <inheritdoc cref="object.Equals(object)"/>
Microsoft.Maui.Graphics (1)
Color.cs (1)
111 return base.Equals(obj);
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvasState.cs (1)
215 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.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.HostModel (1)
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
Microsoft.Net.Http.Headers (1)
HeaderUtilities.cs (1)
125if (((comparer == null) && xItem.Equals(yItem)) ||
Microsoft.TemplateEngine.Cli (1)
Commands\create\InvalidTemplateOptionResult.cs (1)
71return base.Equals(obj);
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\CompilerServices\Utils.vb (1)
228If pi1.Equals(pi2) Then
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (2)
XML\XmlPersistence.cs (2)
320if (value == null || value.Equals(defaultValue)) 613if (value == null || value.Equals(defaultValue))
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
Nuget.Frameworks\NuGetFramework.cs (1)
463return base.Equals(obj);
Mono.Cecil.Mdb (1)
Mono.CompilerServices.SymbolWriter\MonoSymbolTable.cs (1)
1193 if (line.Equals (LineNumberEntry.Null))
NuGet.Commands (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.Configuration (5)
PackageSource\PackageSource.cs (1)
244return base.Equals(obj);
Settings\Settings.cs (2)
104var currentSettings = Priority.Last(f => f.Equals(settingsFile)); 132var existingItem = settingFileSection.Items.First(i => i.Equals(item));
Settings\SettingsGroup.cs (1)
166if (child.Equals(expectedChild))
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.Frameworks (1)
NuGetFramework.cs (1)
464return base.Equals(obj);
NuGet.LibraryModel (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.PackageManagement (3)
BuildIntegration\BuildIntegratedRestoreUtility.cs (1)
138if (nugetProject != null && !nugetProject.Equals(target))
NuGetPackageManager.cs (1)
2453var nugetActions = nuGetProjectActions.Where(action => action.Project.Equals(project));
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.Packaging (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.ProjectModel (2)
LockFile\LockFile.cs (1)
104equals &= orderedLogMessages[i].Equals(orderedOtherLogMessages[i]);
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.Protocol (2)
Model\PackageVulnerabilityInfo.cs (1)
54/// <inheritdoc cref="object.Equals(object?)"/>
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
NuGet.Versioning (1)
src\nuget-client\build\Shared\EqualityUtility.cs (1)
308return self?.Equals(other) ?? false;
PresentationCore (19)
MS\Internal\DpiScale2.cs (1)
179areEqual = base.Equals(obj);
MS\Internal\Generic\Span.cs (4)
146&& _spanList[Count - 1].Value.Equals(value)) 186&& _spanList[fs - 1].Value.Equals(value)) 198if (_spanList[fs].Value.Equals(value)) 210&& _spanList[ls].Value.Equals( value))
MS\Internal\Ink\ExtendedProperty.cs (2)
67if (!array1.GetValue(i).Equals(array2.GetValue(i))) 78return that.Value.Equals(this.Value);
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
289return base.Equals(o);
System\Windows\Ink\DrawingAttributes.cs (6)
824if (!defaultValueIfDrawingAttribute.Equals(args.NewProperty.Value)) 854if (!args.NewProperty.Value.Equals(args.OldProperty.Value)) 867if (!args.NewProperty.Value.Equals(args.OldProperty.Value)) 898if (defaultValue.Equals(value)) 910if (!o.Equals(value)) 922if (defaultValue == null || !defaultValue.Equals(value))
System\Windows\Media\Animation\KeyTime.cs (1)
171/// Implementation of <see cref="System.Object.Equals(object)">Object.Equals</see>.
System\Windows\Media\Animation\TimelineClockCollection.cs (1)
97if (t.Equals(item))
System\Windows\Media\FamilyMapCollection.cs (1)
342if (_items[i].Equals(item))
System\Windows\Media\FamilyTypeface.cs (1)
250/// <see cref="object.Equals(object)"/>
System\Windows\Media\FontFamily.cs (1)
287return base.Equals(o);
PresentationFramework (20)
MS\Internal\AppModel\BamlStream.cs (1)
171return _stream.Equals(obj);
MS\Internal\Navigation\BindStream.cs (1)
246return _stream.Equals(obj);
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
234if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
199if (value.Equals(currentValue))
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
310if (value.Equals(currentValue) && items.IndexOf(items[i]) == i)
System\Windows\ComponentResourceKey.cs (1)
106((key._resourceId != null) ? key._resourceId.Equals(this._resourceId) : (this._resourceId == null));
System\Windows\Controls\Grid.cs (1)
3613/// <see cref="object.Equals(object)"/>
System\Windows\Controls\TreeView.cs (1)
427if ((selectedItem != null) && selectedItem.Equals(e.OldItems[0]))
System\Windows\Controls\TreeViewItem.cs (1)
966if ((selectedItem != null) && selectedItem.Equals(e.OldItems[0]))
System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
144if (currentValue.Equals(newValue))
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
264return other != null && other.Key.Equals(Key);
System\Windows\Standard\Debug.cs (4)
74if (null != actual && !actual.Equals(expected)) 79else if (!expected.Equals(actual)) 98if (null == actual || actual.Equals(notExpected)) 103else if (notExpected.Equals(actual))
System\Windows\Standard\Verify.cs (4)
186if (null != actual && !actual.Equals(expected)) 191else if (!expected.Equals(actual)) 203if (null == actual || actual.Equals(notExpected)) 208else if (notExpected.Equals(actual))
System\Windows\Style.cs (1)
915return (a != null) ? a.Equals(b) : (b == null);
PresentationUI (28)
MS\Internal\Documents\Application\StreamProxy.cs (1)
239return _proxy.Equals(obj);
MS\Internal\Documents\Application\WriteableOnDemandPackagePart.cs (1)
196if (writingPart.Equals(this))
MS\Internal\Documents\Application\WriteableOnDemandStream.cs (1)
291if (writer.Equals(this))
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (24)
1307if (e.Command.Equals(ApplicationCommands.Save)) 1320else if (e.Command.Equals(ApplicationCommands.SaveAs)) 1326else if (e.Command.Equals(ApplicationCommands.Properties)) 1332else if (e.Command.Equals(DocumentApplicationDocumentViewer.FocusToolBar)) 1362if (e.Command.Equals(ApplicationCommands.Save)) 1377else if (e.Command.Equals(ApplicationCommands.SaveAs)) 1385else if (e.Command.Equals(ApplicationCommands.Properties)) 1393else if (e.Command.Equals(DocumentApplicationDocumentViewer.FocusToolBar)) 1417if (e.Command.Equals(NavigationCommands.FirstPage)) 1422else if (e.Command.Equals(NavigationCommands.LastPage)) 1443if (e.Command.Equals(NavigationCommands.FirstPage)) 1447else if (e.Command.Equals(NavigationCommands.LastPage)) 1469if (e.Command.Equals(DocumentApplicationDocumentViewer.Sign)) 1473else if (e.Command.Equals(DocumentApplicationDocumentViewer.RequestSigners)) 1477else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowSignatureSummary)) 1505if (e.Command.Equals(DocumentApplicationDocumentViewer.Sign)) 1509else if (e.Command.Equals(DocumentApplicationDocumentViewer.RequestSigners)) 1513else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowSignatureSummary)) 1563if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPermissions)) 1567else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMCredentialManager)) 1571else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPublishingUI)) 1599if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMCredentialManager)) 1603else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPermissions)) 1610else if (e.Command.Equals(DocumentApplicationDocumentViewer.ShowRMPublishingUI))
MS\Internal\Documents\DocumentSignatureManager.cs (1)
665if (!signature.Equals(digSig) &&
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
71if (List[i].Equals(value))
Roslyn.Diagnostics.Analyzers (10)
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedHashSet`1.cs (1)
1372internal static bool EqualityComparersAreEqual(SegmentedHashSet<T> set1, SegmentedHashSet<T> set2) => set1.Comparer.Equals(set2.Comparer);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (1)
15dictionary.Keys.All(key => other.ContainsKey(key) && dictionary[key]?.Equals(other[key]) == true);
src\roslyn\src\RoslynAnalyzers\Utilities\Compiler\Extensions\IMethodSymbolExtensions.cs (2)
24/// Checks if the given method overrides <see cref="object.Equals(object)"/>. 38/// Checks if the given method is <see cref="object.Equals(object)"/>.
src\roslyn\src\RoslynAnalyzers\Utilities\Workspaces\SyntaxGeneratorExtensions.cs (1)
337/// Creates a default declaration for an override of <see cref="object.Equals(object)"/>.
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
146else if (operation.Parent is IForToLoopOperation forToLoopOperation && forToLoopOperation.LoopControlVariable.Equals(operation))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (3)
126if (existingConstants[0].Equals(Multiply(existingConstants[1], 2))) 130if (existingConstants[0].Equals(Convert.ChangeType(2, existingConstants[0].GetType())) && 131existingConstants[1].Equals(Convert.ChangeType(1, existingConstants[1].GetType())))
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
223=> this.Equals((object)other);
Roslyn.Diagnostics.CSharp.Analyzers (4)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (4)
1805if (name.Equals(nameof(Task<>.ConfigureAwait)) && 1811else if (name.Equals(nameof(Task<>.ContinueWith))) 1823else if (name.Equals(nameof(Enumerable.Select)) || 1824name.Equals(nameof(Enumerable.Where)))
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTokenExtensions.vb (1)
159If parentEndBlock.Equals(precedingEndBlock) Then
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
204Dim literal = If(negative AndAlso nonNegativeValue.Equals(value), 401If specialValue.Key.Equals(value) Then
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
46if (modifiers[i].Equals(value))
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
46if (modifiers[i].Equals(value))
System.Collections (4)
System\Collections\Generic\SortedDictionary.cs (2)
39kv.keyComparer.Equals(keyValuePairComparer.keyComparer)) 855return this.keyComparer == other.keyComparer || this.keyComparer.Equals(other.keyComparer);
System\Collections\Generic\SortedSet.cs (1)
836return 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)
123if (source is FrozenDictionary<TKey, TValue> fd && fd.Comparer.Equals(comparer)) 132if (newDictionary is null || (newDictionary.Count != 0 && !newDictionary.Comparer.Equals(comparer))) 153Debug.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)
995return _part.Equals(part);
System\ComponentModel\Composition\Hosting\ScopingExtensions.cs (1)
122return value.Equals(untypedValue);
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (1)
532return 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)
2932if (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)
204else if (!firstItem.Value.Equals(secondValue))
System.Configuration.ConfigurationManager (3)
System\Configuration\BaseConfigurationRecord.cs (1)
3540if (lastVersion != null) return (currentVersion == null) || !lastVersion.Equals(currentVersion);
System\Configuration\ConfigurationElementCollection.cs (1)
1202return 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)
326if (!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)
2403if (!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)
286if (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.DirectoryServices.AccountManagement (9)
System\DirectoryServices\AccountManagement\Principal.cs (1)
476if ((_key != null) && (that._key != null) && (_key.Equals(that._key)))
System\DirectoryServices\AccountManagement\TrackedCollection.cs (5)
122if (el.GetCurrentValue().Equals(value)) 174if (el.isInserted && el.insertedValue.Equals(value)) 182if (!el.isInserted && el.originalValue.Right.Equals(value)) 280if (!el.originalValue.Left.Equals(el.originalValue.Right)) 309if (!el.originalValue.Left.Equals(el.originalValue.Right))
System\DirectoryServices\AccountManagement\ValueCollection.cs (3)
206if (el.isInserted && el.insertedValue.Equals(value)) 212if (!el.isInserted && el.originalValue.Right.Equals(value)) 458if (!pair.Left.Equals(pair.Right))
System.IO.Packaging (1)
System\IO\Packaging\PackUriHelper.cs (1)
884/// relying on <see cref="ValidatedPartUri"/> overriding <see cref="object.Equals(object?)"/>
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)
77((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)
1342return 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)
2686if (!remoteEP.Equals(resultEp)) remoteEP = resultEp; 2704if (!endPoint.Equals(result.RemoteEndPoint)) 2727if (!remoteEP.Equals(resultEp)) remoteEP = resultEp; 2744if (!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 (43)
Internal\IntrinsicSupport\EqualityComparerHelpers.cs (1)
168return left.Equals(right);
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (4)
1796if (obj != null && obj.Equals(value)) 1866if (obj.Equals(value)) 2023if (obj != null && obj.Equals(value)) 2093if (obj.Equals(value))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Attribute.cs (1)
130if (!thisValue.Equals(thatValue))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ArrayList.cs (3)
878if (_list[i] is object o && o.Equals(value)) 946if (_list[i] is object o && o.Equals(value)) 2270if (_baseList[_baseIndex + i] is object o && o.Equals(item))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\EqualityComparer.cs (1)
216if (y != null) return x.Equals(y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\HashSet.cs (2)
1784internal static bool EqualityComparersAreEqual(HashSet<T> set1, HashSet<T> set2) => set1.Comparer.Equals(set2.Comparer); 1790internal static bool EffectiveEqualityComparersAreEqual(HashSet<T> set1, HashSet<T> set2) => set1.EffectiveComparer.Equals(set2.EffectiveComparer);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (2)
524if (val != null && val.Equals(value)) 801return item != null && item.Equals(key);
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs (1)
269return Value.Equals(other.Value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
82/// <inheritdoc cref="object.Equals(object?)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Object.cs (1)
63return objA.Equals(objB);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (1)
180public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MemberInfo.cs (1)
43public override bool Equals(object? obj) => base.Equals(obj);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Module.cs (1)
145public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Security\PermissionSet.cs (1)
32public override bool Equals(object? o) => base.Equals(o);
src\runtime\src\libraries\System.Private.CoreLib\src\System\StringComparer.cs (1)
192return x.Equals(y);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Encoding.cs (2)
1055(EncoderFallback.Equals(that.EncoderFallback)) && 1056(DecoderFallback.Equals(that.DecoderFallback));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UnicodeEncoding.cs (2)
1796(EncoderFallback.Equals(that.EncoderFallback)) && 1797(DecoderFallback.Equals(that.DecoderFallback));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF32Encoding.cs (2)
1143(EncoderFallback.Equals(that.EncoderFallback)) && 1144(DecoderFallback.Equals(that.DecoderFallback));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF7Encoding.cs (2)
103(EncoderFallback.Equals(that.EncoderFallback)) && 104(DecoderFallback.Equals(that.DecoderFallback));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\UTF8Encoding.cs (2)
882(EncoderFallback.Equals(that.EncoderFallback)) && 883(DecoderFallback.Equals(that.DecoderFallback));
src\runtime\src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
84/// <inheritdoc cref="object.Equals(object?)" />
System\Reflection\Runtime\MethodInfos\CustomMethodMapper.Nullable.cs (1)
44return thisObject.Equals(other);
System\Reflection\Runtime\TypeInfos\NativeFormat\NativeFormatRuntimeNamedTypeInfo.UnificationKey.cs (1)
53if (!Reader.Equals(other.Reader))
System\ValueType.cs (1)
95else if (!thisField.Equals(thatField))
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.Reflection.Execution (1)
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
System.Private.TypeLoader (4)
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericMethodsLookup.cs (1)
43return base.Equals(obj);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.ConstructedGenericTypesLookup.cs (1)
42return base.Equals(obj);
Internal\Runtime\TypeLoader\TypeLoaderEnvironment.Metadata.cs (1)
71if (!seq1[i].Equals(seq2[i]))
src\runtime\src\coreclr\tools\Common\System\Collections\Generic\ArrayBuilder.cs (1)
124if (_items[i].Equals(t))
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)
1294return 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.Security.AccessControl (2)
System\Security\AccessControl\Privilege.cs (2)
371if (!_currentThread.Equals(Thread.CurrentThread)) 464if (!_currentThread.Equals(Thread.CurrentThread))
System.Security.Cryptography (1)
System\Security\Cryptography\ECDiffieHellmanWrapper.cs (1)
205public 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.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
148return base.Equals(obj);
System.ServiceModel.Primitives (8)
Internals\System\Runtime\MruCache.cs (1)
196if (_mruEntry.node != null && key != null && key.Equals(_mruEntry.node.Value))
System\IdentityModel\Claims\ClaimComparer.cs (1)
201return obj1.Equals(obj2);
System\ServiceModel\ChannelFactoryRefCache.cs (1)
72return x.Equals(y);
System\ServiceModel\Channels\MessageProperties.cs (2)
904return value.Equals(pair.Value); 986if (!value.Equals(pair.Value))
System\ServiceModel\Description\TypeLoader.cs (1)
582if (parameterInfo1.Equals(parameterInfo2))
System\ServiceModel\Security\SecurityUtils.cs (1)
782return CredentialCache.DefaultNetworkCredentials.Equals(credential);
System\ServiceModel\Security\SendSecurityHeaderElement.cs (1)
26return Item == item || Item.Equals(item);
System.Speech (5)
Internal\GrammarBuilding\BuilderElements.cs (1)
42if (!Items[i].Equals(refObj.Items[i]))
Internal\GrammarBuilding\TagElement.cs (1)
48return _value.Equals(refObj._value);
Result\RecognizedPhrase.cs (2)
483if ((semanticTag & (GrammarOptions.MssV1 | GrammarOptions.W3cV1)) == 0 && semanticValue._valueFieldSet && !semanticValue.Value!.Equals(childrenSemantics.Value)) 620if ((semanticTag & (GrammarOptions.MssV1 | GrammarOptions.W3cV1)) == 0 && semanticValue._valueFieldSet && !semanticValue.Value!.Equals(thisSemanticValue.Value))
Result\SemanticValue.cs (1)
41if (refObj == null || refObj.Count != Count || refObj.Value == null && Value != null || (refObj.Value != null && !refObj.Value.Equals(Value)))
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\PolymorphicTypeResolver.cs (1)
193Debug.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)
405? leftElem.Equals(right[i])
System.Transactions.Local (2)
System\Transactions\TransactionScope.cs (2)
548if (!Equals(actualCurrentScope)) 623while (!Equals(actualCurrentScope))
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (2)
1352if (_firstGalleryItem != null && _firstGalleryItem.IsAlive && _firstGalleryItem.Target.Equals(item)) 1363if (_firstGalleryItem != null && _firstGalleryItem.IsAlive && _firstGalleryItem.Target.Equals(item))
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
112return content.Equals(ribbonToolTip.Title);
System.Windows.Forms (38)
System\Resources\AssemblyNamesTypeResolutionService.cs (1)
40foreach (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)
9691|| (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)
3934(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)
223!defaultCellStyle.FormatProvider.Equals(CultureInfo.CurrentCulture) ||
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (4)
1431if (key.Equals(value)) 1458if (displayValue is null || !displayValue.Equals(key)) 1476if (displayValue is not null && displayValue.Equals(key)) 1492if (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)
1751if (value is not null && currentValue is not null && currentValue.Equals(value)) 2468bool 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)
87if (value.Equals(o))
System\Windows\Forms\Controls\UpDown\DomainUpDown.cs (1)
143if (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)
164|| (value is not null && value.Equals(defaultValue));
System.Windows.Forms.Design (55)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1164if (!_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)
598if (enterGlyph is not null && leaveGlyph.Equals(enterGlyph))
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (4)
96&& !_containerControl.Equals(selSvc.PrimarySelection as Control)) 117if (selNew.Equals(selOld)) 129if (behOld.ContainerControl.Equals(behNew.ContainerControl)) 224if (!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); 621if (_data.Target.Equals(_data.Source) && _lastEffect != DragDropEffects.Copy) 635if (!_data.Target.Equals(_lastDropTarget)) 905if (bodyGlyphAdorner is not null && a.Equals(bodyGlyphAdorner)) 982if (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) 378if (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)
2319if (obj.Equals(selPrimary))
System\Windows\Forms\Design\ComponentTray.cs (1)
2740if (g is DesignerActionGlyph desGlyph && ((DesignerActionBehavior)(desGlyph.Behavior)).RelatedComponent.Equals(trayControl.Component))
System\Windows\Forms\Design\ControlDesigner.cs (3)
592if (child.Equals(nc.Components[i])) 1416if (TryGetService(out ISelectionService? selectionService) && !Component.Equals(selectionService.PrimarySelection)) 1437else if (!requiredParent.Equals(control.Parent))
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
210&& 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)) 1448if (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")) 1641if (CheckoutException.Canceled.Equals(checkoutException)) 1754if (CheckoutException.Canceled.Equals(checkoutException)) 1904if (CheckoutException.Canceled.Equals(checkoutException)) 2009if (CheckoutException.Canceled.Equals(checkoutException))
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
509if ((!(e is CheckoutException checkoutException)) || (!checkoutException.Equals(CheckoutException.Canceled)))
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (4)
488bool showDesignMenu = IsContextMenuStripItemSelected(selectionService) || Component.Equals(selectionService.PrimarySelection); 513if (Component.Equals(selectionService.PrimarySelection) && _selected) 518bool showDesignMenu = IsContextMenuStripItemSelected(selectionService) || Component.Equals(selectionService.PrimarySelection); 726if (_selectionService is not null && Component.Equals(_selectionService.PrimarySelection))
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
895&& ToolStripItem.Equals(_selectionService.PrimarySelection) 959if (currentSelection is not null && currentSelection.Equals(ToolStripItem) && !(ToolStripItem is ToolStripMenuItem))
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
195if (MenuItem.Equals(_selectionService.PrimarySelection)) 1253if (checkoutException.Equals(CheckoutException.Canceled)) 2110if (MenuItem.Equals(selectionSvc.PrimarySelection)) 2469if (checkoutException.Equals(CheckoutException.Canceled))
System.Xaml (3)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
289return base.Equals(o);
System\Xaml\XamlObjectReader.cs (2)
489else if (dkpObject.Equals(entry.Key)) 3045return obj is Entry other && other.Key.Equals(Key);
UIAutomationClient (1)
MS\Internal\Automation\Misc.cs (1)
106if (!a.GetValue(src).Equals(a.GetValue(dest)))
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
190return val.Equals(targetAttribute) ? new WindowsEditBoxRange(_provider, Start, End) : null;