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)
1114if (_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); 1128AddDebuggerNonUserCodeAttribute(_ccRoot.HookupFn); 1129AddGeneratedCodeAttribute(_ccRoot.HookupFn); 1130AddEditorBrowsableAttribute(_ccRoot.HookupFn); 1131AddSuppressMessageAttribute(_ccRoot.HookupFn, "Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes"); 1132AddSuppressMessageAttribute(_ccRoot.HookupFn, "Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity"); 1133AddSuppressMessageAttribute(_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); 1243if (_ccRoot.HookupFn != null) 1259if (_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); 3074Debug.Assert(_ccRoot.HookupFn == null);