2 writes to HookupFn
PresentationBuildTasks (2)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1126
_ccRoot.
HookupFn
= new CodeMemberMethod();
1291
_ccRoot.
HookupFn
= null;
26 references to HookupFn
PresentationBuildTasks (26)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (26)
1124
if (_ccRoot.
HookupFn
== null)
1127
_ccRoot.
HookupFn
.Name = CONNECT;
1128
_ccRoot.
HookupFn
.Attributes = MemberAttributes.Public | MemberAttributes.Final;
1129
_ccRoot.
HookupFn
.PrivateImplementationType = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector]);
1135
_ccRoot.
HookupFn
.Parameters.Add(param1);
1136
_ccRoot.
HookupFn
.Parameters.Add(param2);
1138
AddDebuggerNonUserCodeAttribute(_ccRoot.
HookupFn
);
1139
AddGeneratedCodeAttribute(_ccRoot.
HookupFn
);
1140
AddEditorBrowsableAttribute(_ccRoot.
HookupFn
);
1141
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes");
1142
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity");
1143
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Performance", "CA1800:DoNotCastUnnecessarily");
1150
_ccRoot.
HookupFn
.Statements.Add(css);
1179
_ccRoot.
HookupFn
.Statements.Add(cssCase);
1206
_ccRoot.
HookupFn
.Statements.Add(casName);
1222
_ccRoot.
HookupFn
.Statements.Add(csEvent);
1235
_ccRoot.
HookupFn
.Statements.Add(new CodeMethodReturnStatement());
1240
_ccRoot.
HookupFn
.Statements.Add(ccsConnector);
1253
if (_ccRoot.
HookupFn
!= null)
1269
if (_ccRoot.
HookupFn
.Statements.Count == 1 &&
1270
_ccRoot.
HookupFn
.Statements[0] is CodeSnippetStatement)
1272
_ccRoot.
HookupFn
.Statements.Clear();
1280
_ccRoot.
HookupFn
.Statements.Add(css);
1288
_ccRoot.
HookupFn
.Statements.Add(casContentLoaded);
1290
_ccRoot.CodeClass.Members.Add(_ccRoot.
HookupFn
);
3003
Debug.Assert(_ccRoot.
HookupFn
== null);