32 references to EventRaise
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
553=> symbol is IMethodSymbol { MethodKind: MethodKind.EventAdd or MethodKind.EventRaise or MethodKind.EventRemove };
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTrackingDiagnosticAnalyzer.cs (1)
24return base.IsOnCodeBlockSupported(symbolKind, methodKind, returnsVoid) && methodKind != MethodKind.EventRaise;
Microsoft.CodeAnalysis.Features (3)
DocumentHighlighting\AbstractDocumentHighlightsService.cs (1)
148case MethodKind.EventRaise:
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
359MethodKind.EventAdd or MethodKind.EventRaise or MethodKind.EventRemove => FeaturesResources.event_accessor,
Shared\Extensions\ISymbolExtensions_2.cs (1)
251case MethodKind.EventRaise:
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\TrackingDiagnosticAnalyzer.cs (1)
124new { SymbolKind = SymbolKind.Method, MethodKind = MethodKind.EventRaise, ReturnsVoid = true }, // VB only
Microsoft.CodeAnalysis.VisualBasic (18)
Binding\Binder_Utils.vb (2)
1534Case MethodKind.EventRaise 1654MethodKindEventRaise = CUInt(MethodKind.EventRaise) << MethodKindShift
SymbolDisplay\SymbolDisplayVisitor.Members.vb (2)
225MethodKind.EventRaise 323MethodKind.EventRaise
Symbols\Metadata\PE\PEEventSymbol.vb (1)
98Me._raiseMethod.SetAssociatedEvent(Me, MethodKind.EventRaise)
Symbols\Metadata\PE\PEMethodSymbol.vb (1)
984Debug.Assert((methodKind = MethodKind.EventAdd) OrElse (methodKind = MethodKind.EventRemove) OrElse (methodKind = MethodKind.EventRaise))
Symbols\MethodKindExtensions.vb (1)
19Case MethodKind.EventRaise
Symbols\Source\CustomEventAccessorSymbol.vb (3)
56If Me.MethodKind = MethodKind.EventRaise Then 167If(Me.MethodKind = MethodKind.EventRaise, 174If Me.MethodKind = MethodKind.EventRaise Then
Symbols\Source\OverrideHidingHelper.vb (1)
500MethodKind.EventAdd, MethodKind.EventRaise, MethodKind.EventRemove,
Symbols\Source\SourceEventSymbol.vb (2)
118Case MethodKind.EventRaise 406Case MethodKind.EventRaise
Symbols\Source\SourceMethodSymbol.vb (3)
1783Case MethodKind.EventAdd, MethodKind.EventRaise, MethodKind.EventRemove 1964MethodKind.EventRaise, 2256MethodKind.EventRaise
Symbols\SubstitutedNamedType.vb (1)
472Case MethodKind.EventRaise
Symbols\Symbol_Attributes.vb (1)
85MethodKind.EventRaise,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_Tuples.vb (1)
254If DirectCast(s, MethodSymbol).MethodKind = MethodKind.EventRaise Then
Microsoft.CodeAnalysis.Workspaces (2)
Recommendations\AbstractRecommendationService.cs (1)
91case MethodKind.EventRaise:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
553=> symbol is IMethodSymbol { MethodKind: MethodKind.EventAdd or MethodKind.EventRaise or MethodKind.EventRemove };
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
1000MethodKind.EventRaise)
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
CodeModel\VisualBasicCodeModelService.vb (4)
1107Return MethodKind.EventRaise 1123Case MethodKind.EventRaise 1391methodSymbol.MethodKind = MethodKind.EventRaise Then 2564Case MethodKind.EventRaise