22 references to CodeParameterDeclarationExpression
dotnet-svcutil-lib (22)
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)
70
CodeParameterDeclarationExpression newParam = new
CodeParameterDeclarationExpression
(parameter.Type, parameter.Name);
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (4)
123
ctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
160
ctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
195
ctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(callbackImpl.Name), "callbackImpl"));
248
operationCompletedMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(object)), "state"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (9)
282
helperMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(param.Type, param.Name));
339
param = new
CodeParameterDeclarationExpression
(field.Type, NamingHelper.GetUniqueName(field.Name, DoesParameterNameExist, helperMethod));
477
CodeParameterDeclarationExpression newParam = new
CodeParameterDeclarationExpression
(parameter.Type, parameter.Name);
683
onBeginOperationMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(
721
onEndOperationMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(
789
operationCompletedMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(s_objectType), "state"));
853
CodeParameterDeclarationExpression eventAsyncMethodParameter = new
CodeParameterDeclarationExpression
(
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 (3)
284
_method.Parameters.Insert(0, new
CodeParameterDeclarationExpression
(typedReqMessageRef, "request"));
380
_method.Parameters.Insert(0, new
CodeParameterDeclarationExpression
(_context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request"));
829
CodeParameterDeclarationExpression param = new
CodeParameterDeclarationExpression
(field.Type, field.Name);
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));