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