308 references to Parameters
PresentationBuildTasks (23)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (23)
903_ccRoot.StyleConnectorFn.Parameters.Add(param1); 904_ccRoot.StyleConnectorFn.Parameters.Add(param2); 1135_ccRoot.HookupFn.Parameters.Add(param1); 1136_ccRoot.HookupFn.Parameters.Add(param2); 2003cmmEventHandler.Parameters.Add(param); 2004cmmEventHandlerHelper.Parameters.Add(param); 2519cmmCD.Parameters.Add(param1); 2520cmmCD.Parameters.Add(param2); 2689cmmCI.Parameters.Add(param1); 2690cmmCI.Parameters.Add(param4); 2724cmmGPV.Parameters.Add(param1); 2725cmmGPV.Parameters.Add(param2); 2726cmmGPV.Parameters.Add(param4); 2751cmmSPV.Parameters.Add(param1); 2752cmmSPV.Parameters.Add(param2); 2753cmmSPV.Parameters.Add(param3); 2754cmmSPV.Parameters.Add(param4); 2788cmmCD.Parameters.Add(param1); 2789cmmCD.Parameters.Add(param2); 2790cmmCD.Parameters.Add(param3); 2834cmmAEH.Parameters.Add(param1); 2835cmmAEH.Parameters.Add(param2); 2836cmmAEH.Parameters.Add(param3);
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1887OutputParameters(e.Parameters); 2239OutputParameters(e.Parameters);
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1880OutputParameters(e.Parameters); 2111OutputParameters(e.Parameters);
compmod\system\codedom\compiler\CodeValidator.cs (2)
225ValidateParameters(e.Parameters); 314ValidateParameters(e.Parameters);
System.Activities (34)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (34)
758constructor.Parameters.Add( 816getLocationsMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 885getExpressionTreeForExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 886getExpressionTreeForExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locationReferences")); 932invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId")); 936invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locations")); 937invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(ActivityContext)), "activityContext")); 941invokeExpressionMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<Location>)), "locations")); 1276isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(string)), "expressionText")); 1277isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(bool)), "isReference")); 1278isValidMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(IList<LocationReference>)), "locations")); 1282isValidMethod.Parameters.Add(expressionIdParam); 1585expressionMethod.Parameters.Add(exprValueParam); 1602CodeParameterDeclarationExpression exprValueParam = new CodeParameterDeclarationExpression(expressionMethod.Parameters[0].Type, expressionMethod.Parameters[0].Name); 1603wrapperMethod.Parameters.Add(exprValueParam); 1615setExpression.Parameters.Add(new CodeVariableReferenceExpression(expressionMethod.Parameters[0].Name)); 1826dataContextActivitiesHelper.Parameters.Add( 1831dataContextActivitiesHelper.Parameters.Add( 1852setLocationsOffsetMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), 1886cacheHelper.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), dataContextActivitiesFieldName)); 1887cacheHelper.Parameters.Add(new CodeParameterDeclarationExpression(typeof(ActivityContext), "activityContext")); 1888cacheHelper.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Activity), "compiledRoot")); 1889cacheHelper.Parameters.Add(new CodeParameterDeclarationExpression(typeof(bool), forImplementationName)); 1890cacheHelper.Parameters.Add(new CodeParameterDeclarationExpression(typeof(int), "compiledDataContextCount")); 1920constructor.Parameters.Add(constructorLocationsParam); 1926constructor.Parameters.Add(constructorActivityContextParam); 1932constructor.Parameters.Add(computelocationsOffsetParam); 1955constructor.Parameters.Add(constructorLocationsParam); 1961constructor.Parameters.Add(computelocationsOffsetParam); 1983constructor.Parameters.Add(constructorLocationsParam); 2198validateMethod.Parameters.Add( 2203validateMethod.Parameters.Add( 2208validateMethod.Parameters.Add(
System.Data (20)
fx\src\data\System\Data\CodeGen\datacache.cs (20)
299onRowEvent.Parameters.Add(ParameterDecl(typeof(DataRowChangeEventArgs), "e")); 347constructor.Parameters.Add(ParameterDecl(typeof(System.Runtime.Serialization.SerializationInfo), "info" )); 348constructor.Parameters.Add(ParameterDecl(typeof(System.Runtime.Serialization.StreamingContext), "context")); 367constructor.Parameters.Add(ParameterDecl(typeof(DataTable), "table")); 423addMethod.Parameters.Add(ParameterDecl(stRowConcreateClassName, "row")); 451addByColName.Parameters.Add(ParameterDecl(ParentTypedRowName, argumentName)); 454addByColName.Parameters.Add(ParameterDecl(GetTypeName(DataType), RowColumnPropertyName(index[i]))); 521findBy.Parameters.Add(ParameterDecl(GetTypeName(index[i].DataType), RowColumnPropertyName(index[i]))); 715newRowFromBuilder.Parameters.Add(ParameterDecl(typeof(DataRowBuilder), "builder")); 737removeMethod.Parameters.Add(ParameterDecl(stRowConcreateClassName, "row")); 768constructor.Parameters.Add(ParameterDecl(typeof(DataRowBuilder), "rb")); 974constructor.Parameters.Add(ParameterDecl(stRowConcreateClassName, "row" )); 975constructor.Parameters.Add(ParameterDecl(typeof(DataRowAction), "action")); 1044constructor.Parameters.Add(ParameterDecl(typeof(System.Runtime.Serialization.SerializationInfo), "info" )); 1045constructor.Parameters.Add(ParameterDecl(typeof(System.Runtime.Serialization.StreamingContext), "context")); 1128initVarsMethod.Parameters.Add(ParameterDecl(typeof(Boolean), "initTable")); 1205getTypedDataSetSchema.Parameters.Add(ParameterDecl(typeof(XmlSchemaSet), "xs")); 1222readXmlSerializable.Parameters.Add(ParameterDecl(typeof(System.Xml.XmlReader), "reader")); 1377schemaChanged.Parameters.Add(ParameterDecl(typeof(object), "sender")); 1378schemaChanged.Parameters.Add(ParameterDecl(typeof(CollectionChangeEventArgs), "e"));
System.Data.Entity.Design (8)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
491getViewAtMethod.Parameters.Add(parameter); 501CodeVariableReferenceExpression indexParameterReference = new CodeVariableReferenceExpression(getViewAtMethod.Parameters[0].Name);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
238connectionStringCtor.Parameters.Add(connectionStringParam); 257connectionWorkspaceCtor.Parameters.Add(connectionParam); 442codeMethod.Parameters.Add(parameter); 638method.Parameters.Add(codeParameter);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
99onChangingDomMethod.Parameters.Add(new CodeParameterDeclarationExpression(returnType, "value"));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
204method.Parameters.Add(paramDecl);
System.Data.Services.Design (7)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
785propertyChangedMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(System.String), CodeTypeReferenceOptions.GlobalReference), "property"));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
186connectionWorkspaceCtor.Parameters.Add(connectionParam); 259resolveTypeFromName.Parameters.Add(new CodeParameterDeclarationExpression(TypeReference.ForType(typeof(string)), "typeName")); 321resolveNameFromType.Parameters.Add(new CodeParameterDeclarationExpression(TypeReference.ForType(typeof(Type)), "clientType")); 604codeMethod.Parameters.Add(parameter);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
105onChangingDomMethod.Parameters.Add(new CodeParameterDeclarationExpression(returnType, "value"));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
196method.Parameters.Add(paramDecl);
System.Management (78)
WmiGenerator.cs (78)
1138cctor.Parameters.Add(cpde); 2094cmm.Parameters.Add(new CodeParameterDeclarationExpression(strType, 2206cctor.Parameters.Add(cpde); 2211if(cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2216cctor.Parameters.Add(cpde); 2252cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2265cctor.Parameters.Add(cpde); 2270if(cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2275cctor.Parameters.Add(cpde); 2320cctor.Parameters.Add(cpde); 2349cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2350cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2377cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2378cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2402cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 2439cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()), 2474cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 2476cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()), 2535cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2536cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2537cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2574cctor.Parameters.Add(cpde); 2645cctor.Parameters.Add(cpde); 2723cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2724cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2725cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2995cmm.Parameters.Add(cpde); 3105cmm.Parameters.Add(cpde); 3367cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String",strCondition)); 3398cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String []",strSelectedProperties)); 3430cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String",strCondition)); 3431cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String []",strSelectedProperties)); 3477cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3478cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()), 3588cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3589cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.String"),strCondition)); 3620cmm.Parameters.Add(new CodeParameterDeclarationExpression(PublicNamesUsed["ScopeClass"].ToString(),PrivateNamesUsed["ScopeParam"].ToString())); 3621cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String []",strSelectedProperties)); 3662cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3663cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String",strCondition)); 3664cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.String []",strSelectedProperties)); 3834cctor.Parameters.Add(cpde); 3859cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3860cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.Type",srcType)); 3883cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3884cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.Type",TypeDstObject)); 3907cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3908cmm.Parameters.Add(new CodeParameterDeclarationExpression(CultureInfoClass,CultureInfoVar)); 3909cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.Object"),ValueVar)); 3933cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3934cmm.Parameters.Add(new CodeParameterDeclarationExpression(IDictionary,DictVar)); 3956cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3974cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 3975cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.Object"),ValueVar)); 3978cmm.Parameters.Add(new CodeParameterDeclarationExpression(crt,AttributeVar)); 3999cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 4018cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 4037cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 4056cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 4105cmm.Parameters.Add(new CodeParameterDeclarationExpression(TypeDescriptorContextClass,contextObject)); 4106cmm.Parameters.Add(new CodeParameterDeclarationExpression(CultureInfoClass,CultureInfoVar)); 4107cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.Object"),ValueVar)); 4108cmm.Parameters.Add(new CodeParameterDeclarationExpression("System.Type",TypeDstObject)); 4326cctor.Parameters.Add(cpde); 4404cmm.Parameters.Add(cpde); 4409cmm.Parameters.Add(cpde); 4543cctor.Parameters.Add(cpde); 5085cmm.Parameters.Add(cpde); 5510cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 5511cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathParam)); 5512cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 5584cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()),strTempObj)); 6442cmmdt.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.String"),dmtfParam)); 6893cmmts.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.TimeSpan"),timespan)); 7155cmmdt.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.DateTime"),dateParam)); 7482cmmts.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference("System.String"),tsParam));
System.Runtime.Serialization (10)
System\Runtime\Serialization\CodeExporter.cs (10)
1669readXmlMethod.Parameters.Add(readerArg); 1690writeXmlMethod.Parameters.Add(writerArg); 1727getSchemaStaticMethod.Parameters.Add(paramDeclaration); 1752baseConstructor.Parameters.Add(SerializationInfoParameter); 1753baseConstructor.Parameters.Add(StreamingContextParameter); 1773derivedConstructor.Parameters.Add(SerializationInfoParameter); 1774derivedConstructor.Parameters.Add(StreamingContextParameter); 1807getObjectDataMethod.Parameters.Add(SerializationInfoParameter); 1808getObjectDataMethod.Parameters.Add(StreamingContextParameter); 1909raisePropertyChangedEventMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), propertyName.ParameterName));
System.ServiceModel (63)
System\ServiceModel\Description\ClientClassGenerator.cs (48)
192ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(InstanceContext), inputInstanceName)); 197ctor.Parameters.Add(new CodeParameterDeclarationExpression(ClientCtorParamTypes[i][j], ClientCtorParamNames[i][j])); 269foreach (CodeParameterDeclarationExpression param in method.Parameters) 282helperMethod.Parameters.Add(new CodeParameterDeclarationExpression(param.Type, param.Name)); 329CodeParameterDeclarationExpression param = GetRefParameter(helperMethod.Parameters, dir, field); 341helperMethod.Parameters.Add(param); 447CodeParameterDeclarationExpressionCollection parameters = method.Parameters; 459foreach (CodeParameterDeclarationExpression parameter in method.Parameters) 475foreach (CodeParameterDeclarationExpression parameter in method.Parameters) 479m.Parameters.Add(newParam); 513if ((endMethod.Parameters.Count == 1) && (endMethod.ReturnType.BaseType == voidTypeRef.BaseType)) 534ctor.Parameters.Add(new CodeParameterDeclarationExpression(EventArgsCtorParamTypes[i], EventArgsCtorParamNames[i])); 546for (int i = 0; i < endMethod.Parameters.Count; i++) 551endMethod.Parameters[i].Type, 552endMethod.Parameters[i].Name, 586int index = endMethod.Parameters.Count - 1; 587if (endMethod.Parameters[index].Type.BaseType != asyncResultTypeRef.BaseType) 664onBeginOperationMethod.Parameters.Add(inValuesParam); 669for (int i = 0; i < beginMethod.Parameters.Count - 2; i++) 672variableDecl.Type = beginMethod.Parameters[i].Type; 673variableDecl.Name = beginMethod.Parameters[i].Name; 678invokeBegin.Parameters.Add(new CodeDirectionExpression(beginMethod.Parameters[i].Direction, 682for (int i = beginMethod.Parameters.Count - 2; i < beginMethod.Parameters.Count; i++) 684onBeginOperationMethod.Parameters.Add(new CodeParameterDeclarationExpression( 685beginMethod.Parameters[i].Type, beginMethod.Parameters[i].Name)); 686invokeBegin.Parameters.Add(new CodeVariableReferenceExpression(beginMethod.Parameters[i].Name)); 718for (int i = 0; i < endMethod.Parameters.Count; i++) 722onEndOperationMethod.Parameters.Add(new CodeParameterDeclarationExpression( 723endMethod.Parameters[i].Type, endMethod.Parameters[i].Name)); 724invokeEnd.Parameters.Add(new CodeVariableReferenceExpression(endMethod.Parameters[i].Name)); 729endMethod.Parameters[i].Type, endMethod.Parameters[i].Name); 730CodeMethodReferenceExpression getDefaultValueMethodRef = new CodeMethodReferenceExpression(new CodeThisReferenceExpression(), getDefaultValueForInitializationMethodName, endMethod.Parameters[i].Type); 734invokeEnd.Parameters.Add(new CodeDirectionExpression(endMethod.Parameters[i].Direction, 790operationCompletedMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), "state")); 797new CodeArgumentReferenceExpression(operationCompletedMethod.Parameters[0].Name)); 851for (int i = 0; i < beginMethod.Parameters.Count - 2; i++) 853CodeParameterDeclarationExpression beginMethodParameter = beginMethod.Parameters[i]; 858eventAsyncMethod.Parameters.Add(eventAsyncMethodParameter); 863eventAsyncMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), userStateParamName)); 899for (int i = 0; i < eventAsyncMethod.Parameters.Count - 1; i++) 901eventAsyncMethodOverload.Parameters.Add(new CodeParameterDeclarationExpression( 902eventAsyncMethod.Parameters[i].Type, 903eventAsyncMethod.Parameters[i].Name)); 906eventAsyncMethod.Parameters[i].Name));
System\ServiceModel\Description\OperationGenerator.cs (12)
209methodParameters = new CodeParameterDeclarationExpressionCollection(this.Method.Parameters); 211endMethodParameters = new CodeParameterDeclarationExpressionCollection(this.EndMethod.Parameters); 222method.Parameters.Clear(); 223method.Parameters.AddRange(methodParameters); 227endMethod.Parameters.Clear(); 228endMethod.Parameters.AddRange(endMethodParameters); 286this.Method.Parameters.Insert(0, new CodeParameterDeclarationExpression(typedReqMessageRef, "request")); 382this.Method.Parameters.Insert(0, new CodeParameterDeclarationExpression(Context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request")); 416this.ins = new ParametersPartCodeGenerator(this, beginMethod.Name, beginMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.In); 417this.outs = new ParametersPartCodeGenerator(this, beginMethod.Name, endMethod.Parameters, beginMethod.CustomAttributes, FieldDirection.Out); 835otherCtor.Parameters.Add(param); 838if (otherCtor.Parameters.Count > 0)
System\ServiceModel\Description\ServiceContractGenerator.cs (3)
343beginMethod.Parameters.Add(new CodeParameterDeclarationExpression(context.ServiceContractGenerator.GetCodeTypeReference(typeof(AsyncCallback)), Strings.AsyncCallbackArgName)); 344beginMethod.Parameters.Add(new CodeParameterDeclarationExpression(context.ServiceContractGenerator.GetCodeTypeReference(typeof(object)), Strings.AsyncStateArgName)); 350endMethod.Parameters.Add(new CodeParameterDeclarationExpression(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult)), Strings.AsyncResultArgName));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
170codeMemberMethod.Parameters.Add(new CodeParameterDeclarationExpression(
System.Web (40)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (9)
186method.Parameters.Add(new CodeParameterDeclarationExpression(_sourceDataClass.Name, "__ctrl")); 188method.Parameters.Add(new CodeParameterDeclarationExpression(ctrlType, "__ctrl")); 225method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Control).FullName, "ctrl")); 995method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Control), containerVarName)); 1238method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), "sender")); 1239method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(EventArgs), "e")); 1387method.Parameters.Add(new CodeParameterDeclarationExpression(pi.ParameterType, pi.Name)); 1447method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(HtmlTextWriter), renderMethodParameterName)); 1448method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Control), "parameterContainer"));
Compilation\BrowserCapabilitiesCompiler.cs (8)
302method.Parameters.Add(cpde); 304method.Parameters.Add(cpde); 348cmm.Parameters.Add(cpde); 351cmm.Parameters.Add(cpde); 353cmm.Parameters.Add(cpde); 427cmm.Parameters.Add(cpde); 429cmm.Parameters.Add(cpde); 431cmm.Parameters.Add(cpde);
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
169foreach(CodeParameterDeclarationExpression paramExpr in ctor.Parameters) {
Compilation\PageCodeDomTreeGenerator.cs (9)
460method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(HttpContext), "context")); 461method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(AsyncCallback), "cb")); 462method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Object), "data")); 487method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(IAsyncResult), "ar")); 518method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(HttpContext), "context")); 519method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(AsyncCallback), "cb")); 520method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Object), "data")); 545method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(IAsyncResult), "ar")); 595method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(HttpContext), "context"));
Compilation\ProfileBuildProvider.cs (1)
279method.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), "username"));
Compilation\TemplateControlCodeDomTreeGenerator.cs (3)
150bindMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), "expression")); 152bindMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), "format")); 316ctorCode.Parameters.Add(parameterExpr);
Configuration\BrowserCapabilitiesCodeGenerator.cs (9)
739method.Parameters.Add(cpde); 741method.Parameters.Add(cpde); 901method.Parameters.Add(parameter); 964method.Parameters.Add(parameter); 994cmm.Parameters.Add(cpde); 996cmm.Parameters.Add(cpde); 1108cmm.Parameters.Add(cpde); 1112cmm.Parameters.Add(cpde); 1114cmm.Parameters.Add(cpde);
System.Web.Extensions (1)
Compilation\WCFModel\VSWCFServiceContractGenerator.cs (1)
1748foreach (CodeParameterDeclarationExpression parameter in method.Parameters)
System.Web.Services (8)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
167AppendMetadata(parameters[i].Attributes, mainCodeMethod.Parameters[i].CustomAttributes);
System\Web\Services\Description\WebCodeGenerator.cs (7)
149ctor.Parameters.Add(param); 193method.Parameters.Add(param); 334asyncCodeMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), userState)); 379ctor.Parameters.Add(param); 380ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(Exception), "exception")); 381ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(bool), "cancelled")); 382ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), "userState"));
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
823webMethod.Parameters.Add(paramDecl);
System.Workflow.ComponentModel (6)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (1)
1101invokeMethod.Parameters.Add(parameterDecl);
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (2)
64codeAddMethod.Parameters.Add(new CodeParameterDeclarationExpression(this.codeDomEvent.Type, "Handler")); 83codeRemoveMethod.Parameters.Add(new CodeParameterDeclarationExpression(handlerType, "Handler"));
AuthoringOM\Compiler\TypeSystem\MethodInfo.cs (2)
51CodeParameterDeclarationExpressionCollection parameters = codeConstructor.Parameters; 211CodeParameterDeclarationExpressionCollection parameters = this.methodInfo.Parameters;
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (1)
67if (method != null && method.Name.Equals(_initMethodName) && method.Parameters.Count == 0)
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
356raisePropertyChangedEventMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), propertyName.ParameterName));
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
1217loadMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), "assemblyNameVal"));