11 instantiations of CodeAttachEventStatement
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1931
csEvent = new
CodeAttachEventStatement
(ce, mei.eventName, cDelExp);
System.Data (6)
fx\src\data\System\Data\CodeGen\datacache.cs (6)
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")));
System.Web (3)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
879
CodeAttachEventStatement attachEvent = new
CodeAttachEventStatement
(ctrlRefExpr, eventInfo.Name, newDelegate);
892
CodeAttachEventStatement attachEvent = new
CodeAttachEventStatement
(ctrlRefExpr, "DataBinding", newDelegate);
956
CodeAttachEventStatement attachEvent = new
CodeAttachEventStatement
(ctrlRefExpr, eventEntry.Name, newDelegate);
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
152
retVal.Add(new
CodeAttachEventStatement
(eventRef, listener));
15 references to CodeAttachEventStatement
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1095
else if (e is
CodeAttachEventStatement
) {
1096
GenerateAttachEventStatement((
CodeAttachEventStatement
)e);
1554
private void GenerateAttachEventStatement(
CodeAttachEventStatement
e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1604
protected 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)
935
else if (e is
CodeAttachEventStatement
) {
936
GenerateAttachEventStatement((
CodeAttachEventStatement
)e);
1690
protected abstract void GenerateAttachEventStatement(
CodeAttachEventStatement
e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
390
else if (e is
CodeAttachEventStatement
) {
391
ValidateAttachEventStatement((
CodeAttachEventStatement
)e);
471
private void ValidateAttachEventStatement(
CodeAttachEventStatement
e) {
System.Web (3)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (3)
879
CodeAttachEventStatement
attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventInfo.Name, newDelegate);
892
CodeAttachEventStatement
attachEvent = new CodeAttachEventStatement(ctrlRefExpr, "DataBinding", newDelegate);
956
CodeAttachEventStatement
attachEvent = new CodeAttachEventStatement(ctrlRefExpr, eventEntry.Name, newDelegate);