11 instantiations of CodeAttachEventStatement
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1931csEvent = new CodeAttachEventStatement(ce, mei.eventName, cDelExp);
System.Data (6)
fx\src\data\System\Data\CodeGen\datacache.cs (6)
1036constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler"))); 1037constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler"))); 1055new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler1")) , 1056new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler1")), 1100constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Tables"),"CollectionChanged"),Variable("schemaChangedHandler"))); 1101constructor.Statements.Add(new System.CodeDom.CodeAttachEventStatement(new CodeEventReferenceExpression(Property(This(),"Relations"),"CollectionChanged"),Variable("schemaChangedHandler")));
System.Web (3)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
879CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventInfo.Name, newDelegate); 892CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, "DataBinding", newDelegate); 956CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventEntry.Name, newDelegate);
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
152retVal.Add(new CodeAttachEventStatement(eventRef, listener));
15 references to CodeAttachEventStatement
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1095else if (e is CodeAttachEventStatement) { 1096GenerateAttachEventStatement((CodeAttachEventStatement)e); 1554private void GenerateAttachEventStatement(CodeAttachEventStatement e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1604protected override void GenerateAttachEventStatement(CodeAttachEventStatement e) {
compmod\system\codedom\CodeAttachEventStatement.cs (2)
33/// Initializes a new instance of <see cref='System.CodeDom.CodeAttachEventStatement'/>. 41/// Initializes a new instance of the <see cref='System.CodeDom.CodeAttachEventStatement'/> class using the specified arguments.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
935else if (e is CodeAttachEventStatement) { 936GenerateAttachEventStatement((CodeAttachEventStatement)e); 1690protected abstract void GenerateAttachEventStatement(CodeAttachEventStatement e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
390else if (e is CodeAttachEventStatement) { 391ValidateAttachEventStatement((CodeAttachEventStatement)e); 471private void ValidateAttachEventStatement(CodeAttachEventStatement e) {
System.Web (3)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
879CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventInfo.Name, newDelegate); 892CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, "DataBinding", newDelegate); 956CodeAttachEventStatement attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventEntry.Name, newDelegate);