80 references to 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 (12)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (12)
1584var exprValueParam = new CodeParameterDeclarationExpression(resultType, paramName); 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");
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1543private static CodeParameterDeclarationExpression ParameterDecl(Type type, string name) { return new CodeParameterDeclarationExpression(type, name);}
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
1668CodeParameterDeclarationExpression readerArg = new CodeParameterDeclarationExpression(typeof(XmlReader), "reader"); 1689CodeParameterDeclarationExpression writerArg = new CodeParameterDeclarationExpression(typeof(XmlWriter), "writer"); 1726CodeParameterDeclarationExpression paramDeclaration = new CodeParameterDeclarationExpression(Globals.TypeOfXmlSchemaSet, "schemas"); 1909raisePropertyChangedEventMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(string), propertyName.ParameterName));
System.ServiceModel (3)
System\ServiceModel\Description\ClientClassGenerator.cs (3)
192ctor.Parameters.Add(new CodeParameterDeclarationExpression(typeof(InstanceContext), inputInstanceName)); 197ctor.Parameters.Add(new CodeParameterDeclarationExpression(ClientCtorParamTypes[i][j], ClientCtorParamNames[i][j])); 534ctor.Parameters.Add(new CodeParameterDeclarationExpression(EventArgsCtorParamTypes[i], EventArgsCtorParamNames[i]));
System.Web (35)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (7)
188method.Parameters.Add(new CodeParameterDeclarationExpression(ctrlType, "__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)
301CodeParameterDeclarationExpression cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), "headers"); 303cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), "browserCaps"); 347cpde = new CodeParameterDeclarationExpression(typeof(bool), BrowserCapabilitiesCodeGenerator.IgnoreApplicationBrowserVariableName); 350cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), "headers"); 352cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), browserCapsVariable); 426cpde = new CodeParameterDeclarationExpression(typeof(bool), BrowserCapabilitiesCodeGenerator.IgnoreApplicationBrowserVariableName); 428cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), "headers"); 430cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), browserCapsVariable);
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")); 297var parameterExpr = new CodeParameterDeclarationExpression(p.ParameterType, p.Name);
Configuration\BrowserCapabilitiesCodeGenerator.cs (7)
738CodeParameterDeclarationExpression cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), _headersRefName); 740cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), browserCapsVariable); 993CodeParameterDeclarationExpression cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), _headersRefName); 995cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), browserCapsVariable); 1107cpde = new CodeParameterDeclarationExpression(typeof(bool), IgnoreApplicationBrowserVariableName); 1111cpde = new CodeParameterDeclarationExpression(typeof(NameValueCollection), _headersRefName); 1113cpde = new CodeParameterDeclarationExpression(typeof(HttpBrowserCapabilities), browserCapsVariable);
System.Web.Services (6)
System\Web\Services\Description\WebCodeGenerator.cs (6)
271handler.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), "sender")); 334asyncCodeMethod.Parameters.Add(new CodeParameterDeclarationExpression(typeof(object), userState)); 378CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(typeof(object[]), results); 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.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\EventInfo.cs (1)
83codeRemoveMethod.Parameters.Add(new CodeParameterDeclarationExpression(handlerType, "Handler"));
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"));