26 writes to Name
System (3)
compmod\system\codedom\CodeParameterDeclarationExpression.cs (3)
49
Name
= name;
57
Name
= name;
65
Name
= name;
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
441
parameter.
Name
= Utils.FixParameterName(set.ElementType.Name);
System.Data.Services.Design (2)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
602
parameter.
Name
= Utils.CamelCase(set.ElementType.Name);
603
parameter.
Name
= Utils.SetSpecialCaseForFxCopOnPropertyName(parameter.Name);
System.Management (16)
WmiGenerator.cs (16)
1137
cpde.
Name
= "ManagedObject";
2205
cpde.
Name
= "key"+arrKeys[i].ToString();
2215
cpde.
Name
= "dummyParam";
2264
cpde.
Name
= "key"+arrKeys[i].ToString();
2274
cpde.
Name
= "dummyParam";
2319
cpde.
Name
= strPathObject;
2573
cpde.
Name
= strLateBoundObject;
2644
cpde.
Name
= strLateBoundObject;
2970
cpde.
Name
= prop.Name;
3102
cpde.
Name
= prop.Name;
3832
cpde.
Name
= baseTypeParam;
4324
cpde.
Name
= strobjCollection;
4402
cpde.
Name
= strArray;
4407
cpde.
Name
= strIndex;
4540
cpde.
Name
= strobjEnum;
5084
cpde.
Name
= PrivateNamesUsed["putOptions"].ToString();
System.ServiceModel (3)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
663
inValuesParam.
Name
= NamingHelper.GetUniqueName("inValues", DoesParameterNameExist, beginMethod);
System\ServiceModel\Description\OperationGenerator.cs (2)
440
paramDecl.
Name
= name;
501
paramDecl.
Name
= GetUniqueParameterName(paramDecl.Name, this);
System.Workflow.Activities (1)
WebServiceReceive.cs (1)
822
paramDecl.
Name
= paramInfo.Name;
53 references to Name
System (4)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
1798
OutputTypeNamePair(e.Type, e.
Name
);
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1428
OutputTypeNamePair(e.Type, e.
Name
);
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1480
OutputTypeNamePair(e.Type, e.
Name
);
compmod\system\codedom\compiler\CodeValidator.cs (1)
776
ValidateIdentifier(e,"Name",e.
Name
);
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
1602
CodeParameterDeclarationExpression exprValueParam = new CodeParameterDeclarationExpression(expressionMethod.Parameters[0].Type, expressionMethod.Parameters[0].
Name
);
1615
setExpression.Parameters.Add(new CodeVariableReferenceExpression(expressionMethod.Parameters[0].
Name
));
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
501
CodeVariableReferenceExpression indexParameterReference = new CodeVariableReferenceExpression(getViewAtMethod.Parameters[0].
Name
);
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
153
"<param name=\"{0}\">{1}</param>", parameter.
Name
, comment);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
239
connectionStringCtor.BaseConstructorArgs.Add(new CodeArgumentReferenceExpression(connectionStringParam.
Name
));
258
connectionWorkspaceCtor.BaseConstructorArgs.Add(new CodeArgumentReferenceExpression(connectionParam.
Name
));
451
new CodeFieldReferenceExpression(null, parameter.
Name
)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
203
CodeArgumentReferenceExpression paramRef = new CodeArgumentReferenceExpression(paramDecl.
Name
);
System.Data.Services.Design (5)
System\Data\EntityModel\Emitters\CommentEmitter.cs (1)
148
"<param name=\"{0}\">{1}</param>", parameter.
Name
, comment);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
187
connectionWorkspaceCtor.BaseConstructorArgs.Add(new CodeArgumentReferenceExpression(connectionParam.
Name
));
603
parameter.Name = Utils.SetSpecialCaseForFxCopOnPropertyName(parameter.
Name
);
615
new CodeFieldReferenceExpression(null, parameter.
Name
)
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
195
CodeArgumentReferenceExpression paramRef = new CodeArgumentReferenceExpression(paramDecl.
Name
);
System.Management (5)
WmiGenerator.cs (5)
3007
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new CodeVariableReferenceExpression(cpde.
Name
));
3016
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,"System.TimeSpan",new CodeVariableReferenceExpression(cpde.
Name
));
3020
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,"System.DateTime",new CodeVariableReferenceExpression(cpde.
Name
));
3030
new CodeVariableReferenceExpression(cpde.
Name
))));
3034
cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(cpde.Type,new CodeVariableReferenceExpression(cpde.
Name
))));
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (3)
1677
new CodeArgumentReferenceExpression(readerArg.
Name
)
1697
new CodeArgumentReferenceExpression(writerArg.
Name
),
1733
new CodeArgumentReferenceExpression(paramDeclaration.
Name
),
System.ServiceModel (25)
System\ServiceModel\Description\ClientClassGenerator.cs (21)
282
helperMethod.Parameters.Add(new CodeParameterDeclarationExpression(param.Type, param.
Name
));
283
invokeMethod.Parameters.Add(new CodeArgumentReferenceExpression(param.
Name
));
344
helperMethod.Statements.Add(new CodeAssignStatement(new CodeArgumentReferenceExpression(param.
Name
), fieldRef));
346
helperMethod.Statements.Add(new CodeAssignStatement(fieldRef, new CodeArgumentReferenceExpression(param.
Name
)));
356
if (p.
Name
== field.Name)
450
if (String.Compare(p.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
461
methodInvoke.Parameters.Add(new CodeDirectionExpression(parameter.Direction, new CodeVariableReferenceExpression(parameter.
Name
)));
477
CodeParameterDeclarationExpression newParam = new CodeParameterDeclarationExpression(parameter.Type, parameter.
Name
);
552
endMethod.Parameters[i].
Name
,
667
CodeExpression inValuesRef = new CodeVariableReferenceExpression(inValuesParam.
Name
);
673
variableDecl.Name = beginMethod.Parameters[i].
Name
;
685
beginMethod.Parameters[i].Type, beginMethod.Parameters[i].
Name
));
686
invokeBegin.Parameters.Add(new CodeVariableReferenceExpression(beginMethod.Parameters[i].
Name
));
723
endMethod.Parameters[i].Type, endMethod.Parameters[i].
Name
));
724
invokeEnd.Parameters.Add(new CodeVariableReferenceExpression(endMethod.Parameters[i].
Name
));
729
endMethod.Parameters[i].Type, endMethod.Parameters[i].
Name
);
797
new CodeArgumentReferenceExpression(operationCompletedMethod.Parameters[0].
Name
));
855
beginMethodParameter.Type, beginMethodParameter.
Name
);
859
invokeAsyncInValues.Initializers.Add(new CodeVariableReferenceExpression(eventAsyncMethodParameter.
Name
));
903
eventAsyncMethod.Parameters[i].
Name
));
906
eventAsyncMethod.Parameters[i].
Name
));
System\ServiceModel\Description\OperationGenerator.cs (4)
501
paramDecl.Name = GetUniqueParameterName(paramDecl.
Name
, this);
505
name = paramDecl.
Name
;
517
if (String.Compare(parameter.
Name
, name, StringComparison.OrdinalIgnoreCase) == 0)
836
otherCtor.Statements.Add(new CodeAssignStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name), new CodeArgumentReferenceExpression(param.
Name
)));
System.Workflow.Activities (2)
CorrelationValidator.cs (2)
715
if (String.Compare("e", parameterDeclaration.
Name
, StringComparison.Ordinal) == 0)
738
if (String.Compare(parsedPropertyName[0], parameterDeclaration.
Name
, StringComparison.Ordinal) == 0)
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\TypeSystem\ParameterInfo.cs (1)
22
this.NameImpl = Helper.EnsureTypeName(codeParameter.
Name
);