Base:
method
Equals
Microsoft.CodeAnalysis.VisualBasic.Symbol.Equals(System.Object)
55 references to Equals
Microsoft.CodeAnalysis.VisualBasic (55)
Binding\Binder_Expressions.vb (2)
2593If container.Equals(currentType) Then 3979ElseIf Not noCommonType AndAlso Not commonType.Equals(expressionType) Then
Binding\Binder_InterpolatedString.vb (1)
229If Not result.Type.Equals(targetType) Then
Binding\Binder_Lookup.vb (1)
1440Return Me.InterfaceType.Equals(other.InterfaceType) AndAlso Me.InComInterfaceContext = other.InComInterfaceContext
Binding\Binder_ObjectInitializer.vb (1)
477Debug.Assert(type.Equals(DirectCast(type0, NamedTypeSymbol).CoClassType))
Binding\Binder_Statements.vb (1)
5059If isAsync AndAlso Not retType.IsErrorType() AndAlso methodReturnType.Equals(arg.Type) AndAlso
Binding\Binder_Symbols.vb (1)
719If typeWithBaseBeingResolved.Equals(currentSymbol.OriginalDefinition) Then
Compilation\MethodCompiler.vb (2)
460Not referencedConstructor.ContainingType.Equals(method.ContainingType)) 720If referencedConstructor.ContainingType.Equals(containingType) Then
Emit\SymbolTranslator.vb (1)
117Not namedTypeSymbol.Equals(namedTypeSymbol.OriginalDefinition))
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
40Debug.Assert(result.Type.Equals(DirectCast(node.Type, NamedTypeSymbol).CoClassType))
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
83Dim isMyBase As Boolean = Not methodContainingType.Equals(containingType)
Semantics\AccessCheck.vb (8)
430If baseTypeIsInterface = current.IsInterfaceType() AndAlso current.Equals(baseType) Then 466If currentBase.Equals(baseType) Then 695If containingType.Equals(type) Then 832If containingType.Equals(probablyEnclosingType) Then 948If container.OriginalDefinition.Equals(containerOfTypeDefinition) Then 962If baseDefinition.Equals(containerOfTypeDefinition) Then 1055If exposedType.Equals(base) Then 1077If exposedType.Equals(base) Then
Semantics\Conversions.vb (6)
1746DirectCast(destination, NamedTypeSymbol).EnumUnderlyingType.Equals(source) Then 1751DirectCast(source, NamedTypeSymbol).EnumUnderlyingType.Equals(destination) Then 1758srcUnderlying.Equals(DirectCast(destination, NamedTypeSymbol).EnumUnderlyingType) Then 3239If srcUnderlying.Equals(dstUnderlying) Then 3245ElseIf srcUnderlying.Equals(dstValueType) Then 3258If IsNumericType(dstUnderlying) AndAlso dstUnderlying.Equals(srcValueType) Then
Semantics\TypeInference\TypeArgumentInference.vb (2)
458delegateParam.Type.Equals(currentTypedNode.DeclaredTypeParam) Then 1054typeParameter.Equals(_typeParameterNodes(ordinal).DeclaredTypeParam) Then
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
112other.ContainingType.Equals(Me.ContainingType)
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)
682other._receiverType.Equals(_receiverType)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
380Debug.Assert(result1.Equals(result)) 442Dim anythingRetargeted As Boolean = Not originalDefinition.Equals(newDefinition) 592If Not modifiersHaveChanged AndAlso oldElement.Equals(newElement) 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)
2135If Not field.IsDefinition AndAlso field.Type.Equals(field.OriginalDefinition.Type) Then 2144If current.Report AndAlso Not cycleReportedForCurrentType AndAlso fieldType.OriginalDefinition.Equals(Me) Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1141If Not baseClassType.Equals(baseInOtherPartial) 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 (2)
392If Not Me.ContainingType.Equals(other.ContainingType) Then 768If Not arguments(i).Equals(otherArguments(i)) Then
Symbols\SubstitutedNamedType.vb (1)
540If Not OriginalDefinition.Equals(other.OriginalDefinition) Then
Symbols\SubstitutedPropertySymbol.vb (1)
287If 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\Tuples\TupleFieldSymbol.vb (1)
235Debug.Assert(name <> underlyingField.Name OrElse Not container.UnderlyingNamedType.Equals(underlyingField.ContainingType),
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))