28 references to EventSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Analysis\InitializerRewriter.vb (1)
113Dim eventSymbol = DirectCast(handledEvent.EventSymbol, EventSymbol)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (1)
172DirectCast(handledEvent.EventSymbol, EventSymbol),
Microsoft.CodeAnalysis.VisualBasic.Features (4)
EditAndContinue\VisualBasicEditAndContinueAnalyzer.vb (2)
2448SymbolsEquivalent(x.EventSymbol, y.EventSymbol) AndAlso
NavigationBar\VisualBasicNavigationBarItemService.vb (2)
333If Not eventToImplementingMethods.TryGetValue(handledEvent.EventSymbol, list) Then 335eventToImplementingMethods.Add(handledEvent.EventSymbol, list)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (22)
Semantics\GetSemanticInfoTests.vb (22)
3086Assert.Equal("e1", handledEvent0.EventSymbol.Name) 3095Assert.NotEqual(handledEvent0.EventSymbol, handledEvent1.EventSymbol) 3099Assert.Equal("e1", handledEvent2.EventSymbol.Name) 3100Assert.Equal(handledEvent0.EventSymbol, handledEvent2.EventSymbol) 3103Assert.NotEqual(handledEvent0.EventSymbol, handledEvent3.EventSymbol) 3104Assert.Equal("Private e1Event As cls3.e1EventHandler", handledEvent3.EventSymbol.AssociatedField.ToString) 3105Assert.True(handledEvent3.EventSymbol.HasAssociatedField) 3106Assert.Equal(ImmutableArray(Of VisualBasicAttributeData).Empty, handledEvent3.EventSymbol.GetFieldAttributes) 3107Assert.Null(handledEvent3.EventSymbol.OverriddenEvent) 3108Assert.Null(handledEvent0.EventSymbol.RaiseMethod) 3109Dim commonEventSymbol As IEventSymbol = handledEvent0.EventSymbol 3110Assert.Equal(handledEvent0.EventSymbol.AddMethod, commonEventSymbol.AddMethod) 3111Assert.Equal(handledEvent0.EventSymbol.RemoveMethod, commonEventSymbol.RemoveMethod) 3112Assert.Equal(handledEvent0.EventSymbol.RaiseMethod, commonEventSymbol.RaiseMethod) 3113Assert.Equal(handledEvent0.EventSymbol.Type, commonEventSymbol.Type) 3114Assert.Equal(handledEvent0.EventSymbol.OverriddenEvent, commonEventSymbol.OverriddenEvent) 3115Assert.Equal(handledEvent0.EventSymbol.ExplicitInterfaceImplementations.Length, commonEventSymbol.ExplicitInterfaceImplementations.Length) 3116Assert.Equal(handledEvent0.EventSymbol.GetHashCode, handledEvent0.EventSymbol.GetHashCode)