2 writes to StyleConnectorFn
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
884_ccRoot.StyleConnectorFn = new CodeMemberMethod(); 1106_ccRoot.StyleConnectorFn = null;
33 references to StyleConnectorFn
PresentationBuildTasks (33)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (33)
882if (_ccRoot.StyleConnectorFn == null) 885_ccRoot.StyleConnectorFn.Name = CONNECT; 886_ccRoot.StyleConnectorFn.Attributes = MemberAttributes.Public | MemberAttributes.Final; 887_ccRoot.StyleConnectorFn.PrivateImplementationType = new CodeTypeReference(KnownTypes.Types[(int)KnownElements.IStyleConnector]); 893_ccRoot.StyleConnectorFn.Parameters.Add(param1); 894_ccRoot.StyleConnectorFn.Parameters.Add(param2); 896AddDebuggerNonUserCodeAttribute(_ccRoot.StyleConnectorFn); 897AddGeneratedCodeAttribute(_ccRoot.StyleConnectorFn); 898AddEditorBrowsableAttribute(_ccRoot.StyleConnectorFn); 899AddSuppressMessageAttribute(_ccRoot.StyleConnectorFn, "Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes"); 900AddSuppressMessageAttribute(_ccRoot.StyleConnectorFn, "Microsoft.Performance", "CA1800:DoNotCastUnnecessarily"); 901AddSuppressMessageAttribute(_ccRoot.StyleConnectorFn, "Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity"); 908_ccRoot.StyleConnectorFn.Statements.Add(css); 912return _ccRoot.StyleConnectorFn; 930if (_ccRoot.StyleConnectorFn.Statements.Count > 1) 933_ccRoot.StyleConnectorFn.Statements.Add(cssBreak); 939_ccRoot.StyleConnectorFn.Statements.Add(cssCase); 955Debug.Assert(_ccRoot.StyleConnectorFn.Statements.Count > 0); 956ccsConnector = _ccRoot.StyleConnectorFn.Statements[_ccRoot.StyleConnectorFn.Statements.Count - 1] as CodeConditionStatement; 972_ccRoot.StyleConnectorFn.Statements.Insert(0, cvdsES); 1011_ccRoot.StyleConnectorFn.Statements.Add(casES); 1012_ccRoot.StyleConnectorFn.Statements.Add(casEvent); 1013_ccRoot.StyleConnectorFn.Statements.Add(casHandler); 1014_ccRoot.StyleConnectorFn.Statements.Add(new CodeExpressionStatement(cmieAdd)); 1025_ccRoot.StyleConnectorFn.Statements.Add(ccsConnector); 1068_ccRoot.StyleConnectorFn.Statements.Add( csAddCLREvent ); 1077_ccRoot.StyleConnectorFn.Statements.Add(ccsConnector); 1085if (_ccRoot.StyleConnectorFn != null) 1092if (_ccRoot.StyleConnectorFn.Statements.Count > 1) 1095_ccRoot.StyleConnectorFn.Statements.Add(cssBreak); 1102_ccRoot.StyleConnectorFn.Statements.Add(css); 1105_ccRoot.CodeClass.Members.Add(_ccRoot.StyleConnectorFn);