31 references to Add
dotnet-svcutil-lib (31)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (4)
227
codeFor.Statements.
Add
(codeWrite);
275
codeIfElse.TrueStatements.
Add
(codeRead);
276
codeIfElse.TrueStatements.
Add
(addNode);
279
codeIfElse.FalseStatements.
Add
(skip);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (5)
128
ctor.Statements.
Add
(
167
ctor.Statements.
Add
(
198
ctor.Statements.
Add
(
379
property.GetStatements.
Add
(new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), "RaiseExceptionIfNecessary"));
464
m.Statements.
Add
(
CodeDomFixup\ConfigToCode.cs (1)
92
ctor.Statements.
Add
(new CodeMethodInvokeExpression(
CodeDomFixup\MethodCreationHelper.cs (10)
1096
statements.
Add
(
1107
statements.
Add
(
1191
statements.
Add
(
1286
statements.
Add
(
1341
statements.
Add
(
1413
statements.
Add
(
1424
statements.
Add
(
1466
statements.
Add
(
1508
statements.
Add
(
1608
statements.
Add
(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (2)
370
prop.SetStatements.
Add
(new CodeMethodInvokeExpression(new CodeThisReferenceExpression(), RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(name)));
415
ifStatement.TrueStatements.
Add
(new CodeDelegateInvokeExpression(propertyChanged, new CodeThisReferenceExpression(), new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1610
writeXmlMethod.Statements.
Add
(
1646
getSchemaStaticMethod.Statements.
Add
(
1711
ifStatement.TrueStatements.
Add
(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
1769
ifStatement.TrueStatements.
Add
(new CodeMethodInvokeExpression(ThisReference, RaisePropertyChangedEventMethod.Name, new CodePrimitiveExpression(propertyName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (5)
287
helperMethod.Statements.
Add
(invokeMethod);
464
method.Statements.
Add
(methodInvoke);
608
property.GetStatements.
Add
(new CodeMethodInvokeExpression(new CodeBaseReferenceExpression(), s_raiseExceptionIfNecessaryMethodName));
752
onEndOperationMethod.Statements.
Add
(invokeEnd);
909
eventAsyncMethodOverload.Statements.
Add
(invokeEventAsyncMethod);