45 references to Add
dotnet-svcutil-lib (45)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (2)
212
writeXml.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(Microsoft.Xml.XmlWriter)), "writer"));
243
readXml.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(Microsoft.Xml.XmlReader)), "reader"));
CodeDomFixup\CodeDomHelpers.cs (1)
72
m.Parameters.
Add
(newParam);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (15)
113
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(string), "endpointConfiguration"));
123
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
125
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(string), "endpointConfiguration"));
148
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.Channels.Binding), "binding"));
150
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.EndpointAddress), "remoteAddress"));
160
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
162
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.Channels.Binding), "binding"));
164
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(System.ServiceModel.EndpointAddress), "remoteAddress"));
195
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
248
operationCompletedMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(object)), "state"));
352
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(object[]), "results"));
353
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(Exception), "exception"));
355
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(bool), "cancelled"));
357
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(object), "userState"));
425
m.Parameters.
Add
(
CodeDomFixup\ConfigToCode.cs (1)
213
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(
CodeDomFixup\MethodCreationHelper.cs (2)
32
this.GetEndpointAddress.Parameters.
Add
(new CodeParameterDeclarationExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, ConfigToCodeConstants.EndpointConfigurationParameter));
41
this.GetBinding.Parameters.
Add
(new CodeParameterDeclarationExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, ConfigToCodeConstants.EndpointConfigurationParameter));
FrameworkFork\Microsoft.CodeDom\System\CodeParameterDeclarationExpressionCollection.cs (2)
88
this.
Add
(value[i]);
106
this.
Add
(value[i]);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
410
raisePropertyChangedEventMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(string), propertyName.ParameterName));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (4)
1585
readXmlMethod.Parameters.
Add
(readerArg);
1607
writeXmlMethod.Parameters.
Add
(writerArg);
1644
getSchemaStaticMethod.Parameters.
Add
(paramDeclaration);
1706
raisePropertyChangedEventMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(string), propertyName.ParameterName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (13)
192
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(typeof(InstanceContext), s_inputInstanceName));
197
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(s_clientCtorParamTypes[i][j], s_clientCtorParamNames[i][j]));
282
helperMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(param.Type, param.Name));
341
helperMethod.Parameters.
Add
(param);
479
m.Parameters.
Add
(newParam);
534
ctor.Parameters.
Add
(new CodeParameterDeclarationExpression(s_eventArgsCtorParamTypes[i], s_eventArgsCtorParamNames[i]));
663
onBeginOperationMethod.Parameters.
Add
(inValuesParam);
683
onBeginOperationMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(
721
onEndOperationMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(
789
operationCompletedMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(s_objectType), "state"));
857
eventAsyncMethod.Parameters.
Add
(eventAsyncMethodParameter);
862
eventAsyncMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(new CodeTypeReference(s_objectType), userStateParamName));
900
eventAsyncMethodOverload.Parameters.
Add
(new CodeParameterDeclarationExpression(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
830
otherCtor.Parameters.
Add
(param);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (3)
289
beginMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference(typeof(AsyncCallback)), Strings.AsyncCallbackArgName));
290
beginMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference(typeof(object)), Strings.AsyncStateArgName));
296
endMethod.Parameters.
Add
(new CodeParameterDeclarationExpression(_context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult)), Strings.AsyncResultArgName));