1 write to PublicNamesUsed
System.Management (1)
WmiGenerator.cs (1)
837if (IsContainedIn(strTemp,ref PublicNamesUsed) == -1)
192 references to PublicNamesUsed
System.Management (192)
WmiGenerator.cs (192)
283GeneratePublicReadOnlyProperty(PublicNamesUsed["NamespaceProperty"].ToString(),"System.String", 323GeneratePublicReadOnlyProperty(PublicNamesUsed["SystemPropertiesProperty"].ToString(),PublicNamesUsed["SystemPropertiesClass"].ToString(), 332GeneratePublicReadOnlyProperty(PublicNamesUsed["LateBoundObjectProperty"].ToString(),PublicNamesUsed["BaseObjClass"].ToString(), 356GeneratePublicProperty(PublicNamesUsed["AutoCommitProperty"].ToString(),"System.Boolean", 373GeneratePrivateMember(PrivateNamesUsed["statMgmtScope"].ToString(),PublicNamesUsed["ScopeClass"].ToString(), 377GeneratePublicProperty(PrivateNamesUsed["staticScope"].ToString(),PublicNamesUsed["ScopeClass"].ToString(), 474GeneratePrivateMember(PrivateNamesUsed["SystemPropertiesObject"].ToString(),PublicNamesUsed["SystemPropertiesClass"].ToString(),null); 477GeneratePrivateMember(PrivateNamesUsed["LateBoundObject"].ToString(),PublicNamesUsed["LateBoundClass"].ToString(),GetString("COMMENT_LATEBOUNDOBJ")); 483GeneratePrivateMember(PrivateNamesUsed["EmbeddedObject"].ToString(),PublicNamesUsed["BaseObjClass"].ToString(),GetString("COMMENT_EMBEDDEDOBJ")); 486GeneratePrivateMember(PrivateNamesUsed["CurrentObject"].ToString(),PublicNamesUsed["BaseObjClass"].ToString(),GetString("COMMENT_CURRENTOBJ")); 641PublicNamesUsed.Add("SystemPropertiesProperty","SystemProperties"); 642PublicNamesUsed.Add("LateBoundObjectProperty","LateBoundObject"); 643PublicNamesUsed.Add("NamespaceProperty","OriginatingNamespace"); 644PublicNamesUsed.Add("ClassNameProperty","ManagementClassName"); 645PublicNamesUsed.Add("ScopeProperty","Scope"); 646PublicNamesUsed.Add("PathProperty","Path"); 647PublicNamesUsed.Add("SystemPropertiesClass","ManagementSystemProperties"); 648PublicNamesUsed.Add("LateBoundClass","System.Management.ManagementObject"); 649PublicNamesUsed.Add("PathClass","System.Management.ManagementPath"); 650PublicNamesUsed.Add("ScopeClass","System.Management.ManagementScope"); 651PublicNamesUsed.Add("QueryOptionsClass","System.Management.EnumerationOptions"); 652PublicNamesUsed.Add("GetOptionsClass","System.Management.ObjectGetOptions"); 653PublicNamesUsed.Add("ArgumentExceptionClass","System.ArgumentException"); 654PublicNamesUsed.Add("QueryClass","SelectQuery"); 655PublicNamesUsed.Add("ObjectSearcherClass","System.Management.ManagementObjectSearcher"); 656PublicNamesUsed.Add("FilterFunction","GetInstances"); 657PublicNamesUsed.Add("ConstructPathFunction","ConstructPath"); 658PublicNamesUsed.Add("TypeConverter","TypeConverter"); 659PublicNamesUsed.Add("AutoCommitProperty","AutoCommit"); 660PublicNamesUsed.Add("CommitMethod","CommitObject"); 661PublicNamesUsed.Add("ManagementClass","System.Management.ManagementClass"); 662PublicNamesUsed.Add("NotSupportedExceptClass","System.NotSupportedException"); 663PublicNamesUsed.Add("BaseObjClass","System.Management.ManagementBaseObject"); 664PublicNamesUsed.Add("OptionsProp","Options"); 665PublicNamesUsed.Add("ClassPathProperty","ClassPath"); 666PublicNamesUsed.Add("CreateInst","CreateInstance"); 667PublicNamesUsed.Add("DeleteInst","Delete"); 670PublicNamesUsed.Add("SystemNameSpace","System"); 671PublicNamesUsed.Add("ArgumentOutOfRangeException","System.ArgumentOutOfRangeException"); 672PublicNamesUsed.Add("System","System"); 673PublicNamesUsed.Add("Other","Other"); 674PublicNamesUsed.Add("Unknown","Unknown"); 675PublicNamesUsed.Add("PutOptions","System.Management.PutOptions"); 676PublicNamesUsed.Add("Type","System.Type"); 677PublicNamesUsed.Add("Boolean","System.Boolean"); 678PublicNamesUsed.Add("ValueType", "System.ValueType"); 679PublicNamesUsed.Add("Events1", "Events"); 680PublicNamesUsed.Add("Component1", "Component"); 739foreach(String s in PublicNamesUsed.Values) 924PublicNamesUsed.Add(strClass,strClass); 1054cmp.Name = PublicNamesUsed["PathProperty"].ToString(); 1056cmp.Type = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 1105coce.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentExceptionClass"].ToString()); 1127CodeTypeDeclaration SysPropsClass = new CodeTypeDeclaration(PublicNamesUsed["SystemPropertiesClass"].ToString()); 1136cpde.Type = new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()); 1145cad.Name = PublicNamesUsed["TypeConverter"].ToString(); 1199cf.Type = new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()); 1246if((cmp.Type.ArrayRank == 0 && cmp.Type.BaseType == new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).BaseType) || 1247cmp.Type.ArrayRank > 0 && cmp.Type.ArrayElementType .BaseType == new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).BaseType) 1352cad.Name = PublicNamesUsed["TypeConverter"].ToString(); 1446GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cmp.GetStatements,PublicNamesUsed["PathClass"].ToString(),null,false); 1506AddPropertySet(cie,prop.IsArray,cmp.SetStatements,PublicNamesUsed["PathClass"].ToString(),null); 2087cmm.Name = PublicNamesUsed["ConstructPathFunction"].ToString(); 2166cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2169coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2211if(cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2224cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2232coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2252cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2270if(cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 2280new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 2285cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2293coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2318cpde.Type = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2349cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2350cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2377cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2378cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2402cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 2412cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2415coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2439cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()), 2449cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2452coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2474cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 2476cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()), 2489cmie.Method.MethodName = PublicNamesUsed["ConstructPathFunction"].ToString(); 2492coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2535cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2536cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2537cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2572cpde.Type = new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()); 2600coce.CreateType = new CodeTypeReference(PublicNamesUsed["SystemPropertiesClass"].ToString()); 2607coce.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentExceptionClass"].ToString()); 2643cpde.Type = new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()); 2668coce.CreateType = new CodeTypeReference(PublicNamesUsed["SystemPropertiesClass"].ToString()); 2678coce.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentExceptionClass"].ToString()); 2723cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 2724cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathObject)); 2725cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 2752coce.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentExceptionClass"].ToString()); 2760coce.CreateType = new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()); 2768coce.CreateType = new CodeTypeReference(PublicNamesUsed["SystemPropertiesClass"].ToString()); 2785PublicNamesUsed["ScopeProperty"].ToString()), 2905cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()), 2913cocePath.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 2915cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPath,cocePath)); 2918coce1.CreateType = new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()); 2924coce.CreateType = new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()); 2926cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()),strClassObj,coce1)); 2937PublicNamesUsed["ScopeProperty"].ToString()), 3007AddPropertySet(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new CodeVariableReferenceExpression(cpde.Name)); 3067cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()),strOutParams,cmie)); 3124GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new CodeVariableReferenceExpression(prop.Name),true); 3246if (retRefType.BaseType == new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()).BaseType) 3253GenerateCodeForRefAndDateTimeTypes(cie,isRetArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new CodeVariableReferenceExpression("retVar"),true); 3290if(retRefType.ArrayRank == 0 && retRefType.BaseType != new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()).BaseType) 3335cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3340cmie.Method.MethodName = PublicNamesUsed["FilterFunction"].ToString(); 3365cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3371PublicNamesUsed["FilterFunction"].ToString() 3396cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3402PublicNamesUsed["FilterFunction"].ToString() 3428cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3435PublicNamesUsed["FilterFunction"].ToString() 3475cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3477cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3478cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()), 3501coce.CreateType = new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()); 3518coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 3520cmm.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),pathObj,coce)); 3532coce.CreateType = new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()); 3537cmm.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()), 3548coce.CreateType = new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()); 3586cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3588cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3593PublicNamesUsed["FilterFunction"].ToString() 3618cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3620cmm.Parameters.Add(new CodeParameterDeclarationExpression(PublicNamesUsed["ScopeClass"].ToString(),PrivateNamesUsed["ScopeParam"].ToString())); 3625PublicNamesUsed["FilterFunction"].ToString() 3659cmm.Name = PublicNamesUsed["FilterFunction"].ToString(); 3662cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 3682coce.CreateType = new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()); 3697coce1.CreateType = new CodeTypeReference(PublicNamesUsed["QueryClass"].ToString()); 3703coce.CreateType = new CodeTypeReference(PublicNamesUsed["ObjectSearcherClass"].ToString()); 3707cmm.Statements.Add(new CodeVariableDeclarationStatement(PublicNamesUsed["ObjectSearcherClass"].ToString(), 3711coce.CreateType = new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()); 3714new CodeTypeReference(PublicNamesUsed["QueryOptionsClass"].ToString()), 3801CodeConvertorClass.BaseTypes.Add(PublicNamesUsed["TypeConverter"].ToString()); 3810cf.Type = new CodeTypeReference(PublicNamesUsed["TypeConverter"].ToString()); 3817cf.Type = new CodeTypeReference(PublicNamesUsed["Type"].ToString()); 4191cboe1.Right = new CodeTypeOfExpression (PublicNamesUsed["Boolean"].ToString()); 4199cboe2.Right = new CodeTypeOfExpression (PublicNamesUsed["ValueType"].ToString()); 4450coce.Parameters.Add(new CodeCastExpression(new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()),cmie1)); 4564coce.Parameters.Add(new CodeCastExpression(new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()), 4744strType = PublicNamesUsed["PathClass"].ToString(); 4754strType = PublicNamesUsed["BaseObjClass"].ToString(); 5050cmm.Name = PublicNamesUsed["CommitMethod"].ToString(); 5079cmm.Name = PublicNamesUsed["CommitMethod"].ToString(); 5083cpde.Type = new CodeTypeReference(PublicNamesUsed["PutOptions"].ToString()); 5420cmp.Name = PublicNamesUsed["ClassNameProperty"].ToString(); 5454PublicNamesUsed["ClassPathProperty"].ToString()); 5510cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString())); 5511cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPathParam)); 5512cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions)); 5519new CodePropertyReferenceExpression(new CodeThisReferenceExpression(),PublicNamesUsed["ClassNameProperty"].ToString()), 5551coce.CreateType = new CodeTypeReference(PublicNamesUsed["LateBoundClass"].ToString()); 5584cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["BaseObjClass"].ToString()),strTempObj)); 5592new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), PublicNamesUsed["ClassNameProperty"].ToString()), 5660new CodePropertyReferenceExpression(new CodeThisReferenceExpression(), PublicNamesUsed["ClassNameProperty"].ToString()), 5708if(String.Compare(strType,PublicNamesUsed["PathClass"].ToString(),StringComparison.OrdinalIgnoreCase) == 0) 6024coce.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 6059new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()), 6060beginingExpression),PublicNamesUsed["PathProperty"].ToString()); 6071cmp.Name = PublicNamesUsed["ScopeProperty"].ToString(); 6073cmp.Type = new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()); 6085if (IsDesignerSerializationVisibilityToBeSet(PublicNamesUsed["ScopeProperty"].ToString())) 6298cmm.Name = PublicNamesUsed["CreateInst"].ToString(); 6312cmm.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()), 6324coce.CreateType = new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()); 6340cocePath.CreateType = new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()); 6342cmm.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference(PublicNamesUsed["PathClass"].ToString()),strPath,cocePath)); 6345coce1.CreateType = new CodeTypeReference(PublicNamesUsed["ManagementClass"].ToString()); 6350cmm.Statements.Add(new CodeVariableDeclarationStatement(PublicNamesUsed["ManagementClass"].ToString(),strTemp,coce1)); 6378cmm.Name = PublicNamesUsed["DeleteInst"].ToString(); 6497codeThrowException.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentOutOfRangeException"].ToString()); 6684(PublicNamesUsed["ArgumentOutOfRangeException"].ToString()); 6929new CodeTypeReference(PublicNamesUsed["ArgumentOutOfRangeException"].ToString()); 7513codeThrowException.CreateType = new CodeTypeReference(PublicNamesUsed["ArgumentOutOfRangeException"].ToString()); 7715(PublicNamesUsed["ArgumentOutOfRangeException"].ToString());