86 references to CodeParameterDeclarationExpression
System.Activities (19)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (19)
759
new
CodeParameterDeclarationExpression
(
816
getLocationsMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)), "expressionId"));
885
getExpressionTreeForExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)), "expressionId"));
886
getExpressionTreeForExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IList<LocationReference>)), "locationReferences"));
932
invokeExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)), "expressionId"));
936
invokeExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IList<LocationReference>)), "locations"));
937
invokeExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(ActivityContext)), "activityContext"));
941
invokeExpressionMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IList<Location>)), "locations"));
1276
isValidMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(string)), "expressionText"));
1277
isValidMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(bool)), "isReference"));
1278
isValidMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IList<LocationReference>)), "locations"));
1280
CodeParameterDeclarationExpression expressionIdParam = new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)), "expressionId");
1602
CodeParameterDeclarationExpression exprValueParam = new
CodeParameterDeclarationExpression
(expressionMethod.Parameters[0].Type, expressionMethod.Parameters[0].Name);
1827
new
CodeParameterDeclarationExpression
(
1832
new
CodeParameterDeclarationExpression
(
1852
setLocationsOffsetMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)),
2199
new
CodeParameterDeclarationExpression
(
2204
new
CodeParameterDeclarationExpression
(
2209
new
CodeParameterDeclarationExpression
(
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
490
CodeParameterDeclarationExpression parameter = new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(int)), "index");
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
237
CodeParameterDeclarationExpression connectionStringParam = new
CodeParameterDeclarationExpression
(TypeReference.String, "connectionString");
256
CodeParameterDeclarationExpression connectionParam = new
CodeParameterDeclarationExpression
(TypeReference.AdoEntityClientType("EntityConnection"), "connection");
637
CodeParameterDeclarationExpression codeParameter = new
CodeParameterDeclarationExpression
(argumentType, parameterName);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
99
onChangingDomMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(returnType, "value"));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
201
CodeParameterDeclarationExpression paramDecl = new
CodeParameterDeclarationExpression
(
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
785
propertyChangedMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(System.String), CodeTypeReferenceOptions.GlobalReference), "property"));
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
185
CodeParameterDeclarationExpression connectionParam = new
CodeParameterDeclarationExpression
(TypeReference.FromString("System.Uri", true), "serviceRoot");
259
resolveTypeFromName.Parameters.Add(new
CodeParameterDeclarationExpression
(TypeReference.ForType(typeof(string)), "typeName"));
321
resolveNameFromType.Parameters.Add(new
CodeParameterDeclarationExpression
(TypeReference.ForType(typeof(Type)), "clientType"));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
105
onChangingDomMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(returnType, "value"));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
193
CodeParameterDeclarationExpression paramDecl = new
CodeParameterDeclarationExpression
(
System.Management (32)
WmiGenerator.cs (32)
2252
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2349
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2350
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
2377
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2378
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2402
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),
2439
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),
2474
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),
2476
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),
2535
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2536
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2537
cctor.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
2723
cmmInit.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2724
cmmInit.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2725
cmmInit.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
3477
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3478
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()),
3588
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3589
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.String"),strCondition));
3662
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3909
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.Object"),ValueVar));
3975
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.Object"),ValueVar));
3978
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(crt,AttributeVar));
4107
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.Object"),ValueVar));
5510
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
5511
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathParam));
5512
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
5584
cmm.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()),strTempObj));
6442
cmmdt.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.String"),dmtfParam));
6893
cmmts.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.TimeSpan"),timespan));
7155
cmmdt.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.DateTime"),dateParam));
7482
cmmts.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference("System.String"),tsParam));
System.Runtime.Serialization (2)
System\Runtime\Serialization\CodeExporter.cs (2)
1630
get { return new
CodeParameterDeclarationExpression
(GetCodeTypeReference(Globals.TypeOfSerializationInfo), Globals.SerializationInfoFieldName); }
1635
get { return new
CodeParameterDeclarationExpression
(GetCodeTypeReference(Globals.TypeOfStreamingContext), Globals.ContextFieldName); }
System.ServiceModel (15)
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);
684
onBeginOperationMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(
722
onEndOperationMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(
790
operationCompletedMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(objectType), "state"));
854
CodeParameterDeclarationExpression eventAsyncMethodParameter = new
CodeParameterDeclarationExpression
(
863
eventAsyncMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(new CodeTypeReference(objectType), userStateParamName));
901
eventAsyncMethodOverload.Parameters.Add(new
CodeParameterDeclarationExpression
(
System\ServiceModel\Description\OperationGenerator.cs (3)
286
this.Method.Parameters.Insert(0, new
CodeParameterDeclarationExpression
(typedReqMessageRef, "request"));
382
this.Method.Parameters.Insert(0, new
CodeParameterDeclarationExpression
(Context.ServiceContractGenerator.GetCodeTypeReference((typeof(Message))), "request"));
834
CodeParameterDeclarationExpression param = new
CodeParameterDeclarationExpression
(field.Type, field.Name);
System\ServiceModel\Description\ServiceContractGenerator.cs (3)
343
beginMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(context.ServiceContractGenerator.GetCodeTypeReference(typeof(AsyncCallback)), Strings.AsyncCallbackArgName));
344
beginMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(context.ServiceContractGenerator.GetCodeTypeReference(typeof(object)), Strings.AsyncStateArgName));
350
endMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(context.ServiceContractGenerator.GetCodeTypeReference(typeof(IAsyncResult)), Strings.AsyncResultArgName));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
170
codeMemberMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(
System.Web (2)
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
899
new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IDictionary)), _dictionaryRefName);
962
new
CodeParameterDeclarationExpression
(new CodeTypeReference(typeof(IDictionary)), _dictionaryRefName);
System.Workflow.Activities (1)
Common\DelegateTypeInfo.cs (1)
108
parameters[index] = new
CodeParameterDeclarationExpression
(new CodeTypeReference(paramType), paramName);
System.Workflow.ComponentModel (2)
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
64
codeAddMethod.Parameters.Add(new
CodeParameterDeclarationExpression
(this.codeDomEvent.Type, "Handler"));
Shared\DelegateTypeInfo.cs (1)
107
parameters[index] = new
CodeParameterDeclarationExpression
(new CodeTypeReference(paramType), paramName);