220 instantiations of CodeParameterDeclarationExpression
PresentationBuildTasks (16)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (16)
901CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(int), CONNECTIONID);
902CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
1133CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(int), CONNECTIONID);
1134CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
2002CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(pars[i].ParameterType, pars[i].Name);
2517CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), DELEGATETYPE);
2518CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(string), HANDLERARG);
2687CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), TYPE);
2688CodeParameterDeclarationExpression param4 = new CodeParameterDeclarationExpression(typeof(CultureInfo), CULTURE);
2722param1 = new CodeParameterDeclarationExpression(typeof(PropertyInfo), PROPINFO);
2723CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
2750CodeParameterDeclarationExpression param3 = new CodeParameterDeclarationExpression(typeof(object), VALUE);
2786param1 = new CodeParameterDeclarationExpression(typeof(Type), DELEGATETYPE);
2787param3 = new CodeParameterDeclarationExpression(typeof(string), HANDLERARG);
2832param1 = new CodeParameterDeclarationExpression(typeof(EventInfo), EVENTINFO);
2833param3 = new CodeParameterDeclarationExpression(typeof(Delegate), HANDLERARG);
System.Activities (31)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (31)
759new CodeParameterDeclarationExpression(
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"));
1280CodeParameterDeclarationExpression expressionIdParam = new CodeParameterDeclarationExpression(new CodeTypeReference(typeof(int)), "expressionId");
1584var exprValueParam = new CodeParameterDeclarationExpression(resultType, paramName);
1602CodeParameterDeclarationExpression exprValueParam = new CodeParameterDeclarationExpression(expressionMethod.Parameters[0].Type, expressionMethod.Parameters[0].Name);
1827new CodeParameterDeclarationExpression(
1832new CodeParameterDeclarationExpression(
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"));
1919new CodeParameterDeclarationExpression(typeof(IList<LocationReference>), "locations");
1925new CodeParameterDeclarationExpression(typeof(ActivityContext), "activityContext");
1931new CodeParameterDeclarationExpression(typeof(bool), "computelocationsOffset");
1954new CodeParameterDeclarationExpression(typeof(IList<Location>), "locations");
1960new CodeParameterDeclarationExpression(typeof(bool), "computelocationsOffset");
1982CodeParameterDeclarationExpression constructorLocationsParam = new CodeParameterDeclarationExpression(typeof(IList<LocationReference>), "locationReferences");
2199new CodeParameterDeclarationExpression(
2204new CodeParameterDeclarationExpression(
2209new CodeParameterDeclarationExpression(
System.Data (2)
System.Data.Entity.Design (7)
System.Data.Services.Design (7)
System.Management (74)
WmiGenerator.cs (74)
1135cpde = new CodeParameterDeclarationExpression();
2094cmm.Parameters.Add(new CodeParameterDeclarationExpression(strType,
2203cpde = new CodeParameterDeclarationExpression();
2213cpde = new CodeParameterDeclarationExpression();
2252cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2262cpde = new CodeParameterDeclarationExpression();
2272cpde = new CodeParameterDeclarationExpression();
2317cpde = new CodeParameterDeclarationExpression();
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));
2571cpde = new CodeParameterDeclarationExpression();
2642cpde = new CodeParameterDeclarationExpression();
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));
2969cpde = new CodeParameterDeclarationExpression();
3101cpde = new CodeParameterDeclarationExpression();
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));
3831cpde = new CodeParameterDeclarationExpression();
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));
4323cpde = new CodeParameterDeclarationExpression();
4401cpde = new CodeParameterDeclarationExpression();
4406cpde = new CodeParameterDeclarationExpression();
4539cpde = new CodeParameterDeclarationExpression();
5082CodeParameterDeclarationExpression cpde = new CodeParameterDeclarationExpression();
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 (6)
System.ServiceModel (20)
System\ServiceModel\Description\ClientClassGenerator.cs (13)
192ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(InstanceContext), inputInstanceName));
197ctor.Parameters.Add(new CodeParameterDeclarationExpression(ClientCtorParamTypes[i][j], ClientCtorParamNames[i][j]));
282helperMethod.Parameters.Add(new CodeParameterDeclarationExpression(param.Type, param.Name));
339param = new CodeParameterDeclarationExpression(field.Type, NamingHelper.GetUniqueName(field.Name, DoesParameterNameExist, helperMethod));
477CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.Type, parameter.Name);
534ctor.Parameters.Add(new CodeParameterDeclarationExpression(EventArgsCtorParamTypes[i], EventArgsCtorParamNames[i]));
661CodeParameterDeclarationExpression inValuesParam = new CodeParameterDeclarationExpression();
684onBeginOperationMethod.Parameters.Add(new CodeParameterDeclarationExpression(
722onEndOperationMethod.Parameters.Add(new CodeParameterDeclarationExpression(
790operationCompletedMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), "state"));
854CodeParameterDeclarationExpression eventAsyncMethodParameter = new CodeParameterDeclarationExpression(
863eventAsyncMethod.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(objectType), userStateParamName));
901eventAsyncMethodOverload.Parameters.Add(new CodeParameterDeclarationExpression(
System.ServiceModel.Activation (1)
System.Web (39)
System.Web.Services (9)
System.Workflow.Activities (2)
System.Workflow.ComponentModel (4)
System.Xml (1)
XamlBuildTask (1)
121 references to CodeParameterDeclarationExpression
PresentationBuildTasks (11)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (11)
901CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(int), CONNECTIONID);
902CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
1133CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(int), CONNECTIONID);
1134CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
2002CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(pars[i].ParameterType, pars[i].Name);
2517CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), DELEGATETYPE);
2518CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(string), HANDLERARG);
2687CodeParameterDeclarationExpression param1 = new CodeParameterDeclarationExpression(typeof(Type), TYPE);
2688CodeParameterDeclarationExpression param4 = new CodeParameterDeclarationExpression(typeof(CultureInfo), CULTURE);
2723CodeParameterDeclarationExpression param2 = new CodeParameterDeclarationExpression(typeof(object), TARGET);
2750CodeParameterDeclarationExpression param3 = new CodeParameterDeclarationExpression(typeof(object), VALUE);
System (36)
System.Activities (9)
System.Data (2)
System.Data.Entity.Design (7)
System.Data.Services.Design (4)
System.Management (2)
System.Runtime.Serialization (5)
System.ServiceModel (18)
System\ServiceModel\Description\OperationGenerator.cs (7)
421internal CodeParameterDeclarationExpression GetOrCreateParameter(CodeTypeReference type, string name, FieldDirection direction, ref int index, out bool createdNew)
426CodeParameterDeclarationExpression existing = existingParams.GetParameter(name, ref i);
439CodeParameterDeclarationExpression paramDecl = new CodeParameterDeclarationExpression();
498CodeParameterDeclarationExpression paramDecl = parent.GetOrCreateParameter(type, name, this.direction, ref index, out createdNew);
512internal CodeParameterDeclarationExpression GetParameter(string name, ref int index)
516CodeParameterDeclarationExpression parameter = parameters[i];
834CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(field.Type, field.Name);
System.Web (8)
System.Web.Extensions (1)
System.Web.Services (3)
System.Workflow.Activities (7)
System.Workflow.ComponentModel (8)