7 references to Event
System.CodeDom (3)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
1047
GenerateEventReferenceExpression(e.
Event
);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1360
GenerateFormalEventReferenceExpression(e.
Event
);
System\CodeDom\Compiler\CodeValidator.cs (1)
549
ValidateEventReferenceExpression(e.
Event
);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
491
object targetObject = DeserializeExpression(manager, null, statement.
Event
.TargetObject)!;
495
EventDescriptor? evt = GetEventsHelper(manager, targetObject, null)[statement.
Event
.EventName];
507
Error(manager, string.Format(SR.SerializerNoSuchEvent, targetObject.GetType().FullName, statement.
Event
.EventName), SR.SerializerNoSuchEvent);
2623
expression = removeEvent.
Event
;