31 references to Name
System.Management (31)
WmiGenerator.cs (31)
723PublicProperties.Add(prop.Name,prop.Name);
1166strPropTemp = prop.Name.ToCharArray();
1190new CodeExpression[] {new CodePrimitiveExpression(prop.Name)});
1231cmp.Name = PublicProperties[prop.Name].ToString();
1253IsValidPropName = "Is" + PublicProperties[prop.Name].ToString() + "Null";
1288new CodeExpression[] {new CodePrimitiveExpression(prop.Name)});
1316bool isPropertyEnum = GeneratePropertyHelperEnums(prop,PublicProperties[prop.Name].ToString(), bNullable);
1424cmm.Name = "ShouldSerialize" + PublicProperties[prop.Name].ToString();
1494cmm2.Name = "Reset" + PublicProperties[prop.Name].ToString();
1543new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new CodeTypeReference(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"),
1551new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new CodeTypeReference(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"),
1649arrKeys.Add(prop.Name);
2857outParamsName.Add(prop.Name);
2970cpde.Name = prop.Name;
2986if (string.Compare(prop.Name,outParamsName[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0)
2990inoutParams.Add(prop.Name);
2998cie = new CodeIndexerExpression(new CodeVariableReferenceExpression(strInParams),new CodePrimitiveExpression(prop.Name));
3075if (string.Compare(prop.Name,inoutParams[i].ToString(),StringComparison.OrdinalIgnoreCase) == 0)
3083if (string.Compare(prop.Name,"ReturnValue",StringComparison.OrdinalIgnoreCase) == 0)
3102cpde.Name = prop.Name;
3118cie = new CodeIndexerExpression(cpre,new CodePrimitiveExpression(prop.Name));
3124GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new CodeVariableReferenceExpression(prop.Name),true);
3133GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,"System.TimeSpan",new CodeVariableReferenceExpression(prop.Name),true);
3137GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,"System.DateTime",new CodeVariableReferenceExpression(prop.Name),true);
3144cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),
3155cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),cmie2));
3174cis.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),coce));
3178cis.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),
3191cis.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),cmie2));
3195cis.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(prop.Name),