Base:
method
Equals
Microsoft.CodeAnalysis.VisualBasic.Symbol.Equals(System.Object)
55 references to Equals
Microsoft.CodeAnalysis.VisualBasic (55)
Binding\Binder_Expressions.vb (2)
2593
If container.
Equals
(currentType) Then
3979
ElseIf Not noCommonType AndAlso Not commonType.
Equals
(expressionType) Then
Binding\Binder_InterpolatedString.vb (1)
229
If Not result.Type.
Equals
(targetType) Then
Binding\Binder_Lookup.vb (1)
1440
Return Me.InterfaceType.
Equals
(other.InterfaceType) AndAlso Me.InComInterfaceContext = other.InComInterfaceContext
Binding\Binder_ObjectInitializer.vb (1)
477
Debug.Assert(type.
Equals
(DirectCast(type0, NamedTypeSymbol).CoClassType))
Binding\Binder_Statements.vb (1)
5059
If isAsync AndAlso Not retType.IsErrorType() AndAlso methodReturnType.
Equals
(arg.Type) AndAlso
Binding\Binder_Symbols.vb (1)
719
If typeWithBaseBeingResolved.
Equals
(currentSymbol.OriginalDefinition) Then
Compilation\MethodCompiler.vb (2)
460
Not referencedConstructor.ContainingType.
Equals
(method.ContainingType))
720
If referencedConstructor.ContainingType.
Equals
(containingType) Then
Emit\SymbolTranslator.vb (1)
117
Not namedTypeSymbol.
Equals
(namedTypeSymbol.OriginalDefinition))
Lowering\LocalRewriter\LocalRewriter_ObjectCreation.vb (1)
40
Debug.Assert(result.Type.
Equals
(DirectCast(node.Type, NamedTypeSymbol).CoClassType))
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (1)
83
Dim isMyBase As Boolean = Not methodContainingType.
Equals
(containingType)
Semantics\AccessCheck.vb (8)
430
If baseTypeIsInterface = current.IsInterfaceType() AndAlso current.
Equals
(baseType) Then
466
If currentBase.
Equals
(baseType) Then
695
If containingType.
Equals
(type) Then
832
If containingType.
Equals
(probablyEnclosingType) Then
948
If container.OriginalDefinition.
Equals
(containerOfTypeDefinition) Then
962
If baseDefinition.
Equals
(containerOfTypeDefinition) Then
1055
If exposedType.
Equals
(base) Then
1077
If exposedType.
Equals
(base) Then
Semantics\Conversions.vb (6)
1746
DirectCast(destination, NamedTypeSymbol).EnumUnderlyingType.
Equals
(source) Then
1751
DirectCast(source, NamedTypeSymbol).EnumUnderlyingType.
Equals
(destination) Then
1758
srcUnderlying.
Equals
(DirectCast(destination, NamedTypeSymbol).EnumUnderlyingType) Then
3239
If srcUnderlying.
Equals
(dstUnderlying) Then
3245
ElseIf srcUnderlying.
Equals
(dstValueType) Then
3258
If IsNumericType(dstUnderlying) AndAlso dstUnderlying.
Equals
(srcValueType) Then
Semantics\TypeInference\TypeArgumentInference.vb (2)
458
delegateParam.Type.
Equals
(currentTypedNode.DeclaredTypeParam) Then
1054
typeParameter.
Equals
(_typeParameterNodes(ordinal).DeclaredTypeParam) Then
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_PropertyPublicSymbol.vb (1)
112
other.ContainingType.
Equals
(Me.ContainingType)
Symbols\CustomModifier.vb (2)
86
Return other IsNot Nothing AndAlso other.m_Modifier.
Equals
(m_Modifier)
114
Return other IsNot Nothing AndAlso other.m_Modifier.
Equals
(m_Modifier)
Symbols\InstanceErrorTypeSymbol.vb (1)
168
If Not Me.
Equals
(other.OriginalDefinition) Then
Symbols\MissingMetadataTypeSymbol.vb (1)
308
_containingType.
Equals
(other._containingType)
Symbols\NonMissingAssemblySymbol.vb (1)
201
Debug.Assert(result1.
Equals
(result)) ' object identity may differ in error cases
Symbols\ReducedExtensionMethodSymbol.vb (1)
682
other._receiverType.
Equals
(_receiverType)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (3)
380
Debug.Assert(result1.
Equals
(result))
442
Dim anythingRetargeted As Boolean = Not originalDefinition.
Equals
(newDefinition)
592
If Not modifiersHaveChanged AndAlso oldElement.
Equals
(newElement) Then
Symbols\Source\LocalSymbol.vb (2)
155
Debug.Assert((Me.IsFunctionValue AndAlso _container.Kind = SymbolKind.Method AndAlso DirectCast(_container, MethodSymbol).MethodKind = MethodKind.LambdaMethod) OrElse type.
Equals
(ComputeType()))
157
Debug.Assert(type.
Equals
(_lazyType), "Attempted to set a local variable with a different type")
Symbols\Source\SourceMemberContainerTypeSymbol.vb (2)
2135
If Not field.IsDefinition AndAlso field.Type.
Equals
(field.OriginalDefinition.Type) Then
2144
If current.Report AndAlso Not cycleReportedForCurrentType AndAlso fieldType.OriginalDefinition.
Equals
(Me) Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
1141
If Not baseClassType.
Equals
(baseInOtherPartial) Then
Symbols\SubstitutedErrorType.vb (1)
268
If Not _fullInstanceType.
Equals
(obj.OriginalDefinition) Then
Symbols\SubstitutedFieldSymbol.vb (1)
194
If Not _containingType.
Equals
(other._containingType) Then
Symbols\SubstitutedMethodSymbol.vb (2)
392
If Not Me.ContainingType.
Equals
(other.ContainingType) Then
768
If Not arguments(i).
Equals
(otherArguments(i)) Then
Symbols\SubstitutedNamedType.vb (1)
540
If Not OriginalDefinition.
Equals
(other.OriginalDefinition) Then
Symbols\SubstitutedPropertySymbol.vb (1)
287
If Not _containingType.
Equals
(other._containingType) Then
Symbols\SubstitutedTypeParameterSymbol.vb (1)
191
Return other IsNot Nothing AndAlso Me.OriginalDefinition.
Equals
(other.OriginalDefinition) AndAlso Me.ContainingSymbol.Equals(other.ContainingSymbol, comparison)
Symbols\Tuples\TupleFieldSymbol.vb (1)
235
Debug.Assert(name <> underlyingField.Name OrElse Not container.UnderlyingNamedType.
Equals
(underlyingField.ContainingType),
Symbols\TypeSubstitution.vb (2)
140
If p.Key.
Equals
(tp) Then Return p.Value
905
If Not pair.Key.
Equals
(pair.Value.Type.OriginalDefinition) Then
Symbols\TypeSymbolExtensions.vb (2)
1021
Debug.Assert(newTypeArguments(i).
Equals
(typeArgument))
1032
Debug.Assert(newTypeArguments(i).
Equals
(typeArgument))