17 references to CodeEventReferenceExpression
System (2)
compmod\system\codedom\CodeAttachEventStatement.cs (1)
53
this.eventRef = new
CodeEventReferenceExpression
(targetObject, eventName);
compmod\system\codedom\CodeRemoveEventStatement.cs (1)
53
this.eventRef = new
CodeEventReferenceExpression
(targetObject, eventName);
System.Data (7)
fx\src\data\System\Data\CodeGen\datacache.cs (7)
1036
constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler")));
1037
constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler")));
1055
new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler1")) ,
1056
new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler1")),
1100
constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler")));
1101
constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new
CodeEventReferenceExpression
(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler")));
1442
private static CodeExpression Event(string eventName) { return new
CodeEventReferenceExpression
(This(), eventName);}
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (2)
793
new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), "PropertyChanged"),
798
new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), "PropertyChanged"),
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1911
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new
CodeEventReferenceExpression
(ThisReference, PropertyChangedEvent.Name)));
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
817
CodeEventReferenceExpression completedEvent = new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), operationCompletedEvent.Name);
System.Web.Services (2)
System\Web\Services\Description\WebCodeGenerator.cs (2)
291
CodeEventReferenceExpression member = new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), handlerName);
309
trueStatements[1] = new CodeExpressionStatement(new CodeDelegateInvokeExpression(new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), handlerName), new CodeExpression[] { new CodeThisReferenceExpression(), create }));
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
150
CodeEventReferenceExpression eventRef = new
CodeEventReferenceExpression
(objectExpression, eventDesc.Name);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
358
raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new
CodeEventReferenceExpression
(new CodeThisReferenceExpression(), PropertyChangedEvent.Name)));