Base:
method
Equals
Microsoft.CodeAnalysis.VisualBasic.Microsoft.CodeAnalysis.VisualBasic.Symbol.Equals(System.Object)
26 references to Equals
Microsoft.CodeAnalysis.VisualBasic (26)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
112other.ContainingType.Equals(Me.ContainingType)
Symbols\ArrayTypeSymbol.vb (1)
449Return Me.Equals(TryCast(symbol, ArrayTypeSymbol))
Symbols\CustomModifier.vb (2)
86Return other IsNot Nothing AndAlso other.m_Modifier.Equals(m_Modifier) 114Return other IsNot Nothing AndAlso other.m_Modifier.Equals(m_Modifier)
Symbols\InstanceErrorTypeSymbol.vb (1)
168If Not Me.Equals(other.OriginalDefinition) Then
Symbols\MissingMetadataTypeSymbol.vb (1)
308_containingType.Equals(other._containingType)
Symbols\NonMissingAssemblySymbol.vb (1)
201Debug.Assert(result1.Equals(result)) ' object identity may differ in error cases
Symbols\ReducedExtensionMethodSymbol.vb (1)
678other._receiverType.Equals(_receiverType)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
383Debug.Assert(result1.Equals(result)) 445Dim anythingRetargeted As Boolean = Not originalDefinition.Equals(newDefinition) 595If Not modifiersHaveChanged AndAlso oldElement.Equals(newElement) Then 612If Not newModifier.Equals(oldModifiers(i).Modifier) Then
Symbols\Source\LocalSymbol.vb (2)
155Debug.Assert((Me.IsFunctionValue AndAlso _container.Kind = SymbolKind.Method AndAlso DirectCast(_container, MethodSymbol).MethodKind = MethodKind.LambdaMethod) OrElse type.Equals(ComputeType())) 157Debug.Assert(type.Equals(_lazyType), "Attempted to set a local variable with a different type")
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2133If Not field.IsDefinition AndAlso field.Type.Equals(field.OriginalDefinition.Type) Then 2142If current.Report AndAlso Not cycleReportedForCurrentType AndAlso fieldType.OriginalDefinition.Equals(Me) Then
Symbols\SubstitutedErrorType.vb (1)
268If Not _fullInstanceType.Equals(obj.OriginalDefinition) Then
Symbols\SubstitutedFieldSymbol.vb (1)
194If Not _containingType.Equals(other._containingType) Then
Symbols\SubstitutedMethodSymbol.vb (1)
764If Not arguments(i).Equals(otherArguments(i)) Then
Symbols\SubstitutedNamedType.vb (1)
534If Not OriginalDefinition.Equals(other.OriginalDefinition) Then
Symbols\SubstitutedPropertySymbol.vb (1)
283If Not _containingType.Equals(other._containingType) Then
Symbols\SubstitutedTypeParameterSymbol.vb (1)
191Return other IsNot Nothing AndAlso Me.OriginalDefinition.Equals(other.OriginalDefinition) AndAlso Me.ContainingSymbol.Equals(other.ContainingSymbol, comparison)
Symbols\TypeSubstitution.vb (2)
140If p.Key.Equals(tp) Then Return p.Value 905If Not pair.Key.Equals(pair.Value.Type.OriginalDefinition) Then
Symbols\TypeSymbolExtensions.vb (2)
1021Debug.Assert(newTypeArguments(i).Equals(typeArgument)) 1032Debug.Assert(newTypeArguments(i).Equals(typeArgument))