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