Base:
property
AddMethod
Microsoft.CodeAnalysis.CSharp.Symbols.EventSymbol.AddMethod
2 overrides of AddMethod
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\SourceCustomEventSymbol.cs (1)
183public override MethodSymbol? AddMethod
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
147public override MethodSymbol AddMethod
4 references to AddMethod
Microsoft.CodeAnalysis.CSharp (4)
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
306accessor = (parent.Kind() == SyntaxKind.AddAccessorDeclaration) ? eventSymbol.AddMethod : eventSymbol.RemoveMethod;
Compiler\MethodBodySynthesizer.cs (2)
236MethodSymbol accessor = isAddMethod ? eventSymbol.AddMethod : eventSymbol.RemoveMethod; 349MethodSymbol accessor = isAddMethod ? eventSymbol.AddMethod : eventSymbol.RemoveMethod;
Symbols\Source\SourceEventSymbol.cs (1)
771CheckExplicitImplementationAccessor(AddMethod, explicitlyImplementedEvent.AddMethod, explicitlyImplementedEvent, diagnostics);