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)
882
if (_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);
896
AddDebuggerNonUserCodeAttribute(_ccRoot.
StyleConnectorFn
);
897
AddGeneratedCodeAttribute(_ccRoot.
StyleConnectorFn
);
898
AddEditorBrowsableAttribute(_ccRoot.
StyleConnectorFn
);
899
AddSuppressMessageAttribute(_ccRoot.
StyleConnectorFn
, "Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes");
900
AddSuppressMessageAttribute(_ccRoot.
StyleConnectorFn
, "Microsoft.Performance", "CA1800:DoNotCastUnnecessarily");
901
AddSuppressMessageAttribute(_ccRoot.
StyleConnectorFn
, "Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity");
908
_ccRoot.
StyleConnectorFn
.Statements.Add(css);
912
return _ccRoot.
StyleConnectorFn
;
930
if (_ccRoot.
StyleConnectorFn
.Statements.Count > 1)
933
_ccRoot.
StyleConnectorFn
.Statements.Add(cssBreak);
939
_ccRoot.
StyleConnectorFn
.Statements.Add(cssCase);
955
Debug.Assert(_ccRoot.
StyleConnectorFn
.Statements.Count > 0);
956
ccsConnector = _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);
1085
if (_ccRoot.
StyleConnectorFn
!= null)
1092
if (_ccRoot.
StyleConnectorFn
.Statements.Count > 1)
1095
_ccRoot.
StyleConnectorFn
.Statements.Add(cssBreak);
1102
_ccRoot.
StyleConnectorFn
.Statements.Add(css);
1105
_ccRoot.CodeClass.Members.Add(_ccRoot.
StyleConnectorFn
);