3 writes to Parameters
XamlBuildTask (3)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (3)
493Parameters = 786Parameters = { new CodePrimitiveExpression("." + classData.EmbeddedResourceFileName), }, 796Parameters = {
350 references to Parameters
PresentationBuildTasks (31)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (31)
1803cmie.Parameters.Add(e); 2005cmieOnEvent.Parameters.Add(new CodeArgumentReferenceExpression(pars[i].Name)); 2525cmieCD.Parameters.Add(new CodeArgumentReferenceExpression(DELEGATETYPE)); 2526cmieCD.Parameters.Add(new CodeThisReferenceExpression()); 2527cmieCD.Parameters.Add(new CodeArgumentReferenceExpression(HANDLERARG)); 2618cmieLoadContent.Parameters.Add(new CodeThisReferenceExpression()); 2619cmieLoadContent.Parameters.Add(cvreMemStm); 2695cmieCI.Parameters.Add(new CodeArgumentReferenceExpression(TYPE)); 2703cmieCI.Parameters.Add(cboeCI); 2704cmieCI.Parameters.Add(new CodePrimitiveExpression(null)); 2705cmieCI.Parameters.Add(new CodePrimitiveExpression(null)); 2706cmieCI.Parameters.Add(new CodeArgumentReferenceExpression(CULTURE)); 2731cmieGPV.Parameters.Add(new CodeArgumentReferenceExpression(TARGET)); 2732cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2733cmieGPV.Parameters.Add(new CodePrimitiveExpression(null)); 2734cmieGPV.Parameters.Add(new CodePrimitiveExpression(null)); 2735cmieGPV.Parameters.Add(new CodeArgumentReferenceExpression(CULTURE)); 2759cmieSPV.Parameters.Add(new CodeArgumentReferenceExpression(TARGET)); 2760cmieSPV.Parameters.Add(new CodeArgumentReferenceExpression(VALUE)); 2761cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2762cmieSPV.Parameters.Add(new CodePrimitiveExpression(null)); 2763cmieSPV.Parameters.Add(new CodePrimitiveExpression(null)); 2764cmieSPV.Parameters.Add(new CodeArgumentReferenceExpression(CULTURE)); 2800cmieCD.Parameters.Add(new CodePrimitiveExpression(CREATEDELEGATEHELPER)); 2805cmieCD.Parameters.Add(cboeCD); 2807cmieCD.Parameters.Add(new CodePrimitiveExpression(null)); 2808cmieCD.Parameters.Add(careTarget); 2815cmieCD.Parameters.Add(caceCD); 2816cmieCD.Parameters.Add(new CodePrimitiveExpression(null)); 2841cmieAEH.Parameters.Add(new CodeArgumentReferenceExpression(TARGET)); 2842cmieAEH.Parameters.Add(new CodeArgumentReferenceExpression(HANDLERARG));
System (6)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
995OutputExpressionList(e.Parameters);
compmod\microsoft\visualbasic\VBCodeProvider.cs (2)
1325CodeExpressionCollection parameters = e.Parameters; 1328OutputExpressionList(e.Parameters);
compmod\system\codedom\CodeMethodInvokeExpression.cs (2)
48Parameters.AddRange(parameters); 56Parameters.AddRange(parameters);
compmod\system\codedom\compiler\CodeValidator.cs (1)
740ValidateExpressionList(e.Parameters);
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1615setExpression.Parameters.Add(new CodeVariableReferenceExpression(expressionMethod.Parameters[0].Name));
System.Management (164)
WmiGenerator.cs (164)
1095cmie.Parameters.Add(new CodePrimitiveExpression(null)); 1096cmie.Parameters.Add(new CodeVariableReferenceExpression("value")); 1097cmie.Parameters.Add(new CodePrimitiveExpression(null)); 1380cmie.Parameters.Add(new CodePrimitiveExpression(prop.NullEnumValue)); 1393cmie.Parameters.Add(new CodePrimitiveExpression(prop.NullEnumValue)); 1475cmie.Parameters.Add(cie); 2159cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2172cmieInit.Parameters.Add(coce); 2176cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2178cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2220cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2228cmie.Parameters.Add(new CodeVariableReferenceExpression("key"+arrKeys[i])); 2235cmieInit.Parameters.Add(coce); 2236cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2279cmieInit.Parameters.Add(new CodeCastExpression( 2289cmie.Parameters.Add(new CodeVariableReferenceExpression("key"+arrKeys[i])); 2295cmieInit.Parameters.Add(coce); 2296cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2326cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2327cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strPathObject)); 2328cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2356cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2357cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strPathObject)); 2358cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strGetOptions)); 2384cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 2385cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strPathObject)); 2386cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2409cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 2418cmieInit.Parameters.Add(coce); 2420cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2446cmieInit.Parameters.Add(new CodePrimitiveExpression(null)); 2455cmieInit.Parameters.Add(coce); 2456cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strGetOptions)); 2485cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 2495cmieInit.Parameters.Add(coce); 2497cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strGetOptions)); 2543cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 2544cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strPathObject)); 2545cmieInit.Parameters.Add(new CodeVariableReferenceExpression(strGetOptions)); 2587cmie.Parameters.Add(new CodeVariableReferenceExpression(strLateBoundObject)); 2654cmie.Parameters.Add(new CodeVariableReferenceExpression(strLateBoundObject)); 2742cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 2743cmie.Parameters.Add(new CodeVariableReferenceExpression(strPathObject)); 2744cmie.Parameters.Add(new CodeVariableReferenceExpression(strGetOptions)); 3064cmie.Parameters.Add(new CodePrimitiveExpression(meth.Name)); 3065cmie.Parameters.Add(new CodeVariableReferenceExpression(strInParams)); 3066cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3151cmie2.Parameters.Add(new CodePropertyReferenceExpression(cie,"Value")); 3188cmie2.Parameters.Add(new CodePrimitiveExpression(0)); 3213cmie.Parameters.Add(new CodePrimitiveExpression(meth.Name)); 3214cmie.Parameters.Add(new CodeVariableReferenceExpression(strInParams)); 3215cmie.Parameters.Add(new CodePrimitiveExpression(null)); // Bug NO: 108605 3293cmie.Parameters.Add(new CodePropertyReferenceExpression(cie,"Value")); 3300cmie.Parameters.Add(new CodePrimitiveExpression(0)); 3341cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3342cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3343cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3374cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3375cmie.Parameters.Add(new CodeVariableReferenceExpression(strCondition)); 3376cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3405cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3406cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3407cmie.Parameters.Add(new CodeVariableReferenceExpression(strSelectedProperties)); 3438cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3439cmie.Parameters.Add(new CodeVariableReferenceExpression(strCondition)); 3440cmie.Parameters.Add(new CodeVariableReferenceExpression(strSelectedProperties)); 3564cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString())); 3596cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 3597cmie.Parameters.Add(new CodeVariableReferenceExpression(strCondition)); 3598cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3628cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())); 3629cmie.Parameters.Add(new CodePrimitiveExpression(null)); 3630cmie.Parameters.Add(new CodeVariableReferenceExpression(strSelectedProperties)); 3838cmie.Parameters.Add(new CodeVariableReferenceExpression(baseTypeParam)); 3863cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3864cmie.Parameters.Add(new CodeVariableReferenceExpression(srcType)); 3887cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3888cmie.Parameters.Add(new CodeVariableReferenceExpression(TypeDstObject)); 3912cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3913cmie.Parameters.Add(new CodeVariableReferenceExpression(CultureInfoVar)); 3914cmie.Parameters.Add(new CodeVariableReferenceExpression(ValueVar)); 3937cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3938cmie.Parameters.Add(new CodeVariableReferenceExpression(DictVar)); 3959cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3982cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 3983cmie.Parameters.Add(new CodeVariableReferenceExpression(ValueVar)); 3984cmie.Parameters.Add(new CodeVariableReferenceExpression(AttributeVar)); 4003cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 4022cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 4041cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 4060cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 4116cmie.Parameters.Add(new CodeVariableReferenceExpression(contextObject)); 4117cmie.Parameters.Add(new CodeVariableReferenceExpression(CultureInfoVar)); 4118cmie.Parameters.Add(new CodeVariableReferenceExpression(ValueVar)); 4119cmie.Parameters.Add(new CodeVariableReferenceExpression(TypeDstObject)); 4169cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4234cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4266cmie.Parameters.Add(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(contextObject),"Instance")); 4416cmie.Parameters.Add(new CodeVariableReferenceExpression(strArray)); 4417cmie.Parameters.Add(new CodeVariableReferenceExpression(strIndex)); 4452cmie.Parameters.Add(coce); 4453cmie.Parameters.Add(new CodeVariableReferenceExpression(strnCtr)); 5105cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["putOptions"].ToString())); 5655cmie1.Parameters.Add(new CodeVariableReferenceExpression(strnCtr)); 5850cmie1.Parameters.Add(new CodeVariableReferenceExpression(strnCtr)); 5966cmie1.Parameters.Add(new CodeVariableReferenceExpression(strnCtr)); 5995cmie.Parameters.Add(param); 6017cmie.Parameters.Add(param); 6044cmie1.Parameters.Add(new CodeCastExpression(new CodeTypeReference("System.DateTime"),beginingExpression)); 6052cmie2.Parameters.Add(new CodeCastExpression(new CodeTypeReference("System.TimeSpan"),beginingExpression)); 6160cmie1.Parameters.Add(new CodeVariableReferenceExpression(strnCtr)); 6164cmie2.Parameters.Add(cmie1); 6557cmie.Parameters.Add(new CodePrimitiveExpression(15)); 6558cmie.Parameters.Add(new CodePrimitiveExpression(6)); 6572cmie1.Parameters.Add(new CodeVariableReferenceExpression(tempStr)); 6726cmie2.Parameters.Add(new CodeVariableReferenceExpression(ticks)); 6737cmie1.Parameters.Add(new CodeVariableReferenceExpression(datetimeVariable)); 6770cmie.Parameters.Add(new CodePrimitiveExpression(22)); 6771cmie.Parameters.Add(new CodePrimitiveExpression(3)); 6805cmie.Parameters.Add(new CodePrimitiveExpression(21)); 6806cmie.Parameters.Add(new CodePrimitiveExpression(4)); 6814cmie.Parameters.Add(new CodeVariableReferenceExpression(tempStr)); 6834cmie.Parameters.Add(new CodeCastExpression("System.Double",new CodeVariableReferenceExpression(offsetAdjust))); 6860cmie.Parameters.Add(new CodePrimitiveExpression(SubStringParam1)); 6861cmie.Parameters.Add(new CodePrimitiveExpression(SubStringParam2)); 6874cmie.Parameters.Add(new CodeVariableReferenceExpression(tempVarName)); 6916cmie1.Parameters.Add(new CodePrimitiveExpression(8)); 6917cmie1.Parameters.Add(new CodePrimitiveExpression('0')); 7001cmie1.Parameters.Add(new CodePrimitiveExpression(2)); 7002cmie1.Parameters.Add(new CodePrimitiveExpression('0')); 7018cmie1.Parameters.Add(new CodePrimitiveExpression(2)); 7019cmie1.Parameters.Add(new CodePrimitiveExpression('0')); 7035cmie1.Parameters.Add(new CodePrimitiveExpression(2)); 7036cmie1.Parameters.Add(new CodePrimitiveExpression('0')); 7114cmie.Parameters.Add(new CodePrimitiveExpression(0)); 7115cmie.Parameters.Add(new CodePrimitiveExpression(6)); 7126cmie.Parameters.Add(new CodePrimitiveExpression(6)); 7127cmie.Parameters.Add(new CodePrimitiveExpression('0')); 7178cmie1.Parameters.Add(new CodeVariableReferenceExpression(dateParam)); 7213cmie1.Parameters.Add(new CodeVariableReferenceExpression(OffsetMins)); 7254cmie2.Parameters.Add(new CodePrimitiveExpression(3)); 7255cmie2.Parameters.Add(new CodePrimitiveExpression('0')); 7273cmie2.Parameters.Add(new CodePrimitiveExpression(1)); 7274cmie2.Parameters.Add(new CodeBinaryOperatorExpression(new CodePropertyReferenceExpression(new CodeVariableReferenceExpression("strTemp"),"Length"), 7281cmie3.Parameters.Add(new CodePrimitiveExpression(3)); 7282cmie3.Parameters.Add(new CodePrimitiveExpression('0')); 7302cmie2.Parameters.Add(new CodePrimitiveExpression(4)); 7303cmie2.Parameters.Add(new CodePrimitiveExpression('0')); 7410cmie1.Parameters.Add(new CodePrimitiveExpression(0)); 7411cmie1.Parameters.Add(new CodePrimitiveExpression(6)); 7422cmie1.Parameters.Add(new CodePrimitiveExpression(6)); 7423cmie1.Parameters.Add(new CodePrimitiveExpression('0')); 7456cmie2.Parameters.Add(new CodePrimitiveExpression(2)); 7457cmie2.Parameters.Add(new CodePrimitiveExpression('0')); 7564cmie.Parameters.Add(new CodePrimitiveExpression(21)); 7565cmie.Parameters.Add(new CodePrimitiveExpression(4)); 7612cmie.Parameters.Add(new CodePrimitiveExpression(15)); 7613cmie.Parameters.Add(new CodePrimitiveExpression(6)); 7619cmie.Parameters.Add(new CodeVariableReferenceExpression(strTemp)); 7757cmie.Parameters.Add(new CodeVariableReferenceExpression(ticks)); 7763cmie.Parameters.Add(new CodeVariableReferenceExpression(tsTemp)); 7784cmie.Parameters.Add(new CodePrimitiveExpression(start)); 7785cmie.Parameters.Add(new CodePrimitiveExpression(numOfCharacters)); 7791cmie.Parameters.Add(new CodeVariableReferenceExpression(strTemp));
System.ServiceModel (15)
System\ServiceModel\Description\ClientClassGenerator.cs (15)
277invokeMethod.Parameters.Add(inValue); 283invokeMethod.Parameters.Add(new CodeArgumentReferenceExpression(param.Name)); 461methodInvoke.Parameters.Add(new CodeDirectionExpression(parameter.Direction, new CodeVariableReferenceExpression(parameter.Name))); 678invokeBegin.Parameters.Add(new CodeDirectionExpression(beginMethod.Parameters[i].Direction, 686invokeBegin.Parameters.Add(new CodeVariableReferenceExpression(beginMethod.Parameters[i].Name)); 724invokeEnd.Parameters.Add(new CodeVariableReferenceExpression(endMethod.Parameters[i].Name)); 734invokeEnd.Parameters.Add(new CodeDirectionExpression(endMethod.Parameters[i].Direction, 870invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), beginOperationDelegate.Name)); 873invokeAsync.Parameters.Add(invokeAsyncInValues); 877invokeAsync.Parameters.Add(new CodePrimitiveExpression(null)); 879invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), endOperationDelegate.Name)); 880invokeAsync.Parameters.Add(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), operationCompletedDelegate.Name)); 881invokeAsync.Parameters.Add(new CodeVariableReferenceExpression(userStateParamName)); 905invokeEventAsyncMethod.Parameters.Add(new CodeVariableReferenceExpression( 908invokeEventAsyncMethod.Parameters.Add(new CodePrimitiveExpression(null));
System.Web (100)
Compilation\BaseCodeDomTreeGenerator.cs (3)
645getObject.Parameters.Add(new CodePrimitiveExpression(entry.Name)); 707createObjectCall.Parameters.Add(new CodePrimitiveExpression(obj.Progid)); 717createObjectCall.Parameters.Add(new CodePrimitiveExpression(obj.Clsid));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (38)
77methodInvoke.Parameters.Add(expr); 115methodInvoke.Parameters.Add(new CodeArgumentReferenceExpression(renderMethodParameterName)); 116methodInvoke.Parameters.Add(new CodePrimitiveExpression(offset)); 117methodInvoke.Parameters.Add(new CodePrimitiveExpression(size)); 118methodInvoke.Parameters.Add(new CodePrimitiveExpression(fAsciiOnly)); 140methCallExpression.Parameters.Add(ctrlToAdd); 325applyStyleSheetExpr.Parameters.Add(BuildPagePropertyReferenceExpression()); 397methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), pagePropertyName)); 501removeExpr.Parameters.Add(new CodePrimitiveExpression(templateName)); 521instantiateTemplateExpr.Parameters.Add(ctrlRefExpr); 522instantiateTemplateExpr.Parameters.Add(templateFieldRef); 526instantiateTemplateExpr.Parameters.Add(ctrlRefExpr); 567cmiExpression.Parameters.Add(new CodePrimitiveExpression(contentPlaceHolderID)); 568cmiExpression.Parameters.Add(cocExpr); 600methCallExpression.Parameters.Add(new CodePrimitiveExpression(i/2)); 601methCallExpression.Parameters.Add(new CodePrimitiveExpression(s)); 670call.Parameters.Add(ctrlRefExpr); 671call.Parameters.Add(new CodePrimitiveExpression(ctrlBuilder.ID)); 676call.Parameters.Add(new CodePrimitiveExpression( 680call.Parameters.Add(new CodePrimitiveExpression(Guid.NewGuid().ToString())); 681call.Parameters.Add(new CodePrimitiveExpression(cacheAttrib.Duration)); 682call.Parameters.Add(new CodePrimitiveExpression(cacheAttrib.VaryByParams)); 683call.Parameters.Add(new CodePrimitiveExpression(cacheAttrib.VaryByControls)); 684call.Parameters.Add(new CodePrimitiveExpression(cacheAttrib.VaryByCustom)); 685call.Parameters.Add(new CodePrimitiveExpression(cacheAttrib.SqlDependency)); 690call.Parameters.Add(newDelegate); 692call.Parameters.Add(new CodePrimitiveExpression(providerName)); 721methCallExpression.Parameters.Add(new CodePrimitiveExpression(offset)); 722methCallExpression.Parameters.Add(new CodePrimitiveExpression(size)); 723methCallExpression.Parameters.Add(new CodePrimitiveExpression(fAsciiOnly)); 794methCallExpression.Parameters.Add(new CodePropertyReferenceExpression(ctrlRefExpr, pseSub.Name)); 825methCallExpression.Parameters.Add(childCtrlRefExpr); 909methCallExpression.Parameters.Add(newDelegate); 1065findControlCallExpression.Parameters.Add(new CodePrimitiveExpression(findControlParameter)); 1319methCallExpression.Parameters.Add(new CodePrimitiveExpression(i/2)); 1320methCallExpression.Parameters.Add(expr); 1561methodInvoke.Parameters.Add(new CodeArgumentReferenceExpression(renderMethodParameterName)); 1760methCallExpression.Parameters.Add(new CodePrimitiveExpression(current.Filter));
Compilation\CodeDOMUtility.cs (8)
135methCall.Parameters.Add(e); 197methCall.Parameters.Add(new CodePrimitiveExpression(s)); 198methCall.Parameters.Add(new CodePropertyReferenceExpression(BuildGlobalCodeTypeReferenceExpression(typeof(CultureInfo)), "InvariantCulture")); 205methCall.Parameters.Add(new CodePrimitiveExpression(value.ToString())); 261methodInvoke.Parameters.Add(new CodePrimitiveExpression(targetPropertyName)); 263methodInvoke.Parameters.Add(GenerateConvertToString(value)); 307invokeExpr.Parameters.Add(value); 308invokeExpr.Parameters.Add(new CodePropertyReferenceExpression(
Compilation\DataBindingExpressionBuilder.cs (2)
43evalExpr.Parameters.Add(new CodePrimitiveExpression(field)); 45evalExpr.Parameters.Add(new CodePrimitiveExpression(formatString));
Compilation\PageCodeDomTreeGenerator.cs (12)
115createWrap.Parameters.Add(new CodeVariableReferenceExpression(dependenciesLocalName)); 388addDeps.Parameters.Add(new CodeFieldReferenceExpression(_classTypeExpr, fileDependenciesName)); 400call.Parameters.Add(new CodeFieldReferenceExpression( 468invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("context")); 469invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("cb")); 470invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("data")); 492call.Parameters.Add(new CodeArgumentReferenceExpression("ar")); 526invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("context")); 527invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("cb")); 528invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("data")); 550call.Parameters.Add(new CodeArgumentReferenceExpression("ar")); 600invokeExpr.Parameters.Add(new CodeArgumentReferenceExpression("context"));
Compilation\PageThemeCodeDomTreeGenerator.cs (2)
72cmie.Parameters.Add(new CodeTypeOfExpression(controlType)); 73cmie.Parameters.Add(new CodePrimitiveExpression(skinID));
Compilation\ProfileBuildProvider.cs (5)
202cmie.Parameters.Add(new CodePrimitiveExpression(name)); 218setLine.Parameters.Add(new CodePrimitiveExpression(name)); 219setLine.Parameters.Add(new CodePropertySetValueReferenceExpression()); 252cmie.Parameters.Add(new CodePrimitiveExpression(prop.Name)); 284cmie.Parameters.Add(new CodeArgumentReferenceExpression("username"));
Compilation\ResourceExpressionBuilder.cs (7)
125expr.Parameters.Add(new CodePrimitiveExpression(classKey)); 126expr.Parameters.Add(new CodePrimitiveExpression(resourceKey)); 130expr.Parameters.Add(new CodeTypeOfExpression(entry.DeclaringType)); 131expr.Parameters.Add(new CodePrimitiveExpression(entry.PropertyInfo.Name)); 144expr.Parameters.Add(new CodePrimitiveExpression(resourceKey)); 148expr.Parameters.Add(new CodeTypeOfExpression(entry.DeclaringType)); 149expr.Parameters.Add(new CodePrimitiveExpression(entry.PropertyInfo.Name));
Compilation\TemplateControlCodeDomTreeGenerator.cs (3)
203methCallExpression.Parameters.Add(new CodeFieldReferenceExpression( 206methCallExpression.Parameters.Add(new CodePrimitiveExpression(0)); 213call.Parameters.Add(new CodeThisReferenceExpression());
Configuration\BrowserCapabilitiesCodeGenerator.cs (18)
754cmie.Parameters.Add(_browserCapsRefExpr); 1011cmie.Parameters.Add(new CodePrimitiveExpression(bd.ID)); 1090expr.Parameters.Add(new CodeVariableReferenceExpression(IgnoreApplicationBrowserVariableName)); 1092expr.Parameters.Add(new CodeVariableReferenceExpression(_headersRefName)); 1093expr.Parameters.Add(new CodeVariableReferenceExpression(browserCapsVariable)); 1224cmie.Parameters.Add(headerValue); 1225cmie.Parameters.Add(new CodePrimitiveExpression(matchedString)); 1287cmie.Parameters.Add(headerValue); 1288cmie.Parameters.Add(new CodePrimitiveExpression(matchedString)); 1342cmie.Parameters.Add(new CodeCastExpression(typeof(string), 1351cmie.Parameters.Add( 1361cmie.Parameters.Add(new CodePrimitiveExpression(matchedString)); 1378cmie.Parameters.Add( 1387cmie.Parameters.Add(new CodePrimitiveExpression(matchedString)); 1467xProcess.Parameters.Add(new CodeVariableReferenceExpression(_headersRefName)); 1468xProcess.Parameters.Add(new CodeVariableReferenceExpression(browserCapsVariable)); 1487xProcess.Parameters.Add(new CodeVariableReferenceExpression(_headersRefName)); 1488xProcess.Parameters.Add(new CodeVariableReferenceExpression(browserCapsVariable));
UI\SimplePropertyEntry.cs (2)
72methCallExpression.Parameters.Add(new CodePrimitiveExpression(Name)); 73methCallExpression.Parameters.Add(new CodePrimitiveExpression(Value));
System.Web.Services (3)
System\Web\Services\Description\ProtocolImporter.cs (1)
443invoke.Parameters.Add(new CodeArgumentReferenceExpression("userState"));
System\Web\Services\Description\WebCodeGenerator.cs (2)
324invoke.Parameters.Add(new CodeArgumentReferenceExpression(parameterNames[i])); 326invoke.Parameters.Add(new CodePrimitiveExpression(null));
System.Workflow.Activities (30)
Rules\Expressions.cs (26)
1327if (invokeExpr.Parameters != null) 1329for (int i = 0; i < invokeExpr.Parameters.Count; ++i) 1331CodeExpression argExpr = invokeExpr.Parameters[i]; 1478analysis.AnalyzeRuleAttributes(mi, targetObject, qualifier, invokeExpr.Parameters, mi.GetParameters(), attributedExprs); 1492for (int i = 0; i < invokeExpr.Parameters.Count; ++i) 1494CodeExpression argExpr = invokeExpr.Parameters[i]; 1535if (invokeExpr.Parameters != null && invokeExpr.Parameters.Count > 0) 1537int actualArgCount = invokeExpr.Parameters.Count; 1552Type argType = execution.Validation.ExpressionInfo(invokeExpr.Parameters[i]).ExpressionType; 1553RuleExpressionResult argResult = RuleExpressionWalker.Evaluate(execution, invokeExpr.Parameters[i]); 1556CodeDirectionExpression direction = invokeExpr.Parameters[i] as CodeDirectionExpression; 1561outArgumentResults = new RuleExpressionResult[invokeExpr.Parameters.Count]; 1595Type argType = execution.Validation.ExpressionInfo(invokeExpr.Parameters[i]).ExpressionType; 1596RuleExpressionResult argResult = RuleExpressionWalker.Evaluate(execution, invokeExpr.Parameters[i]); 1622for (int i = 0; i < invokeExpr.Parameters.Count; ++i) 1654if (invokeExpr.Parameters != null) 1656for (int i = 0; i < invokeExpr.Parameters.Count; ++i) 1658CodeExpression paramExpr = invokeExpr.Parameters[i]; 1683foreach (CodeExpression argument in invokeExpr.Parameters) 1684newMethod.Parameters.Add(RuleExpressionWalker.Clone(argument)); 1708if (invokeExpr.Parameters.Count != newMethod.Parameters.Count) 1710for (int i = 0; i < invokeExpr.Parameters.Count; ++i) 1712if (!RuleExpressionWalker.Match(invokeExpr.Parameters[i], newMethod.Parameters[i]))
WebServiceReceive.cs (4)
833baseInvokeExpression.Parameters.Add(new CodeTypeOfExpression(methodInfo.DeclaringType)); 834baseInvokeExpression.Parameters.Add(new CodePrimitiveExpression(methodInfo.Name)); 835baseInvokeExpression.Parameters.Add(new CodePrimitiveExpression(isActivation)); 836baseInvokeExpression.Parameters.Add(paramArrayCreationExpression);