16 overrides of AssociatedSymbol
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_XmlLiterals.vb (1)
1746Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\ErrorMethodSymbol.vb (1)
30Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
571Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\ReducedExtensionMethodSymbol.vb (1)
533Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
219Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\SignatureOnlyMethodSymbol.vb (1)
186Public Overrides ReadOnly Property AssociatedSymbol() As Symbol
Symbols\Source\LambdaSymbol.vb (1)
101Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\Source\SourceMethodSymbol.vb (1)
614Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (1)
1086Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\SubstitutedMethodSymbol.vb (1)
102Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\SynthesizedSymbols\SynthesizedDelegateMethodSymbol.vb (1)
77Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\SynthesizedSymbols\SynthesizedGlobalMethodBase.vb (1)
195Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\SynthesizedSymbols\SynthesizedMethodBase.vb (1)
31Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Symbols\Tuples\TupleMethodSymbol.vb (1)
44Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EEMethodSymbol.vb (1)
318Public Overrides ReadOnly Property AssociatedSymbol As Symbol
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
MockSymbols.vb (1)
399Public Overrides ReadOnly Property AssociatedSymbol As Symbol
71 references to AssociatedSymbol
Microsoft.CodeAnalysis.VisualBasic (49)
Analysis\Analyzer.vb (3)
30If method.IsImplicitlyDeclared AndAlso method.AssociatedSymbol IsNot Nothing AndAlso 31method.AssociatedSymbol.IsMyGroupCollectionProperty Then 42DirectCast(method.AssociatedSymbol, SynthesizedMyGroupCollectionPropertySymbol).RelocateDiagnostics(diagBag, diagnostics)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
1225(Me.MethodSymbol.MethodKind = MethodKind.EventAdd AndAlso DirectCast(Me.MethodSymbol.AssociatedSymbol, EventSymbol).IsWindowsRuntimeEvent) Then 1296localName = MethodSymbol.AssociatedSymbol.Name
Binding\Binder_Invocation.vb (1)
3140Dim propertyOrEvent As Symbol = DirectCast(container, MethodSymbol).AssociatedSymbol
Binding\MethodBodyBinder.vb (1)
83If DirectCast(methodSymbol.AssociatedSymbol, EventSymbol).IsWindowsRuntimeEvent AndAlso
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
21Dim propertySymbol = DirectCast(accessor.AssociatedSymbol, PropertySymbol)
BoundTree\BoundAssignmentOperator.vb (1)
143Dim value = TryCast(TryCast(node, BoundCall)?.Method?.AssociatedSymbol, PropertySymbol)?.ReturnsByRef
Compilation\ClsComplianceChecker.vb (2)
241Me.AddDiagnostic(symbol, ERRID.WRN_CLSEventMethodInNonCLSType3, attributeLocation, methodKind.TryGetAccessorDisplayName(), symbol.AssociatedSymbol.Name, containingType) 668Dim associated As Symbol = method.AssociatedSymbol
Compilation\MethodCompiler.vb (5)
1343Dim prop = TryCast(handledEvent.hookupMethod.AssociatedSymbol, SynthesizedOverridingWithEventsProperty) 1472method.AssociatedSymbol IsNot Nothing AndAlso 1473method.AssociatedSymbol.IsMyGroupCollectionProperty Then 1514DirectCast(method.AssociatedSymbol, SynthesizedMyGroupCollectionPropertySymbol).RelocateDiagnostics(diagnostics.DiagnosticBag, diagsForCurrentMethod.DiagnosticBag) 1551DirectCast(method.AssociatedSymbol, SynthesizedMyGroupCollectionPropertySymbol).RelocateDiagnostics(diagnostics.DiagnosticBag, diagsForCurrentMethod.DiagnosticBag)
Emit\NoPia\EmbeddedTypesManager.vb (1)
414Dim propertyOrEvent = method.AdaptedMethodSymbol.AssociatedSymbol
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
153Dim associatedSymbol = method.AssociatedSymbol
Lowering\LocalRewriter\LocalRewriter_BinaryOperators.vb (3)
203boundCall.Method.AssociatedSymbol IsNot Nothing AndAlso 204boundCall.Method.AssociatedSymbol.IsMyGroupCollectionProperty Then 207DirectCast(boundCall.Method.AssociatedSymbol, PropertySymbol).AssociatedField,
Lowering\StateMachineRewriter\SynthesizedStateMachineProperty.vb (1)
54Return DirectCast(_getter.ExplicitInterfaceImplementations(0).AssociatedSymbol, PropertySymbol)
Symbols\EmbeddedSymbols\EmbeddedSymbolManager.SymbolsCollection.vb (1)
237AddReferencedSymbolWithDependents(DirectCast(symbol, MethodSymbol).AssociatedSymbol, allSymbols)
Symbols\Metadata\PE\PEPropertyOrEventHelpers.vb (1)
38Dim associatedProperty = TryCast(implementedAccessor.AssociatedSymbol, T)
Symbols\MethodSymbol.vb (4)
314If Me.IsAccessor AndAlso Me.AssociatedSymbol.Kind = SymbolKind.Property Then 316Return DirectCast(Me.AssociatedSymbol, PropertySymbol).GetAccessorOverride(getter:=(MethodKind = MethodKind.PropertyGet)) 437Return Me.AssociatedSymbol 1075Return Me.AssociatedSymbol
Symbols\ObsoleteAttributeHelpers.vb (4)
63symbol = DirectCast(symbol, MethodSymbol).AssociatedSymbol 128If symbol.IsAccessor() AndAlso (DirectCast(symbol, MethodSymbol).AssociatedSymbol).Kind = SymbolKind.Property Then 134accessorString, accessorSymbol.AssociatedSymbol) 137accessorString, accessorSymbol.AssociatedSymbol, data.Message)
Symbols\Retargeting\RetargetingMethodSymbol.vb (1)
221Dim propertyOrEvent = _underlyingMethod.AssociatedSymbol
Symbols\Source\OverrideHidingHelper.vb (4)
259Debug.Assert(unimplementedMembers.Contains(DirectCast(member, MethodSymbol).AssociatedSymbol)) 473Dim associatedHidingSymbol = DirectCast(hidingMember, MethodSymbol).AssociatedSymbol 531If TypeOf method.AssociatedSymbol Is EventSymbol Then 536Return RequiresExplicitOverride(DirectCast(method.AssociatedSymbol, PropertySymbol))
Symbols\Source\SourceParameterSymbol.vb (1)
122Dim containingProperty = TryCast(containingMethod.AssociatedSymbol, PropertySymbol)
Symbols\SubstitutedNamedType.vb (8)
458Debug.Assert(memberMethod.AssociatedSymbol IsNot Nothing) 459Dim propertySymbol = SubstituteTypeParametersForMemberProperty(DirectCast(memberMethod.AssociatedSymbol, PropertySymbol)) 463Debug.Assert(memberMethod.AssociatedSymbol IsNot Nothing) 464Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol, EventSymbol)) 468Debug.Assert(memberMethod.AssociatedSymbol IsNot Nothing) 469Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol, EventSymbol)) 473Debug.Assert(memberMethod.AssociatedSymbol IsNot Nothing) 474Dim eventSymbol = SubstituteTypeParametersForMemberEvent(DirectCast(memberMethod.AssociatedSymbol, EventSymbol))
Symbols\SymbolExtensions.vb (1)
238Return methodSymbol.AssociatedSymbol IsNot Nothing
Symbols\SynthesizedSymbols\SynthesizedParameterSymbol.vb (1)
119Return DirectCast(method.AssociatedSymbol, SourcePropertySymbol).ReturnTypeMarshallingInformation
Symbols\Tuples\TupleMethodSymbol.vb (1)
46Return Me._containingType.GetTupleMemberSymbolForUnderlyingMember(Of Symbol)(Me._underlyingMethod.ConstructedFrom.AssociatedSymbol)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
CodeGen\CodeGenTuples.vb (1)
16409Assert.Null(m1ToString.AssociatedSymbol)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
DeclaringSyntaxNodeTests.vb (10)
530If meth.AssociatedSymbol IsNot Nothing AndAlso 531(meth.AssociatedSymbol.OriginalDefinition.Equals(ev1) OrElse 532meth.AssociatedSymbol.OriginalDefinition.Equals(ev2) OrElse 533meth.AssociatedSymbol.OriginalDefinition.Equals(prop3)) Then 536If meth.IsAccessor() AndAlso meth.AssociatedSymbol.IsMustOverride Then 566If meth.AssociatedSymbol IsNot Nothing AndAlso 567(meth.AssociatedSymbol.OriginalDefinition.Equals(ev1) OrElse 568meth.AssociatedSymbol.OriginalDefinition.Equals(ev2) OrElse 569meth.AssociatedSymbol.OriginalDefinition.Equals(prop3)) Then 572If meth.IsAccessor() AndAlso meth.AssociatedSymbol.IsMustOverride Then
Semantics\GetExtendedSemanticInfoTests.vb (1)
6340Assert.Equal(DirectCast(current.AssociatedSymbol, PropertySymbol), semanticInfoEx.CurrentProperty)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
SymbolsTests\Metadata\MetadataMemberTests.vb (1)
736Assert.NotNull(m.AssociatedSymbol)
SymbolsTests\Metadata\PE\LoadingEvents.vb (1)
104Assert.Same([event], accessor.AssociatedSymbol)
SymbolsTests\Retargeting\RetargetCustomModifiers.vb (1)
141Assert.Null(m1.AssociatedSymbol)
SymbolsTests\Source\PropertyTests.vb (7)
4614VerifyMethodAndAccessorSame(type, DirectCast(accessor.AssociatedSymbol, PropertySymbol), accessor) 4625VerifyMethodAndAccessorSame(type, DirectCast(accessor.AssociatedSymbol, PropertySymbol), accessor) 4638VerifyMethodAndAccessorSame(type, DirectCast(accessor.AssociatedSymbol, PropertySymbol), accessor) 8112Assert.NotNull(accessor.AssociatedSymbol) 8113Assert.Same(accessor.AssociatedSymbol, [property]) 8129Assert.Same([property], accessor.AssociatedSymbol) 8167Assert.Same(accessor.AssociatedSymbol, associatedProperty)