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