2 writes to HookupFn
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1116
_ccRoot.
HookupFn
= new CodeMemberMethod();
1281
_ccRoot.
HookupFn
= null;
26 references to HookupFn
PresentationBuildTasks (26)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (26)
1114
if (_ccRoot.
HookupFn
== null)
1117
_ccRoot.
HookupFn
.Name = CONNECT;
1118
_ccRoot.
HookupFn
.Attributes = MemberAttributes.Public | MemberAttributes.Final;
1119
_ccRoot.
HookupFn
.PrivateImplementationType = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IComponentConnector]);
1125
_ccRoot.
HookupFn
.Parameters.Add(param1);
1126
_ccRoot.
HookupFn
.Parameters.Add(param2);
1128
AddDebuggerNonUserCodeAttribute(_ccRoot.
HookupFn
);
1129
AddGeneratedCodeAttribute(_ccRoot.
HookupFn
);
1130
AddEditorBrowsableAttribute(_ccRoot.
HookupFn
);
1131
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes");
1132
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity");
1133
AddSuppressMessageAttribute(_ccRoot.
HookupFn
, "Microsoft.Performance", "CA1800:DoNotCastUnnecessarily");
1140
_ccRoot.
HookupFn
.Statements.Add(css);
1169
_ccRoot.
HookupFn
.Statements.Add(cssCase);
1196
_ccRoot.
HookupFn
.Statements.Add(casName);
1212
_ccRoot.
HookupFn
.Statements.Add(csEvent);
1225
_ccRoot.
HookupFn
.Statements.Add(new CodeMethodReturnStatement());
1230
_ccRoot.
HookupFn
.Statements.Add(ccsConnector);
1243
if (_ccRoot.
HookupFn
!= null)
1259
if (_ccRoot.
HookupFn
.Statements.Count == 1 &&
1260
_ccRoot.
HookupFn
.Statements[0] is CodeSnippetStatement)
1262
_ccRoot.
HookupFn
.Statements.Clear();
1270
_ccRoot.
HookupFn
.Statements.Add(css);
1278
_ccRoot.
HookupFn
.Statements.Add(casContentLoaded);
1280
_ccRoot.CodeClass.Members.Add(_ccRoot.
HookupFn
);
3074
Debug.Assert(_ccRoot.
HookupFn
== null);