Base:
method
Equals
System.Object.Equals(System.Object)
629 overrides of Equals
BuildBoss (1)
ProjectKey.cs (1)
30public override bool Equals(object obj) => obj is ProjectKey && Equals((ProjectKey)obj);
ConfigurationSchemaGenerator (1)
RuntimeSource\SourceGenerators\DiagnosticInfo.cs (1)
40public override readonly bool Equals(object? obj) => obj is DiagnosticInfo info && Equals(info);
dotnet-svcutil-lib (4)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (1)
110public override bool Equals(object other)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\StreamingContext.cs (1)
38public override bool Equals(Object obj)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EventDescriptor.cs (1)
127public override bool Equals(object obj)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ProducerConsumerStream.cs (1)
231public override bool Equals(object obj)
illink (13)
ILLink.RoslynAnalyzer (13)
DataFlow\CapturedReferenceValue.cs (1)
40 public override bool Equals (object obj)
DataFlow\FeatureContextLattice.cs (1)
35 public override bool Equals (object? obj) => obj is FeatureContext other && Equals (other);
DataFlow\InterproceduralState.cs (1)
42 public override bool Equals (object obj)
DataFlow\LocalStateAndContextLattice.cs (1)
27 public override bool Equals (object? obj) => obj is LocalStateAndContext<TValue, TContext> other && Equals (other);
DataFlow\LocalStateLattice.cs (2)
24 public override bool Equals (object obj) 67 public override bool Equals (object obj)
DataFlow\MethodBodyValue.cs (1)
37 public override bool Equals (object obj)
src\libraries\System.Private.CoreLib\src\System\Index.cs (1)
125public override bool Equals([NotNullWhen(true)] object? value) => value is Index && _value == ((Index)value)._value;
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (1)
69 public override bool Equals (object? obj) => obj is DefaultValueDictionary<TKey, TValue> other && Equals (other);
src\tools\illink\src\ILLink.Shared\DataFlow\IControlFlowGraph.cs (1)
92 public override bool Equals (object? obj)
src\tools\illink\src\ILLink.Shared\DataFlow\MaybeLattice.cs (1)
19 public override bool Equals (object? obj) => obj is Maybe<T> other && Equals (other);
src\tools\illink\src\ILLink.Shared\DataFlow\ValueSet.cs (1)
165 public override bool Equals (object? obj) => obj is ValueSet<TValue> other && Equals (other);
src\tools\illink\src\ILLink.Shared\ParameterIndex.cs (1)
43 public override bool Equals ([NotNullWhen (true)] object? obj)
ILLink.Tasks (1)
CreateRuntimeRootDescriptorFile.cs (1)
87 public override bool Equals (object obj)
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonValue.cs (1)
571public override bool Equals(object? obj)
Microsoft.AspNetCore.App.Analyzers (4)
Infrastructure\EmbeddedSyntax\EmbeddedDiagnostic.cs (1)
23public override bool Equals(object? obj)
Infrastructure\VirtualChars\VirtualChar.cs (1)
117public override bool Equals(object? obj)
Mvc\DetectAmbiguousActionRoutes.cs (1)
130public override bool Equals(object obj)
RouteHandlers\DetectAmbiguousRoutes.cs (1)
161public override bool Equals(object obj)
Microsoft.AspNetCore.App.CodeFixes (1)
src\Shared\HashCode.cs (1)
434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.Components (3)
EventCallback.cs (1)
80public override bool Equals(object? obj)
EventCallbackOfT.cs (1)
80public override bool Equals(object? obj)
Routing\RouteKey.cs (1)
19public override bool Equals(object? obj)
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\Components\ComponentMarker.cs (1)
126public override readonly bool Equals(object? obj)
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Binding\FormDataMapperTests.cs (1)
2322public override bool Equals(object obj) => Equals((ValuePoint)obj);
Microsoft.AspNetCore.Components.Forms (1)
FieldIdentifier.cs (1)
84public override bool Equals(object? obj)
Microsoft.AspNetCore.Components.Server (5)
Circuits\CircuitId.cs (1)
46public override bool Equals(object obj)
src\Components\Shared\src\ComponentParametersTypeCache.cs (1)
74public override bool Equals(object? obj) => obj is Key key && Equals(key);
src\Components\Shared\src\RootComponentTypeCache.cs (1)
75public override bool Equals(object? obj) => obj is Key key && Equals(key);
src\Shared\Components\ComponentMarker.cs (1)
126public override readonly bool Equals(object? obj)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Nil.cs (1)
23public override bool Equals(object obj)
Microsoft.AspNetCore.Components.WebAssembly (3)
src\Components\Shared\src\ComponentParametersTypeCache.cs (1)
74public override bool Equals(object? obj) => obj is Key key && Equals(key);
src\Components\Shared\src\RootComponentTypeCache.cs (1)
75public override bool Equals(object? obj) => obj is Key key && Equals(key);
src\Shared\Components\ComponentMarker.cs (1)
126public override readonly bool Equals(object? obj)
Microsoft.AspNetCore.HeaderParsing (1)
HostHeaderValue.cs (1)
100public override bool Equals(object? obj) => obj is HostHeaderValue hostHeader && Equals(hostHeader);
Microsoft.AspNetCore.Http.Abstractions (6)
FragmentString.cs (1)
125public override bool Equals(object? obj)
HostString.cs (1)
295public override bool Equals(object? obj)
Internal\HeaderSegment.cs (1)
37public override bool Equals(object? obj)
Internal\HeaderSegmentCollection.cs (1)
23public override bool Equals(object? obj)
PathString.cs (1)
408public override bool Equals(object? obj)
QueryString.cs (1)
228public override bool Equals(object? obj)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
src\Shared\HashCode.cs (1)
434public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
Microsoft.AspNetCore.Mvc.Abstractions (3)
ModelBinding\Metadata\ModelMetadataIdentity.cs (1)
192public override bool Equals(object? obj)
ModelBinding\ModelBindingResult.cs (1)
53public override bool Equals(object? obj)
ModelBinding\ValueProviderResult.cs (1)
88public override bool Equals(object? obj)
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBinderFactory.cs (1)
296public override bool Equals(object? obj)
Microsoft.AspNetCore.Mvc.Razor (1)
ViewLocationCacheKey.cs (1)
121public override bool Equals(object? obj)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
CachedExpressionCompilerTest.cs (1)
986public override bool Equals(object obj)
Microsoft.AspNetCore.ResponseCompression (1)
ResponseCompressionProvider.cs (1)
283public override bool Equals(object? obj)
Microsoft.AspNetCore.Routing (3)
Matching\HostMatcherPolicy.cs (1)
467public override bool Equals(object? obj)
Matching\HttpMethodMatcherPolicy.cs (1)
479public override bool Equals(object? obj)
Matching\PathSegment.cs (1)
17public override bool Equals(object? obj)
Microsoft.Build (3)
Graph\ProjectGraph.cs (1)
896public override readonly bool Equals(object obj)
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1361public override bool Equals(object obj)
Utilities\SimpleVersion.cs (1)
94public override bool Equals(object obj) => obj is SimpleVersion v && Equals(v);
Microsoft.Build.Framework (6)
ImmutableSegmentedDictionary`2.cs (1)
310public override bool Equals(object? obj)
ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
Profiler\EvaluationLocation.cs (1)
230public override bool Equals(object obj)
Profiler\ProfilerResult.cs (2)
29public override bool Equals(object obj) 72public override bool Equals(object obj)
SegmentedArray`1.cs (1)
176public override bool Equals(object? obj)
Microsoft.CodeAnalysis (72)
Binding\BindingDiagnosticBag.cs (1)
340public override bool Equals(object? obj)
CodeGen\LocalDebugId.cs (1)
77public override bool Equals(object? obj)
CodeGen\LocalSlotDebugInfo.cs (1)
27public override bool Equals(object? obj)
CodeGen\LocalSlotManager.cs (1)
60public override bool Equals(object? obj)
Collections\BitVector.cs (1)
50public override bool Equals(object? obj)
CommandLine\CommandLineAnalyzerReference.cs (1)
35public override bool Equals(object? obj)
CommandLine\CommandLineReference.cs (1)
43public override bool Equals(object? obj)
Compilation\LoadDirective.cs (1)
34public override bool Equals(object? obj)
Compilation\PreprocessingSymbolInfo.cs (1)
37public override bool Equals(object? obj)
Compilation\SubsystemVersion.cs (1)
188public override bool Equals(object? obj)
Compilation\SymbolInfo.cs (1)
83public override bool Equals(object? obj)
Compilation\TypeInfo.cs (1)
59public override bool Equals(object? obj)
Desktop\AssemblyPortabilityPolicy.cs (1)
32public override bool Equals(object obj)
Desktop\AssemblyVersion.cs (1)
63public override bool Equals(object obj)
Desktop\DesktopAssemblyIdentityComparer.Fx.cs (1)
71public override bool Equals(object? obj)
Diagnostic\FileLinePositionSpan.cs (1)
107public override bool Equals(object? other)
DiagnosticAnalyzer\SourceOrAdditionalFile.cs (1)
33public override bool Equals(object? obj)
DiagnosticAnalyzer\Suppression.cs (1)
64public override bool Equals(object? obj)
Emit\AnonymousTypeKey.cs (2)
49public override bool Equals(object obj) 79public override bool Equals(object obj)
Emit\EditAndContinue\EmitBaseline.cs (1)
42public override bool Equals(object? obj)
Emit\EditAndContinue\EncHoistedLocalInfo.cs (1)
37public override bool Equals(object? obj)
Emit\EditAndContinue\EncLocalInfo.cs (1)
52public override bool Equals(object? obj)
Emit\SemanticEdit.cs (1)
221public override bool Equals(object? obj)
Emit\SynthesizedDelegateKey.cs (1)
18public override bool Equals(object? obj)
ExtendedSpecialType.cs (1)
36public override bool Equals(object? obj)
FileKey.cs (1)
50public override bool Equals(object? obj)
InternalUtilities\VoidResult.cs (1)
14public override bool Equals(object? obj)
IReferenceOrISignature.cs (1)
32public override bool Equals(object? obj) => false;
MetadataReader\MetadataTypeName.Key.cs (1)
92public override bool Equals(object obj)
MetadataReference\MetadataReferenceProperties.cs (1)
159public override bool Equals(object? obj)
Operations\CaptureId.cs (1)
29public override bool Equals(object? obj) => obj is CaptureId && Equals((CaptureId)obj);
PEWriter\SequencePoint.cs (1)
49public override bool Equals(object? obj)
PEWriter\SourceSpan.cs (1)
42public override bool Equals(object? obj)
PEWriter\Units.cs (1)
53public override bool Equals(object? obj)
PEWriter\UsedNamespaceOrType.cs (1)
61public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
301public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
317public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
173public override bool Equals(object? obj)
Symbols\Attributes\AttributeUsageInfo.cs (1)
116public override bool Equals(object? obj)
Symbols\NullabilityInfo.cs (1)
36public override bool Equals(object? other) =>
Symbols\TypedConstant.cs (1)
200public override bool Equals(object? obj)
Symbols\TypedConstantValue.cs (1)
67public override bool Equals(object? obj)
Symbols\TypeLayout.cs (1)
68public override bool Equals(object? obj)
Syntax\ChildSyntaxList.cs (1)
447public override bool Equals(object? obj)
Syntax\ChildSyntaxList.Reversed.cs (1)
58public override bool Equals(object? obj)
Syntax\InternalSyntax\SeparatedSyntaxList.cs (1)
93public override bool Equals(object? obj)
Syntax\InternalSyntax\SyntaxList`1.cs (1)
151public override bool Equals(object? obj)
Syntax\LineMapping.cs (1)
47public override bool Equals(object? obj)
Syntax\SeparatedSyntaxList.cs (1)
349public override bool Equals(object? obj)
Syntax\SeparatedSyntaxList.Enumerator.cs (1)
54public override bool Equals(object? obj)
Syntax\SyntaxList`1.cs (1)
475public override bool Equals(object? obj)
Syntax\SyntaxList`1.Enumerator.cs (1)
51public override bool Equals(object? obj)
Syntax\SyntaxNodeOrToken.cs (1)
731public override bool Equals(object? obj)
Syntax\SyntaxNodeOrTokenList.cs (2)
517public override bool Equals(object? obj) 592public override bool Equals(object? obj)
Syntax\SyntaxToken.cs (1)
564public override bool Equals(object? obj)
Syntax\SyntaxTokenList.cs (1)
504public override bool Equals(object? obj)
Syntax\SyntaxTokenList.Enumerator.cs (1)
120public override bool Equals(object? obj)
Syntax\SyntaxTokenList.Reversed.cs (2)
54public override bool Equals(object? obj) 131public override bool Equals(object? obj)
Syntax\SyntaxTrivia.cs (1)
277public override bool Equals(object? obj)
Syntax\SyntaxTriviaList.cs (1)
477public override bool Equals(object? obj)
Syntax\SyntaxTriviaList.Reversed.cs (1)
59public override bool Equals(object? obj)
Text\LinePosition.cs (1)
114public override bool Equals(object? obj)
Text\LinePositionSpan.cs (1)
56public override bool Equals(object? obj)
Text\TextChange.cs (1)
57public override bool Equals(object? obj)
Text\TextChangeRange.cs (1)
60public override bool Equals(object? obj)
Text\TextLine.cs (1)
200public override bool Equals(object? obj)
Text\TextLineCollection.cs (1)
153public override bool Equals(object? obj)
Text\TextSpan.cs (1)
227public override bool Equals(object? obj)
Microsoft.CodeAnalysis.CodeStyle (10)
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
50public override bool Equals(object? obj)
src\Compilers\Core\Portable\InternalUtilities\VoidResult.cs (1)
14public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
301public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
317public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
173public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
63public override bool Equals(object obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (1)
32public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (1)
52public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
549public override bool Equals(object obj)
Microsoft.CodeAnalysis.Collections.Package (4)
ImmutableSegmentedDictionary`2.cs (1)
301public override bool Equals(object? obj)
ImmutableSegmentedHashSet`1.cs (1)
317public override bool Equals(object? obj)
ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
SegmentedArray`1.cs (1)
173public override bool Equals(object? obj)
Microsoft.CodeAnalysis.CSharp (21)
Binder\BinderFactory.cs (1)
41public override bool Equals(object obj)
Binder\DecisionDagBuilder.cs (1)
2025public override bool Equals(object? obj)
Binder\SafeContext.cs (1)
111public override bool Equals(object? obj)
Binder\Semantics\Conversions\Conversion.cs (1)
1171public override bool Equals(object? obj)
Binder\Semantics\Operators\BinaryOperatorAnalysisResult.cs (1)
42public override bool Equals(object obj)
Binder\Semantics\Operators\BinaryOperatorSignature.cs (1)
79public override bool Equals(object obj)
Binder\Semantics\OverloadResolution\MemberAnalysisResult.cs (1)
142public override bool Equals(object obj)
Binder\Semantics\OverloadResolution\MemberResolutionResult.cs (1)
127public override bool Equals(object? obj)
BoundTree\BoundExpression.cs (1)
703public override bool Equals(object? obj)
Compilation\AwaitExpressionInfo.cs (1)
31public override bool Equals(object? obj)
Compilation\CSharpCompilation.cs (1)
2799public override bool Equals(object? obj)
Compilation\ForEachStatementInfo.cs (1)
84public override bool Equals(object? obj)
Compilation\QueryClauseInfo.cs (1)
51public override bool Equals(object? obj)
Compilation\TypeInfo.cs (1)
59public override bool Equals(object obj)
Declarations\SingleTypeDeclaration.cs (1)
231public override bool Equals(object obj)
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (1)
88public override bool Equals(object? obj)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
87public override bool Equals(object? obj)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
60public override bool Equals(object obj)
Symbols\NamespaceExtent.cs (1)
119public override bool Equals(object obj)
Symbols\Synthesized\RefKindVector.cs (1)
74public override bool Equals(object? obj)
Symbols\TypeWithAnnotations.cs (1)
759public override bool Equals(object other)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
FindReferences\FindReferencesTests.vb (1)
209Public Overrides Function Equals(obj As Object) As Boolean
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (4)
ILSpan.cs (1)
29public override bool Equals(object obj) => obj is ILSpan && Equals((ILSpan)obj);
MetadataBlock.cs (1)
53public override bool Equals(object obj)
MetadataContextId.cs (1)
25public override bool Equals(object obj)
PDB\MethodDebugInfo.Native.cs (1)
42public override bool Equals(object obj)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Debugger\Engine\DkmClrMethodId.cs (1)
42public override bool Equals(object obj)
Microsoft.CodeAnalysis.ExternalAccess.AspNetCore (1)
EmbeddedLanguages\AspNetCoreVirtualChar.cs (1)
44public override bool Equals(object? obj) => obj is AspNetCoreVirtualChar vc && Equals(vc);
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
FSharpDocumentSpan.cs (1)
33public override bool Equals(object obj)
Microsoft.CodeAnalysis.Features (5)
Contracts\EditAndContinue\ManagedModuleMethodId.cs (1)
74public override bool Equals(object? obj) => obj is ManagedModuleMethodId method && Equals(method);
Contracts\EditAndContinue\SourceSpan.cs (1)
89public override bool Equals(object? obj) => obj is SourceSpan span && Equals(span);
ExtractMethod\ExtractMethodMatrix.cs (1)
225public override bool Equals(object obj)
FullyQualify\AbstractFullyQualifyService.SymbolResult.cs (1)
34public override bool Equals(object? obj)
NavigationBar\NavigationBarItems\RoslynNavigationBarItem.SymbolItem.cs (1)
95public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\RudeEditDiagnosticDescription.cs (1)
39public override bool Equals(object? obj)
Microsoft.CodeAnalysis.InteractiveHost (1)
src\Compilers\Core\Portable\InternalUtilities\VoidResult.cs (1)
14public override bool Equals(object? obj)
Microsoft.CodeAnalysis.LanguageServer.Protocol (5)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (1)
206public override bool Equals(object? obj)
Protocol\Internal\Text\ImageId.cs (1)
78public override bool Equals(object other)
Protocol\SumType.cs (3)
187public override bool Equals(object obj) 470public override bool Equals(object obj) 851public override bool Equals(object obj)
Microsoft.CodeAnalysis.Remote.Workspaces (1)
VisualStudioMefHostServices.cs (1)
88public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\CustomAttributeRow.cs (1)
30public override bool Equals(object obj)
Microsoft.CodeAnalysis.VisualBasic (8)
Analysis\FlowAnalysis\DataFlowPass.VariableIdentifier.vb (1)
47Public Overrides Function Equals(obj As Object) As Boolean
Binding\Binder_Lookup.vb (1)
1435Public Overloads Overrides Function Equals(obj As Object) As Boolean
BoundTree\BoundTypeOrValueExpression.vb (1)
67Public Overrides Function Equals(obj As Object) As Boolean
Compilation\PreprocessingSymbolInfo.vb (1)
58Public Overrides Function Equals(obj As Object) As Boolean
Compilation\TypeInfo.vb (1)
67Public Overrides Function Equals(obj As Object) As Boolean
Semantics\Conversions.vb (1)
251Public Overloads Overrides Function Equals(obj As Object) As Boolean
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (1)
107Public Overloads Overrides Function Equals(obj As Object) As Boolean
Symbols\TypeWithModifiers.vb (1)
28Public Overrides Function Equals(obj As Object) As Boolean
Microsoft.CodeAnalysis.Workspaces (15)
Differencing\Edit.cs (1)
64public override bool Equals(object obj)
Differencing\SequenceEdit.cs (1)
66public override bool Equals(object obj)
src\Compilers\Core\Portable\Collections\BitVector.cs (1)
50public override bool Equals(object? obj)
src\Compilers\Core\Portable\InternalUtilities\VoidResult.cs (1)
14public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
301public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
317public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
173public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeGeneration\ParameterName.cs (1)
63public override bool Equals(object obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (1)
32public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolUsageInfo.cs (1)
52public override bool Equals(object? obj)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (1)
549public override bool Equals(object obj)
Utilities\ReferenceHolder`1.cs (1)
52public override bool Equals(object? obj)
Workspace\Solution\CompilationOutputInfo.cs (1)
64public override bool Equals(object? obj)
Workspace\Solution\VersionStamp.cs (1)
145public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Workspaces.Desktop (1)
Workspace\Host\Mef\MefV1HostServices.cs (1)
131public override bool Equals(object obj)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\VoidResult.cs (1)
14public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
301public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
317public override bool Equals(object? obj)
src\Dependencies\Collections\ImmutableSegmentedList`1.cs (1)
588public override bool Equals(object? obj)
src\Dependencies\Collections\SegmentedArray`1.cs (1)
173public override bool Equals(object? obj)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\TestComposition.cs (1)
41public override bool Equals(object? obj)
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolStore.cs (1)
94public override bool Equals(object obj)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeArray.cs (1)
71public override bool Equals(object obj)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\TypeTable.cs (1)
31public override bool Equals(object obj)
Microsoft\CSharp\RuntimeBinder\SymbolTable.cs (1)
39public override bool Equals(object obj)
Microsoft.DotNet.Build.Tasks.Feed (2)
src\model\TargetChannelConfig.cs (2)
83public override bool Equals(object other) 185public override bool Equals(object obj)
Microsoft.DotNet.SignTool (2)
src\ExplicitCertificateKey.cs (1)
26public override bool Equals(object obj)
src\SignedFileContentKey.cs (1)
41public override bool Equals(object obj)
Microsoft.Extensions.AsyncState (1)
AsyncStateToken.cs (1)
25public override bool Equals(object? obj)
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.StampedeKey.cs (1)
47public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.Compliance.Abstractions (1)
Classification\DataClassification.cs (1)
56public override bool Equals(object? obj) => (obj is DataClassification dc) && Equals(dc);
Microsoft.Extensions.Compliance.Testing (2)
RedactedData.cs (1)
47public override bool Equals(object? obj) => obj is RedactedData other && Equals(other);
RedactorRequested.cs (1)
40public override bool Equals(object? obj) => obj is RedactorRequested other && Equals(other);
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\ServiceCacheKey.cs (1)
47public override bool Equals([NotNullWhen(true)] object? obj) =>
ServiceLookup\ServiceIdentifier.cs (1)
44public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.DependencyModel (1)
Dependency.cs (1)
34public override bool Equals([NotNullWhen(true)] object? obj) => obj is Dependency dependency && Equals(dependency);
Microsoft.Extensions.Diagnostics.ExceptionSummarization (1)
ExceptionSummary.cs (1)
91public override bool Equals(object? obj) => obj is ExceptionSummary summary && Equals(summary);
Microsoft.Extensions.FileSystemGlobbing (1)
FilePatternMatch.cs (1)
62public override bool Equals([NotNullWhen(true)] object? obj) =>
Microsoft.Extensions.Logging.Abstractions (1)
EventId.cs (1)
83public override bool Equals([NotNullWhen(true)] object? obj)
Microsoft.Extensions.Primitives (2)
StringSegment.cs (1)
197public override bool Equals([NotNullWhen(true)] object? obj)
StringValues.cs (1)
707public override bool Equals(object? obj)
Microsoft.Extensions.Telemetry (2)
src\Shared\Memoization\MemoizedFunction.cs (2)
51public override bool Equals(object? obj) => obj is MemoizedFunction<TParameter, TResult>.Arg arg && Equals(arg); 122public override bool Equals(object? obj) => obj is MemoizedFunction<TParameter1, TParameter2, TResult>.Args args && Equals(args);
Microsoft.Extensions.Telemetry.Abstractions (2)
Latency\Checkpoint.cs (1)
51public override bool Equals(object? obj) => obj is Checkpoint m && Equals(m);
Latency\Measure.cs (1)
44public override bool Equals(object? obj) => obj is Measure m && Equals(m);
Microsoft.Interop.ComInterfaceGenerator (1)
src\libraries\System.Private.CoreLib\src\System\Index.cs (1)
125public override bool Equals([NotNullWhen(true)] object? value) => value is Index && _value == ((Index)value)._value;
Microsoft.Maui (7)
Layouts\FlexEnums.cs (1)
100 public override bool Equals(object? obj) => obj is FlexBasis other && Equals(other);
Primitives\CornerRadius.cs (1)
53 public override bool Equals(object? obj)
Primitives\Font.cs (1)
98 public override bool Equals(object? obj)
Primitives\GridLength.cs (1)
62 public override bool Equals(object? obj)
Primitives\SizeRequest.cs (1)
47 public override bool Equals(object? obj) => obj is SizeRequest other && Equals(other);
Primitives\Thickness.cs (1)
71 public override bool Equals(object? obj)
WeakEventManager.cs (1)
162 public override bool Equals(object? obj) => obj is Subscription other && Equals(other);
Microsoft.Maui.Controls (4)
LayoutOptions.cs (1)
79 public override bool Equals(object obj) => obj is LayoutOptions other && Equals(other);
Region.cs (1)
129 public override bool Equals(object obj) => obj is Region other && Equals(other);
SetterSpecificity.cs (1)
198 public override bool Equals(object obj) => obj is SetterSpecificity s && s._value == _value;
Shapes\Matrix.cs (1)
679 public override bool Equals(object obj) => obj is Matrix other && Equals(other);
Microsoft.Maui.Controls.BindingSourceGen (2)
EquatableArray.cs (1)
40 public override bool Equals(object? obj)
HashCode.cs (1)
155 public override bool Equals(object obj) => throw new NotSupportedException();
Microsoft.Maui.Controls.SourceGen (1)
src\Controls\src\Xaml\XmlName.cs (1)
28 public override bool Equals(object obj)
Microsoft.Maui.Controls.Xaml (1)
XmlName.cs (1)
28 public override bool Equals(object obj)
Microsoft.Maui.Essentials (9)
Accelerometer\Accelerometer.shared.cs (1)
154 public override bool Equals(object? obj) =>
Barometer\Barometer.shared.cs (1)
151 public override bool Equals(object? obj) =>
Compass\Compass.shared.cs (1)
209 public override bool Equals(object? obj) =>
Gyroscope\Gyroscope.shared.cs (1)
146 public override bool Equals(object? obj) =>
Magnetometer\Magnetometer.shared.cs (1)
150 public override bool Equals(object? obj) =>
OrientationSensor\OrientationSensor.shared.cs (1)
151 public override bool Equals(object? obj) =>
Types\DeviceIdiom.shared.cs (1)
73 public override bool Equals(object obj) =>
Types\DevicePlatform.shared.cs (1)
96 public override bool Equals(object obj) =>
Types\DisplayInfo.shared.cs (1)
102 public override bool Equals(object obj) =>
Microsoft.Maui.Graphics (8)
Font.cs (1)
53 public override bool Equals(object obj)
FontSource.cs (1)
31 public override bool Equals(object? obj) => obj is FontSource other && Equals(other);
Point.cs (1)
48 public override bool Equals(object o)
PointF.cs (1)
42 public override bool Equals(object o)
Rect.cs (1)
50 public override bool Equals(object obj)
RectF.cs (1)
51 public override bool Equals(object obj)
Size.cs (1)
81 public override bool Equals(object obj)
SizeF.cs (1)
96 public override bool Equals(object obj)
Microsoft.Maui.Maps (1)
Primitives\Distance.cs (1)
80 public override bool Equals(object? obj)
Microsoft.ML.Core (1)
ComponentModel\ComponentCatalog.cs (1)
114public override bool Equals(object obj)
Microsoft.ML.DataView (1)
DataViewRowId.cs (1)
54public override bool Equals(object obj)
Microsoft.ML.Tokenizers (2)
Utils\StringSpanOrdinalKey.cs (2)
40public override bool Equals(object? obj) => 65public override bool Equals(object? obj) =>
Microsoft.ML.Transforms (1)
Expression\MethodGenerator.cs (1)
126public override bool Equals(object obj)
Microsoft.VisualStudio.LanguageServices (1)
src\Compilers\Core\Portable\FileKey.cs (1)
50public override bool Equals(object? obj)
PresentationBuildTasks (2)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\BamlMapTable.cs (2)
1847public override bool Equals(object o) 1909public override bool Equals(object o)
PresentationCore (35)
MS\Internal\FontFace\FontFamilyIdentifier.cs (1)
153public override bool Equals(object obj)
MS\Internal\FontFace\MatchingStyle.cs (2)
63public override bool Equals(Object o) 243public override bool Equals(Object o)
MS\Internal\Ink\StrokeFIndices.cs (1)
90public override bool Equals(Object obj)
MS\Internal\Ink\StrokeIntersection.cs (1)
105public override bool Equals(Object obj)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_core_types.cs (1)
466public override bool Equals(object obj)
System\Windows\BinaryFormat\Count.cs (1)
28public override bool Equals([NotNullWhen(true)] object? obj)
System\Windows\BinaryFormat\Id.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
System\Windows\ClassHandlersStore.cs (1)
229public override bool Equals(object o)
System\Windows\Duration.cs (1)
426public override bool Equals(Object value)
System\Windows\FontStretch.cs (1)
159public override bool Equals(object obj)
System\Windows\FontStyle.cs (1)
69public override bool Equals(object obj)
System\Windows\FontWeight.cs (1)
156public override bool Equals(object obj)
System\Windows\Input\Stylus\Common\StylusPoint.cs (1)
547public override bool Equals(object o)
System\Windows\InterOp\HwndSourceParameters.cs (1)
342public override bool Equals(object obj)
System\Windows\Media\Animation\KeyTime.cs (1)
171public override bool Equals(object value)
System\Windows\Media\Animation\RepeatBehavior.cs (1)
163public override bool Equals(Object value)
System\Windows\Media\Color.cs (2)
684public override bool Equals(object o) 1145public override bool Equals(object obj)
System\Windows\Media\PixelFormat.cs (2)
114public override bool Equals(Object obj) 463public override bool Equals(Object obj)
System\Windows\Media\textformatting\CharacterBufferReference.cs (1)
110public override bool Equals(object obj)
System\Windows\Media\textformatting\CharacterHit.cs (1)
106public override bool Equals(object obj)
System\Windows\Media\textformatting\CharacterString.cs (1)
177public override bool Equals(object obj)
System\Windows\Media\textformatting\MinMaxParagraphWidth.cs (1)
73public override bool Equals(object obj)
System\Windows\Media3D\Generated\Matrix3D.cs (1)
139public override bool Equals(object o)
System\Windows\Media3D\Generated\Point3D.cs (1)
99public override bool Equals(object o)
System\Windows\Media3D\Generated\Point4D.cs (1)
101public override bool Equals(object o)
System\Windows\Media3D\Generated\Quaternion.cs (1)
115public override bool Equals(object o)
System\Windows\Media3D\Generated\Rect3D.cs (1)
112public override bool Equals(object o)
System\Windows\Media3D\Generated\Size3D.cs (1)
106public override bool Equals(object o)
System\Windows\Media3D\Generated\Vector3D.cs (1)
99public override bool Equals(object o)
System\Windows\RoutedEventHandlerInfo.cs (1)
87public override bool Equals(object obj)
System\Windows\RouteItem.cs (1)
58public override bool Equals(object o)
System\Windows\SourceItem.cs (1)
51public override bool Equals(object o)
PresentationFramework (32)
MS\Internal\Data\AccessorTable.cs (1)
188public override bool Equals(object o) => o is AccessorTableKey other && Equals(other);
MS\Internal\Data\DataBindEngine.cs (1)
667public override bool Equals(object o) => o is ValueConverterTableKey other && Equals(other);
MS\Internal\Data\ViewManager.cs (1)
177public override bool Equals(object o)
MS\Internal\PtsHost\Pts.cs (3)
886public override bool Equals(object o) 936public override bool Equals(object o) 967public override bool Equals(object o)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (1)
158public override bool Equals(object obj) => obj is TextSegment that && this == that;
System\Windows\Controls\DataGridCellInfo.cs (1)
148public override bool Equals(object obj)
System\Windows\Controls\DataGridClipboardCellContent.cs (1)
54public override bool Equals(object data)
System\Windows\Controls\DataGridLength.cs (1)
155public override bool Equals(object obj)
System\Windows\Controls\PageRanges.cs (1)
167Equals(
System\Windows\Controls\Primitives\CustomPopupPlacement.cs (1)
82public override bool Equals(object o)
System\Windows\Controls\Primitives\HierarchicalVirtualizationConstraints.cs (1)
102override public bool Equals(object oCompare)
System\Windows\Controls\Primitives\HierarchicalVirtualizationHeaderDesiredSizes.cs (1)
85override public bool Equals(object oCompare)
System\Windows\Controls\Primitives\HierarchicalVirtualizationItemDesiredSizes.cs (1)
176override public bool Equals(object oCompare)
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
159public override bool Equals(object o)
System\Windows\Controls\VirtualizationCacheLength.cs (1)
123override public bool Equals(object oCompare)
System\Windows\CornerRadius.cs (1)
70public override bool Equals(object obj)
System\Windows\DependencyPropertyHelper.cs (1)
119public override bool Equals(object o)
System\Windows\Documents\DocumentSequence.cs (1)
1002public override bool Equals(object obj)
System\Windows\Documents\FixedNode.cs (1)
234public override bool Equals(object o)
System\Windows\FigureLength.cs (1)
183override public bool Equals(object oCompare)
System\Windows\GridLength.cs (1)
152override public bool Equals(object oCompare)
System\Windows\Markup\BamlMapTable.cs (2)
1847public override bool Equals(object o) 1909public override bool Equals(object o)
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
292public override bool Equals(object obj)
System\Windows\Standard\ErrorCodes.cs (2)
109public override bool Equals(object obj) 346public override bool Equals(object obj)
System\Windows\Standard\NativeMethods.cs (1)
2031public override bool Equals(object obj)
System\Windows\StyleHelper.cs (1)
5764public override bool Equals( object value )
System\Windows\ThemeMode.cs (1)
86public override bool Equals(object obj) => obj is ThemeMode other && Equals(other);
System\Windows\Thickness.cs (1)
71public override bool Equals(object obj)
ReachFramework (1)
PrintConfig\PTManager.cs (1)
102public override bool Equals(object o)
Shared (2)
Memoization\MemoizedFunction.cs (2)
51public override bool Equals(object? obj) => obj is MemoizedFunction<TParameter, TResult>.Arg arg && Equals(arg); 122public override bool Equals(object? obj) => obj is MemoizedFunction<TParameter1, TParameter2, TResult>.Args args && Equals(args);
System.Collections.Immutable (3)
System\Collections\Immutable\ImmutableArray_1.Minimal.cs (1)
307public override bool Equals([NotNullWhen(true)] object? obj)
System\Collections\Immutable\ImmutableDictionary_2.HashBucket.cs (1)
115public override bool Equals(object? obj)
System\Collections\Immutable\ImmutableHashSet_1.HashBucket.cs (1)
84public override bool Equals(object? obj)
System.Collections.Specialized (2)
System\Collections\Specialized\BitVector32.cs (2)
151public override bool Equals([NotNullWhen(true)] object? o) => o is BitVector32 other && Equals(other); 202public override bool Equals([NotNullWhen(true)] object? o) => o is Section other && Equals(other);
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ReflectionModel\LazyMemberInfo.cs (1)
109public override bool Equals(object? obj) =>
System.ComponentModel.TypeConverter (3)
System\ComponentModel\Design\Serialization\MemberRelationshipService.cs (2)
149public override bool Equals([NotNullWhen(true)] object? o) 207public override bool Equals([NotNullWhen(true)] object? obj) => obj is MemberRelationship rel && Equals(rel);
System\ComponentModel\InterlockedBitVector32.cs (1)
47public override bool Equals([NotNullWhen(true)] object? o) => o is InterlockedBitVector32 other && Equals(other);
System.Console (1)
System\ConsoleKeyInfo.cs (1)
51public override bool Equals([NotNullWhen(true)] object? value)
System.Data.Common (15)
System\Data\DataKey.cs (1)
151public override bool Equals(object? value)
System\Data\Selection.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Data\SQLTypes\SQLBinary.cs (1)
359public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLBoolean.cs (1)
466public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLByte.cs (1)
475public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDateTime.cs (1)
617public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDecimal.cs (1)
3301public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLDouble.cs (1)
391public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLGuid.cs (1)
282public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt16.cs (1)
476public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt32.cs (1)
491public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLInt64.cs (1)
550public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLMoney.cs (1)
545public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLSingle.cs (1)
401public override bool Equals([NotNullWhen(true)] object? value) =>
System\Data\SQLTypes\SQLString.cs (1)
877public override bool Equals([NotNullWhen(true)] object? value) =>
System.Diagnostics.DiagnosticSource (12)
System\Diagnostics\Activity.cs (2)
1946public override bool Equals([NotNullWhen(true)] object? obj) 2140public override bool Equals([NotNullWhen(true)] object? obj)
System\Diagnostics\ActivityContext.cs (1)
114public override bool Equals([NotNullWhen(true)] object? obj) => (obj is ActivityContext context) ? Equals(context) : false;
System\Diagnostics\ActivityLink.cs (1)
41public override bool Equals([NotNullWhen(true)] object? obj) => (obj is ActivityLink link) && this.Equals(link);
System\Diagnostics\Metrics\ObjectSequence.cs (4)
26public override bool Equals(object? obj) 50public override bool Equals(object? obj) 77public override bool Equals(object? obj) 117public override bool Equals(object? obj)
System\Diagnostics\Metrics\StringSequence.cs (4)
26public override bool Equals(object? obj) 49public override bool Equals(object? obj) 74public override bool Equals(object? obj) 94public override bool Equals(object? obj) =>
System.Diagnostics.PerformanceCounter (1)
artifacts\obj\System.Diagnostics.PerformanceCounter\Debug\net10.0\System.Diagnostics.PerformanceCounter.notsupported.cs (1)
50public override bool Equals(object o) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_PerfCounters); }
System.Diagnostics.StackTrace (1)
System\Diagnostics\SymbolStore\SymbolToken.cs (1)
21public override bool Equals([NotNullWhen(true)] object? obj)
System.Drawing.Common (1)
Special\NotSupported.cs (1)
246public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Primitives (7)
System\Drawing\Color.cs (1)
585public override bool Equals([NotNullWhen(true)] object? obj) => obj is Color other && Equals(other);
System\Drawing\Point.cs (1)
139public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Point && Equals((Point)obj);
System\Drawing\PointF.cs (1)
137public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is PointF && Equals((PointF)obj);
System\Drawing\Rectangle.cs (1)
159public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Rectangle && Equals((Rectangle)obj);
System\Drawing\RectangleF.cs (1)
189public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is RectangleF && Equals((RectangleF)obj);
System\Drawing\Size.cs (1)
180public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is Size && Equals((Size)obj);
System\Drawing\SizeF.cs (1)
167public override readonly bool Equals([NotNullWhen(true)] object? obj) => obj is SizeF && Equals((SizeF)obj);
System.Formats.Asn1 (2)
System\Formats\Asn1\Asn1Tag.cs (1)
397public override bool Equals([NotNullWhen(true)] object? obj)
System\Formats\Asn1\AsnWriter.cs (1)
819public override bool Equals([NotNullWhen(true)] object? obj) => obj is StackFrame other && Equals(other);
System.Formats.Nrbf (1)
System\Formats\Nrbf\SerializationRecordId.cs (1)
55public override bool Equals(object? obj) => obj is SerializationRecordId other && Equals(other);
System.Linq.Expressions (2)
System\Linq\Expressions\Compiler\BoundConstants.cs (1)
46public override bool Equals([NotNullWhen(true)] object? obj)
System\Linq\Expressions\Interpreter\LocalVariables.cs (1)
59public override bool Equals([NotNullWhen(true)] object? obj) => obj is LocalDefinition other && Equals(other);
System.Memory (1)
System\SequencePosition.cs (1)
50public override bool Equals([NotNullWhen(true)] object? obj) => obj is SequencePosition other && this.Equals(other);
System.Net.Http (2)
System\Net\Http\Headers\HeaderDescriptor.cs (1)
56public override bool Equals(object? obj) => throw new InvalidOperationException(); // Ensure this is never called, to avoid boxing
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (1)
545public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.NameResolution (1)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.Primitives (3)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\CredentialCache.cs (1)
382public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\IPNetwork.cs (1)
324public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.Quic (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Net\Quic\Internal\MsQuicConfiguration.Cache.cs (1)
73public override bool Equals(object? obj) => obj is CacheKey key && Equals(key);
System\Net\Quic\Interop\QUIC_SETTINGS.IEquattable.cs (1)
90public override readonly bool Equals(object? obj)
System.Net.Security (4)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
43public override bool Equals(object? obj) => obj is SslContextCacheKey key && Equals(key);
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Net\Security\SslApplicationProtocol.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj) => obj is SslApplicationProtocol protocol && Equals(protocol);
System\Net\Security\SslSessionsCache.cs (1)
73public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Net.Sockets (3)
src\libraries\Common\src\Interop\Unix\System.Native\Interop.IPAddress.cs (1)
42public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Net\Sockets\IPPacketInformation.cs (1)
29public override bool Equals([NotNullWhen(true)] object? comparand) =>
System\Net\Sockets\UdpReceiveResult.cs (1)
66public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Numerics.Tensors (4)
System\NIndex.cs (1)
146public override bool Equals([NotNullWhen(true)] object? value) => value is NIndex other && _value == other._value;
System\NRange.cs (1)
48public override bool Equals([NotNullWhen(true)] object? value) =>
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (1)
434public override bool Equals(object? obj) =>
System\Numerics\Tensors\netcore\TensorSpan.cs (1)
440public override bool Equals(object? obj) =>
System.Private.CoreLib (85)
src\libraries\System.Private.CoreLib\src\System\ArraySegment.cs (1)
125public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
119public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Buffers\StandardFormat.cs (1)
135public override bool Equals([NotNullWhen(true)] object? obj) => obj is StandardFormat other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
75public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
116public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (1)
269public override bool Equals([NotNullWhen(true)] object? value) => value is DateOnly dateOnly && _dayNumber == dateOnly._dayNumber;
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1189public override bool Equals([NotNullWhen(true)] object? value)
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (1)
590public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
447public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventDescriptor.cs (1)
94public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
301public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
1190public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
983public override bool Equals([NotNullWhen(true)] object? o) => o is Guid g && EqualsCore(this, g);
src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
472public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\HashCode.cs (1)
503public override bool Equals(object? obj) => throw new NotSupportedException(SR.HashCode_EqualityNotSupported);
src\libraries\System.Private.CoreLib\src\System\Index.cs (1)
125public override bool Equals([NotNullWhen(true)] object? value) => value is Index && _value == ((Index)value)._value;
src\libraries\System.Private.CoreLib\src\System\Int128.cs (1)
83public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
76public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
93public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
90public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (1)
88public override bool Equals([NotNullWhen(true)] object? obj) => (obj is nint other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Memory.cs (1)
450public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Nullable.cs (1)
58public override bool Equals(object? other)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.cs (1)
314public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.Impl.cs (1)
477public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.cs (1)
671public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix4x4.Impl.cs (1)
1596public override readonly bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
176public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Plane other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (1)
431public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Quaternion other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\TotalOrderIeee754Comparer.cs (1)
232public override bool Equals([NotNullWhen(true)] object? obj) => obj is TotalOrderIeee754Comparer<T>;
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
681public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector2 other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
714public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector3 other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
719public override readonly bool Equals([NotNullWhen(true)] object? obj) => (obj is Vector4 other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Range.cs (1)
47public override bool Equals([NotNullWhen(true)] object? value) =>
src\libraries\System.Private.CoreLib\src\System\ReadOnlyMemory.cs (1)
362public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeNamedArgument.cs (1)
52public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\CustomAttributeTypedArgument.cs (1)
89public override bool Equals([NotNullWhen(true)] object? obj) => obj is CustomAttributeTypedArgument cata && Equals(cata);
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\Label.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\Opcode.cs (1)
123public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ArrayWithOffset.cs (1)
53public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CLong.cs (1)
58public override bool Equals([NotNullWhen(true)] object? o) => o is CLong other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\CULong.cs (1)
58public override bool Equals([NotNullWhen(true)] object? o) => o is CULong other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\GCHandle.cs (1)
168public override readonly bool Equals([NotNullWhen(true)] object? o) => o is GCHandle other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
821public override bool Equals([NotNullWhen(true)] object? obj) => (obj is NFloat other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\OSPlatform.cs (1)
45public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\StreamingContext.cs (1)
30public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
78public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
322public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Span.cs (1)
191public override bool Equals(object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Text\Rune.cs (1)
778public override bool Equals([NotNullWhen(true)] object? obj) => (obj is Rune other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationToken.cs (1)
319public override bool Equals([NotNullWhen(true)] object? other) => other is CancellationToken && Equals((CancellationToken)other);
src\libraries\System.Private.CoreLib\src\System\Threading\CancellationTokenRegistration.cs (1)
140public override bool Equals([NotNullWhen(true)] object? obj) => obj is CancellationTokenRegistration other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\ExecutionContext.cs (1)
596public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (1)
841public override bool Equals(object? obj) => obj is State other && this == other;
src\libraries\System.Private.CoreLib\src\System\Threading\LowLevelLifoSemaphore.cs (1)
369public override bool Equals([NotNullWhen(true)] object? obj) => obj is Counts other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.ThreadCounts.cs (1)
120public override bool Equals([NotNullWhen(true)] object? obj) => obj is ThreadCounts other && Equals(other);
src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerTracking.cs (1)
122public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ValueTask.cs (2)
150public override bool Equals([NotNullWhen(true)] object? obj) => 547public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (1)
431public override bool Equals([NotNullWhen(true)] object? value) => value is TimeOnly timeOnly && _ticks == timeOnly._ticks;
src\libraries\System.Private.CoreLib\src\System\TimeSpan.cs (1)
431public override bool Equals([NotNullWhen(true)] object? value) => (value is TimeSpan other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\TimeZoneInfo.TransitionTime.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj) =>
src\libraries\System.Private.CoreLib\src\System\TypedReference.cs (1)
73public override bool Equals(object? o)
src\libraries\System.Private.CoreLib\src\System\UInt128.cs (1)
85public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
71public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj)
src\libraries\System.Private.CoreLib\src\System\UIntPtr.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj) => (obj is nuint other) && Equals(other);
src\libraries\System.Private.CoreLib\src\System\ValueTuple.cs (9)
42public override bool Equals([NotNullWhen(true)] object? obj) 293public override bool Equals([NotNullWhen(true)] object? obj) 465public override bool Equals([NotNullWhen(true)] object? obj) 671public override bool Equals([NotNullWhen(true)] object? obj) 876public override bool Equals([NotNullWhen(true)] object? obj) 1099public override bool Equals([NotNullWhen(true)] object? obj) 1340public override bool Equals([NotNullWhen(true)] object? obj) 1599public override bool Equals([NotNullWhen(true)] object? obj) 1882public override bool Equals([NotNullWhen(true)] object? obj)
src\System\ArgIterator.cs (1)
174public override bool Equals(object? o)
src\System\Reflection\Emit\RuntimeMethodBuilder.cs (1)
900public override bool Equals(object? obj)
src\System\Reflection\MdImport.cs (1)
215public override bool Equals(object? obj)
src\System\Runtime\CompilerServices\VirtualDispatchHelpers.cs (1)
38public override bool Equals(object? obj) => obj is VirtualResolutionData other && Equals(other);
src\System\RuntimeHandles.cs (4)
85public override bool Equals(object? obj) 978public override bool Equals(object? obj) 1421public override bool Equals(object? obj) 1690public override bool Equals([NotNullWhen(true)] object? obj)
System.Private.Windows.Core (3)
System\Private\Windows\Core\Count.cs (1)
29public override bool Equals([NotNullWhen(true)] object? obj)
System\Private\Windows\Core\Id.cs (1)
33public override bool Equals([NotNullWhen(true)] object? obj)
Windows\Win32\System\Com\CY.cs (1)
9public override readonly bool Equals(object? obj) => obj is CY cy && Equals(cy);
System.Private.Xml (3)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
102public override bool Equals([NotNullWhen(true)] object? other) =>
System\Xml\Xsl\Pair.cs (1)
21public override bool Equals([NotNullWhen(true)] object? other) =>
System\Xml\Xsl\XmlQueryCardinality.cs (1)
123public override bool Equals([NotNullWhen(true)] object? other)
System.Reflection.Metadata (45)
System\Reflection\Metadata\BlobContentId.cs (1)
127public override bool Equals([NotNullWhen(true)] object? obj) => obj is BlobContentId bcid && Equals(bcid);
System\Reflection\Metadata\Ecma335\EditAndContinueLogEntry.cs (1)
19public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Reflection\Metadata\Ecma335\Encoding\LabelHandle.cs (1)
25public override bool Equals([NotNullWhen(true)] object? obj) => obj is LabelHandle labelHandle && Equals(labelHandle);
System\Reflection\Metadata\EntityHandle.cs (1)
98public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\Handle.cs (1)
163public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\DocumentNameBlobHandle.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\Handles.Debug.cs (7)
72public override bool Equals(object? obj) 155public override bool Equals(object? obj) 250public override bool Equals(object? obj) 333public override bool Equals(object? obj) 416public override bool Equals([NotNullWhen(true)] object? obj) 499public override bool Equals([NotNullWhen(true)] object? obj) 582public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\PortablePdb\SequencePoint.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\Signatures\SignatureHeader.cs (1)
89public override bool Equals([NotNullWhen(true)] object? obj)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (30)
72public override bool Equals(object? obj) 155public override bool Equals(object? obj) 238public override bool Equals(object? obj) 321public override bool Equals(object? obj) 416public override bool Equals(object? obj) 499public override bool Equals(object? obj) 582public override bool Equals(object? obj) 665public override bool Equals(object? obj) 748public override bool Equals(object? obj) 831public override bool Equals(object? obj) 914public override bool Equals(object? obj) 997public override bool Equals(object? obj) 1080public override bool Equals(object? obj) 1163public override bool Equals(object? obj) 1246public override bool Equals(object? obj) 1329public override bool Equals(object? obj) 1412public override bool Equals(object? obj) 1495public override bool Equals(object? obj) 1578public override bool Equals(object? obj) 1696public override bool Equals(object? obj) 1779public override bool Equals(object? obj) 1862public override bool Equals(object? obj) 1945public override bool Equals(object? obj) 2028public override bool Equals(object? obj) 2111public override bool Equals(object? obj) 2188public override bool Equals(object? obj) 2404public override bool Equals(object? obj) 2522public override bool Equals([NotNullWhen(true)] object? obj) 2653public override bool Equals([NotNullWhen(true)] object? obj) 2721public override bool Equals([NotNullWhen(true)] object? obj)
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\Types\RoArrayType.Key.cs (1)
36public override bool Equals([NotNullWhen(true)] object? obj) => obj is Key other && Equals(other);
System\Reflection\TypeLoading\Types\RoConstructedGenericType.Key.cs (1)
49public override bool Equals([NotNullWhen(true)] object? obj) => obj is Key other && Equals(other);
System.Runtime.Caching (2)
System\Runtime\Caching\CacheExpires.cs (1)
34public override bool Equals(object value) => value is ExpiresEntryRef other && Equals(other);
System\Runtime\Caching\CacheUsage.cs (1)
34public override bool Equals(object value) =>
System.Runtime.Numerics (2)
System\Numerics\BigInteger.cs (1)
1097public override bool Equals([NotNullWhen(true)] object? obj)
System\Numerics\Complex.cs (1)
347public override bool Equals([NotNullWhen(true)] object? obj)
System.Security.Cryptography (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.X509.cs (1)
429public override bool Equals([NotNullWhen(true)] object? obj) => obj is X509VerifyStatusCode other && Equals(other);
System\Security\Cryptography\CngProperty.cs (1)
57public override bool Equals([NotNullWhen(true)] object? obj)
System\Security\Cryptography\HashAlgorithmName.cs (1)
98public override bool Equals([NotNullWhen(true)] object? obj)
System.Security.Cryptography.Cose (2)
System\Security\Cryptography\Cose\CoseHeaderLabel.cs (1)
87public override bool Equals([NotNullWhen(true)] object? obj) => obj is CoseHeaderLabel otherObj && Equals(otherObj);
System\Security\Cryptography\Cose\CoseHeaderValue.cs (1)
248public override bool Equals([NotNullWhen(true)] object? obj) => obj is CoseHeaderValue otherObj && Equals(otherObj);
System.ServiceProcess.ServiceController (1)
artifacts\obj\System.ServiceProcess.ServiceController\Debug\net10.0\System.ServiceProcess.ServiceController.notsupported.cs (1)
134public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_ServiceController); }
System.Speech (4)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (4)
938public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 989public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 1032public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 1111public override bool Equals(object obj) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); }
System.Text.Json (2)
System\Text\Json\JsonEncodedText.cs (1)
165public override bool Equals([NotNullWhen(true)] object? obj)
System\Text\Json\Serialization\ReferenceEqualsWrapper.cs (1)
15public override bool Equals([NotNullWhen(true)] object? obj) => obj is ReferenceEqualsWrapper otherObj && Equals(otherObj);
System.Text.Json.SourceGeneration (1)
src\libraries\Common\src\SourceGenerators\DiagnosticInfo.cs (1)
40public override readonly bool Equals(object? obj) => obj is DiagnosticInfo info && Equals(info);
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\Regex.Cache.cs (1)
295public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Text\RegularExpressions\Symbolic\BitVector.cs (1)
186public override bool Equals([NotNullWhen(true)] object? obj) =>
System\Text\RegularExpressions\Symbolic\SymbolicRegexInfo.cs (1)
163public override bool Equals(object? obj) => obj is SymbolicRegexInfo i && Equals(i);
System.Threading (1)
System\Threading\LockCookie.cs (1)
22public override bool Equals([NotNullWhen(true)] object? obj) =>
System.Threading.Tasks.Dataflow (1)
Base\DataflowMessageHeader.cs (1)
60public override bool Equals([NotNullWhen(true)] object? obj)
System.Transactions.Local (3)
System\Transactions\EnlistmentTraceIdentifier.cs (1)
51public override bool Equals([NotNullWhen(true)] object? obj) => obj is EnlistmentTraceIdentifier enlistmentTraceId && Equals(enlistmentTraceId);
System\Transactions\TransactionOptions.cs (1)
27public override bool Equals([NotNullWhen(true)] object? obj) => obj is TransactionOptions transactionOptions && Equals(transactionOptions);
System\Transactions\TransactionTraceIdentifier.cs (1)
38public override bool Equals([NotNullWhen(true)] object? obj) => obj is TransactionTraceIdentifier transactionTraceId && Equals(transactionTraceId);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonControlLength.cs (1)
96public override bool Equals(object obj)
System.Windows.Forms (4)
System\Windows\Forms\Controls\Labels\LinkArea.cs (1)
39public override readonly bool Equals(object? o)
System\Windows\Forms\DataBinding\BindingMemberInfo.cs (1)
37public override bool Equals(object? otherObject)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPosition.cs (1)
24public override readonly bool Equals(object? other)
System\Windows\Forms\Rendering\ControlPaint.HLSColor.cs (1)
122public override bool Equals(object? o)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SelectionUIService.HitTestInfo.cs (1)
28public override bool Equals(object? obj)
System.Windows.Forms.Primitives (3)
System\Windows\Forms\Message.cs (1)
114public override readonly bool Equals(object? o)
System\Windows\Forms\Padding.cs (1)
135public override readonly bool Equals(object? other) => other is Padding otherPadding && Equals(otherPadding);
Windows\Win32\PInvoke.LCID.cs (1)
14public override readonly bool Equals(object? obj) => obj is LCID other && other.RawValue == RawValue;
System.Windows.Forms.PrivateSourceGenerators (1)
System\Windows\Forms\SourceGenerators\EquatableArray`1.cs (1)
36public override bool Equals(object obj)
System.Windows.Input.Manipulations (4)
System\Windows\Input\Manipulations\Manipulator2D.cs (1)
57public override bool Equals(object obj)
System\Windows\Input\Manipulations\PointF.cs (1)
125public override bool Equals(object obj)
System\Windows\Input\Manipulations\VectorD.cs (1)
136public override bool Equals(object o)
System\Windows\Input\Manipulations\VectorF.cs (1)
121public override bool Equals(object o)
UIAutomationClient (1)
MS\Win32\NativeMethods.cs (1)
68override public bool Equals(object oCompare)
VisualBasicSyntaxGenerator (1)
Grammar\GrammarGenerator.vb (1)
364Public Overrides Function Equals(obj As Object) As Boolean
xunit.console (1)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\Dependency.cs (1)
33public override bool Equals(object obj)
59 references to Equals
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
213if (!result.Equals(default(ReadResult)))
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\DataFlow\MaybeLattice.cs (1)
18 public bool Equals (Maybe<T> other) => MaybeValue?.Equals (other.MaybeValue) ?? other.MaybeValue == null;
Microsoft.Analyzers.Local.Tests (5)
Json\JsonValueTest.cs (5)
318Assert.True(JsonValue.Null.Equals((object?)null)); 319Assert.True(JsonValue.Null.Equals(JsonValue.Null)); 320Assert.True(JsonValue.Null.Equals(default)); 325Assert.False(JsonValue.Null.Equals(1)); 326Assert.False(JsonValue.Null.Equals(new InvalidOperationException()));
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
142resource.Equals(default(KeyValuePair<string, JsonNode?>)).ShouldBe(!isResourceExpected,
Microsoft.CodeAnalysis (2)
CommandLine\CommandLineAnalyzerReference.cs (1)
37return obj is CommandLineAnalyzerReference && base.Equals((CommandLineAnalyzerReference)obj);
CommandLine\CommandLineReference.cs (1)
45return obj is CommandLineReference && base.Equals((CommandLineReference)obj);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
172_segments.SequenceEqual(other._segments, static (x, y) => x.Equals(y));
Microsoft.CodeAnalysis.CSharp (6)
Symbols\Source\SourceComplexParameterSymbol.cs (6)
711Debug.Assert(description.Equals(AttributeDescription.DefaultParameterValueAttribute) || 712description.Equals(AttributeDescription.DecimalConstantAttribute) || 713description.Equals(AttributeDescription.DateTimeConstantAttribute)); 944if (description.Equals(AttributeDescription.DefaultParameterValueAttribute)) 948else if (description.Equals(AttributeDescription.DecimalConstantAttribute)) 954Debug.Assert(description.Equals(AttributeDescription.DateTimeConstantAttribute));
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
391if (!replacements[i].Equals(firstDocumentReplacements.Item2[i]))
Microsoft.CodeAnalysis.Features (4)
Contracts\EditAndContinue\ManagedInstructionId.cs (1)
51public static bool operator ==(ManagedInstructionId left, ManagedInstructionId right) => left.Equals(right);
Contracts\EditAndContinue\ManagedMethodId.cs (1)
59public static bool operator ==(ManagedMethodId left, ManagedMethodId right) => left.Equals(right);
EditAndContinue\NonRemappableRegion.cs (1)
46=> left.Equals(right);
EditAndContinue\SourceFileSpan.cs (1)
80=> left.Equals(right);
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\CustomAttributeRow.cs (1)
32return base.Equals((CustomAttributeRow)obj);
Microsoft.CodeAnalysis.UnitTests (4)
Collections\ImmutableSegmentedListTest.cs (4)
568Assert.False(ImmutableSegmentedList<int>.Empty.Equals(null)); 569Assert.False(ImmutableSegmentedList<int>.Empty.Equals("hi")); 570Assert.True(ImmutableSegmentedList<int>.Empty.Equals(ImmutableSegmentedList<int>.Empty)); 571Assert.False(ImmutableSegmentedList<int>.Empty.Add(3).Equals(ImmutableSegmentedList<int>.Empty.Add(3)));
Microsoft.CodeAnalysis.VisualBasic (1)
Analysis\FlowAnalysis\ControlFlowPass.LocalState.vb (1)
23Return Not self.Equals(old)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SyntaxPath.cs (1)
172_segments.SequenceEqual(other._segments, static (x, y) => x.Equals(y));
Workspace\Host\PersistentStorage\DocumentKey.cs (1)
49=> x.Equals(y);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
SymbolKeyTests.cs (1)
1318Assert.True(symbolKey1.Equals(symbolKey2));
Microsoft.ML.Data (2)
DataView\DataViewExtensions.cs (2)
26Contracts.Assert(dv.Schema[col.Index].Equals(col), $"The requested column named: {col.Name}, with index: {col.Index} and type: {col.Type}" + 41Contracts.Assert(dv.Schema[columnNeeded.Index].Equals(columnNeeded), $"The requested column named: {columnNeeded.Name}, with index: {columnNeeded.Index} and type: {columnNeeded.Type}" +
PresentationCore (2)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_core_types.cs (1)
468return base.Equals(obj);
System\Windows\Media\Color.cs (1)
1147return base.Equals(obj);
PresentationFramework (11)
MS\Internal\Annotations\TextAnchor.cs (7)
292Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 394Invariant.Assert(otherSegment.Equals(TextSegment.Null) || otherSegment.Equals(enumerator.Current) || otherSegment.End.CompareTo(enumerator.Current.Start) <= 0, "TextSegments are overlapping or not ordered."); 774if (x.Equals(TextSegment.Null)) 777if (y.Equals(TextSegment.Null)) 786if (y.Equals(TextSegment.Null))
MS\Internal\WindowsRuntime\Generated\WinRT\ObjectReference.cs (1)
142return unknownObjRef.VftblIUnknown.Equals(IUnknownVftbl.AbiToProjectionVftbl);
System\Windows\Standard\Debug.cs (2)
192if (!value.Equals(default(T))) 201if (value.Equals(default(T)))
System\Windows\Standard\Verify.cs (1)
102if (default(T).Equals(obj))
Shared.Tests (4)
Memoization\MemoizeTests.cs (4)
123Assert.True(a.Equals((object)a)); 170Assert.False(Args(0).Equals(null)); 179Assert.True(a.Equals((object?)a)); 228Assert.False(Args(0, 0).Equals(null));
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Nullable.cs (1)
62return value.Equals(other);
src\libraries\System.Private.CoreLib\src\System\Numerics\Plane.cs (1)
183public readonly bool Equals(Plane other) => this.AsVector128().Equals(other.AsVector128());
src\libraries\System.Private.CoreLib\src\System\Numerics\Quaternion.cs (1)
438public readonly bool Equals(Quaternion other) => this.AsVector128().Equals(other.AsVector128());
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (1)
688public readonly bool Equals(Vector2 other) => this.AsVector128().Equals(other.AsVector128());
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector3.cs (1)
721public readonly bool Equals(Vector3 other) => this.AsVector128().Equals(other.AsVector128());
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector4.cs (1)
713public readonly bool Equals(Vector4 other) => this.AsVector128().Equals(other.AsVector128());
System.Private.Windows.Core (1)
Windows\Win32\Foundation\HandleRef.cs (1)
49public static bool operator ==(HandleRef<THandle> left, HandleRef<THandle> right) => left.Equals(right);
UIAutomationClientSideProviders (1)
MS\Internal\AutomationProxies\NonClientArea.cs (1)
126&& !windowRect.Equals(clientRect);