15 references to ERR_EventNotDelegate
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
620case ErrorCode.ERR_EventNotDelegate:
Symbols\Source\SourceEventSymbol.cs (1)
593diagnostics.Add(ErrorCode.ERR_EventNotDelegate, location, this);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenTupleTest.cs (1)
14417Diagnostic(ErrorCode.ERR_EventNotDelegate, "E1").WithArguments("Test<T>.E1").WithLocation(23, 74),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Semantics\PatternMatchingTests_Scope.cs (1)
13629(int)ErrorCode.ERR_EventNotDelegate,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (9)
Semantics\InheritanceBindingTests.cs (5)
1145Diagnostic(ErrorCode.ERR_EventNotDelegate, "Event1").WithArguments("Derived.Event1").WithLocation(17, 36), 1148Diagnostic(ErrorCode.ERR_EventNotDelegate, "Event3").WithArguments("Derived.Event3").WithLocation(19, 48), 1151Diagnostic(ErrorCode.ERR_EventNotDelegate, "Event5").WithArguments("Derived.Event5").WithLocation(21, 55), 1154Diagnostic(ErrorCode.ERR_EventNotDelegate, "Event6").WithArguments("Derived.Event6").WithLocation(22, 55), 1157Diagnostic(ErrorCode.ERR_EventNotDelegate, "Event7").WithArguments("Derived.Event7").WithLocation(23, 32),
Semantics\OutVarTests.cs (1)
22878(int)ErrorCode.ERR_EventNotDelegate,
Semantics\UnsafeTests.cs (3)
639Diagnostic(ErrorCode.ERR_EventNotDelegate, "E").WithArguments("I.E"), 641Diagnostic(ErrorCode.ERR_EventNotDelegate, "E1").WithArguments("C.E1"), 643Diagnostic(ErrorCode.ERR_EventNotDelegate, "E2").WithArguments("C.E2"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\EventTests.cs (1)
2046Diagnostic(ErrorCode.ERR_EventNotDelegate, "Changed").WithArguments("MyCollections.ListWithChangedEvent.Changed"),
Symbols\SymbolErrorTests.cs (1)
969Diagnostic(ErrorCode.ERR_EventNotDelegate, "Click").WithArguments("C.Click"),