2 overrides of Name
mscorlib (1)
system\reflection\parameterinfo.cs (1)
529public override String Name
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
1278public override string Name
160 references to Name
ComSvcConfig (4)
ComplusTypeValidator.cs (4)
141ToolConsole.WriteError(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails), ""); 143ToolConsole.WriteNonVerboseWarning(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails)); 267ToolConsole.WriteError(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails), ""); 269ToolConsole.WriteWarning(SR.GetString(SR.ParameterOfMethodInInterfaceHasANonCompliantType, Tool.Options.ShowGuids ? interfaceInfo.Iid.ToString("B") : interfaceInfo.Name, method.Name, parameter.Name, typeMismatchDetails));
mscorlib (15)
system\defaultbinder.cs (1)
1136if (names[i].Equals(pars[j].Name)) {
system\diagnostics\eventing\eventsource.cs (3)
3489manifest.AddEventParameter(args[fieldIdx].ParameterType, args[fieldIdx].Name); 3584string.Compare(args[0].Name, "relatedActivityId", StringComparison.OrdinalIgnoreCase) == 0) 4836names.Add(parameter.Name);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventTypes.cs (1)
110var paramName = paramInfos[i].Name;
system\diagnostics\stacktrace.cs (1)
709sb.Append(typeName + " " + pi[j].Name);
system\reflection\parameterinfo.cs (1)
144return ParameterType.FormatTypeName() + " " + Name;
system\runtime\remoting\message.cs (8)
312return pi[index].Name; 2691return methodCache.Parameters[index].Name; 3481if (memberName.Equals(pinfos[j].Name)) 3573return methodCache.Parameters[index].Name; 4279paramNames[paramTypesIndex] = pinfos[i].Name; 4456if (memberName.Equals(pinfos[j].Name)) 4602return methodCache.Parameters[index].Name; 5358ret[i] = pi[_map[i]].Name;
PresentationBuildTasks (4)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (2)
2002CodeParameterDeclarationExpression param = new CodeParameterDeclarationExpression(pars[i].ParameterType, pars[i].Name); 2005cmieOnEvent.Parameters.Add(new CodeArgumentReferenceExpression(pars[i].Name));
Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
969parameterName = maxConstructorParams > 0 ? constructorParameters[currentConstructorParam].Name : null; 1100parameterName = constructorParameters[currentConstructorParam].Name;
PresentationFramework (4)
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (2)
969parameterName = maxConstructorParams > 0 ? constructorParameters[currentConstructorParam].Name : null; 1100parameterName = constructorParameters[currentConstructorParam].Name;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
106constructorArguments.Add(parameters[i].Name, parameters[i].Name);
System.Activities (2)
System\Activities\Statements\MethodResolver.cs (2)
93paramArrayBaseName = formalParameters[formalParamCount].Name; 103string name = formalParameters[i].Name;
System.Core (3)
Microsoft\Scripting\Actions\CallSite.cs (2)
338var @params = invoke.GetParametersCached().Map(p => Expression.Parameter(p.ParameterType, p.Name)); 361var @params = invoke.GetParametersCached().Map(p => Expression.Parameter(p.ParameterType, p.Name));
Microsoft\Scripting\Ast\ElementInit.cs (1)
134throw Error.ElementInitializerMethodNoRefOutParam(pi.Name, addMethod.Name);
System.Data.Entity (5)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (2)
1768bool generateNames = methodParams.Skip(start).Any(p => p.Name == null); 1771paramNames[idx - start] = (generateNames ? _bindingAliases.Next() : methodParams[idx].Name);
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
1164throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedStringRemoveCase(call.Method, call.Method.GetParameters()[1].Name)); 1504throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartNonConstantInterval(call.Method, call.Method.GetParameters()[0].Name)); 1510throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartInvalidInterval(call.Method, call.Method.GetParameters()[0].Name, intervalValue));
System.Data.Linq (5)
Mapping\AttributedMetaModel.cs (2)
986get { return this.parameterInfo.Name; } 992return this.parameterInfo.Name;
Mapping\MappedMetaModel.cs (1)
1445get { return this.parameterInfo.Name; }
SqlClient\Query\SqlNamer.cs (2)
178sox.Args[i] = this.VisitNamedExpression(sox.Args[i], pis[i].Name); 212mc.Arguments[i] = this.VisitNamedExpression(mc.Arguments[i], pis[i].Name);
System.Data.Services (4)
System\Data\Services\DataServiceConfiguration.cs (3)
934throw new InvalidOperationException(Strings.DataService_ParameterIsOut(method.DeclaringType.FullName, method.Name, parameter.Name)); 1058parameters[0].Name, 1070parameters[1].Name,
System\Data\Services\Providers\BaseServiceProvider.cs (1)
817string parameterName = parameterInfo.Name ?? "p" + i.ToString(CultureInfo.InvariantCulture);
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
1767if (member.Name != constructorParams[i].Name)
System.Runtime.Remoting (6)
metadata\wsdlparser.cs (3)
4545sb.Append(WsdlParser.IsValidCS(param.Name)); 4564sb.Append(WsdlParser.IsValidCS(param.Name)); 4607sb.Append(WsdlParser.IsValidCS(param.Name));
metadata\wsdlwriter.cs (3)
1568methodRequest._paramNamesOrder.Add(param.Name); 1572String paramName = param.Name; 1683Util.Log("RealSchemaType.ParamInOut "+param.Name+" ref,in,out "+bIsByRef+","+bIsIn+","+bIsOut+" bMarshalIn,bMarshalOut "+bMarshalIn+","+bMarshalOut);
System.ServiceModel (4)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
309parameter.Name, 316new XmlName(parameter.Name),
System\ServiceModel\Description\ServiceReflector.cs (1)
488attrType.Name, param.Name, method.Name, method.ReflectedType.Name), e));
System\ServiceModel\Description\TypeLoader.cs (1)
1180MessagePartDescription partDescription = CreateParameterPartDescription(new XmlName(parameters[index].Name), defaultNS, index, parameters[index], GetParameterType(parameters[index]));
System.Web (24)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (1)
1387method.Parameters.Add(new CodeParameterDeclarationExpression(pi.ParameterType, pi.Name));
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
297var parameterExpr = new CodeParameterDeclarationExpression(p.ParameterType, p.Name); 317ctorCode.BaseConstructorArgs.Add(new CodeVariableReferenceExpression(p.Name));
ErrorFormatter.cs (1)
1093arrParams[k].Name);
UI\WebControls\ModelDataSourceView.cs (13)
251string parameterName = parameter.Name; 298string parameterName = parameter.Name; 566parameterName = lastParameter.Name; 1000string modelName = parameterInfo.Name; 1028if (!SelectParameters.ContainsKey(parameterInfo.Name)) { 1029SelectParameters.Add(parameterInfo.Name, new MethodParameterValue()); 1035SelectParameters[parameterInfo.Name].UpdateValue(value); 1064modelDataSourceMethod.Parameters.Add(parameterInfo.Name, value); 1090throw new NotSupportedException(SR.GetString(SR.ModelDataSourceView_MultipleValueProvidersNotSupported, parameterInfo.Name)); 1167if (parameterInfo.ParameterType.IsByRef && !parameterInfo.Name.Equals(TotalRowCountParameterName, StringComparison.OrdinalIgnoreCase)) { 1182outputParameters[parameter.Name] = values[i]; 1252parameterInfo.Name, parameterInfo.ParameterType, methodInfo, methodInfo.DeclaringType); 1259parameterInfo.Name, methodInfo, methodInfo.DeclaringType, value.GetType(), parameterInfo.ParameterType);
UI\WebControls\ObjectDataSourceView.cs (7)
1335outputParameters[parameter.Name] = values[i]; 1413parameters.Add(matchedMethodParameters[0].Name, newDataObject); 1417parameters.Add(matchedMethodParameters[0].Name, oldDataObject); 1423string param0Name = matchedMethodParameters[0].Name; 1424string param1Name = matchedMethodParameters[1].Name; 1507if (!allParameters.Contains(pi.Name)) { 1580string paramName = methodParameter.Name;
System.Web.Extensions (8)
Script\Services\RestHandler.cs (1)
89string name = param.ParameterInfo.Name;
Script\Services\WebServiceMethodData.cs (3)
62parameterData[param.Name] = new WebServiceParameterData(param, index); 168if (parameters.TryGetValue(paramData.ParameterInfo.Name, out value)) { 172throw new InvalidOperationException(String.Format(CultureInfo.InvariantCulture, AtlasWeb.WebService_MissingArg, paramData.ParameterInfo.Name));
Script\Services\WebServiceParameterData.cs (1)
40return _param.Name;
UI\WebControls\Expressions\MethodExpression.cs (3)
142if (!parameterValues.TryGetValue(param.Name, out value)) { 144AtlasWeb.MethodExpression_ParameterNotFound, MethodName, param.Name)); 147arguments[i] = DataSourceHelper.BuildObjectValue(value, param.ParameterType, param.Name);
System.Web.Services (13)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
68part.Name = XmlConvert.EncodeLocalName(parameterInfo.Name);
System\Web\Services\Description\SoapProtocolReflector.cs (1)
218parameterOrder[i] = parameters[i].Name;
System\Web\Services\Protocols\LogicalMethodInfo.cs (4)
416throw new InvalidOperationException(Res.GetString(Res.WebBadOutParameter, paramInfo.Name, methodInfo.DeclaringType.FullName, paramInfo.Name)); 439throw new InvalidOperationException(Res.GetString(Res.WebInOutParameter, paramInfo.Name, methodInfo.DeclaringType.FullName, paramInfo.Name));
System\Web\Services\Protocols\SoapReflector.cs (2)
364member.MemberName = soapParamInfo.parameterInfo.Name; 409member.MemberName = soapParamInfo.parameterInfo.Name;
System\Web\Services\Protocols\UrlEncodedParameterWriter.cs (2)
59Encode(writer, paramInfo.Name, array.GetValue(j)); 63Encode(writer, paramInfo.Name, values[i]);
System\Web\Services\Protocols\ValueCollectionParameterReader.cs (3)
52string[] arrayValues = collection.GetValues(paramInfo.Name); 62string value = collection[paramInfo.Name]; 63if (value == null) throw new InvalidOperationException(Res.GetString(Res.WebMissingParameter, paramInfo.Name));
System.Workflow.Activities (36)
Common\BasePropertyDescriptor.cs (3)
312: base((paramInfo.Position == -1) ? "(ReturnValue)" : paramInfo.Name, attributes) 321throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, paramInfo.Name)); 332else if (paramInfo.IsOut || paramInfo.Name == null)
Common\DelegateTypeInfo.cs (1)
82string paramName = argTypes[index].Name;
CorrelationValidator.cs (5)
452string.Format(CultureInfo.CurrentCulture, SR.GetString(SR.Error_OutRefParameterNotSupported), (memberInfo is EventInfo) ? delegateType.Name : methodInfo.Name, param.Name), ErrorNumbers.Error_OutRefParameterNotSupported); 457error.UserData.Add(typeof(ParameterInfo), param.Name); 723if (String.Compare("e", parameterInfo.Name, StringComparison.Ordinal) == 0) 746if (String.Compare(parsedPropertyName[0], parameterInfo.Name, StringComparison.Ordinal) == 0) 876parameterCollection.Add(parameter.Name, parameter);
Executors\InboundActivityHelper.cs (2)
95if (parameters.Contains(formalParameter.Name)) 97WorkflowParameterBinding binding = parameters[formalParameter.Name];
Executors\InvokeBase.cs (10)
20if (!parameterBindings.Contains(parameter.Name)) 21parameterBindings.Add(new WorkflowParameterBinding(parameter.Name)); 39if (parameterBindings.Contains(formalParameter.Name)) 41WorkflowParameterBinding binding = parameterBindings[formalParameter.Name]; 72if (parameterBindings.Contains(formalParameter.Name)) 74WorkflowParameterBinding binding = parameterBindings[formalParameter.Name]; 78actualParameters[index] = CloneOutboundValue(binding.Value, formatter, formalParameter.Name); 116if (parameterBindings.Contains(formalParameter.Name)) 120WorkflowParameterBinding binding = parameterBindings[formalParameter.Name]; 124binding.Value = CloneOutboundValue(actualParameters[index], formatter, formalParameter.Name);
InvokeWebService.cs (2)
407prop = new ParameterInfoBasedPropertyDescriptor(typeof(InvokeWebServiceActivity), paramInfo, InvokeWebServiceActivity.ReservedParameterNames.Contains(paramInfo.Name), DesignOnlyAttribute.Yes); 467string paramName = paramInfo.Name;
LocalService\CorrelationResolver.cs (1)
429if (param.Name == parameterName)
Rules\Design\Dialogs\IntellisenseTextBox.cs (1)
588toolTipText.Append(parameterInfo.Name);
Rules\RuleAttributes.cs (2)
85if (param.Name == firstPart) 221delegate(ParameterInfo p) { return p.Name == paramName; });
WebServiceReceive.cs (6)
307if (parameters.Contains(formalParameter.Name)) 309WorkflowParameterBinding binding = parameters[formalParameter.Name]; 572string paramName = paramInfo.Name; 822paramDecl.Name = paramInfo.Name; 826paramArrayCreationExpression.Initializers.Add(new CodeArgumentReferenceExpression(paramInfo.Name)); 850CodeExpression leftExpression = new CodeArgumentReferenceExpression(pinfo.Name);
WebServiceResponse.cs (3)
206WorkflowParameterBinding binding = parameterBindings[formalParameter.Name]; 405string paramName = paramInfo.Name; 693validationErrors.Add(new ValidationError(SR.GetString(SR.Error_ParameterTypeNotFound, methodInfo.Name, paramInfo.Name), ErrorNumbers.Error_ParameterTypeNotFound));
System.Workflow.ComponentModel (7)
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
1280get { return this.paramInfo.Name; }
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (2)
66constructorArguments.Add(parameters[i].Name, parameters[i++].Name);
Shared\BasePropertyDescriptor.cs (3)
311: base((paramInfo.Position == -1) ? "(ReturnValue)" : paramInfo.Name, attributes) 320throw new InvalidOperationException(SR.GetString(SR.Error_ParameterTypeResolution, paramInfo.Name)); 331else if (paramInfo.IsOut || paramInfo.Name == null)
Shared\DelegateTypeInfo.cs (1)
81string paramName = argTypes[index].Name;
System.WorkflowServices (15)
System\Workflow\Activities\OperationParameterInfo.cs (1)
64SetValue(OperationParameterInfo.NameProperty, parameter.Name);
System\Workflow\Activities\ReceiveActivity.cs (2)
1407outputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name)); 1419inputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name));
System\Workflow\Activities\SendActivity.cs (2)
622outputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name)); 627inputParameters.Add(new KeyValuePair<int, string>(parameter.Position, parameter.Name));
System\Workflow\Activities\TypedOperationInfo.cs (1)
217if (parameters[parameter.Name] == null)
System\Workflow\Activities\ValidationHelper.cs (9)
802parameter.Name, operationInfo.Name, contractType.FullName), 812parameter.Name, operationInfo.Name, contractType.FullName), 818if (!IsValidTypeNameOrIdentifier(parameter.Name, false)) 822parameter.Name, operationInfo.Name, contractType.FullName), 828if (parameterNames.Contains(parameter.Name)) 832parameter.Name, operationInfo.Name, contractType.FullName), 842parameter.Name, operationInfo.Name, contractType.FullName), 849parameterNames.Add(parameter.Name); 900string parameterName = (parameter.Position == -1) ? "(ReturnValue)" : parameter.Name;