8 writes to NamespacePath
System.Management (8)
System\Management\ManagementBaseObject.cs (2)
437classPath.NamespacePath = string.Empty; 444classPath.NamespacePath = (string)(scopeName is System.DBNull ? "" : scopeName);
System\Management\ManagementObject.cs (4)
401path.NamespacePath = scope.Path.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY); 707classPath.NamespacePath = string.Empty; 714classPath.NamespacePath = (string)(scopeName is System.DBNull ? "" : scopeName); 1811newPath.NamespacePath = path.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY);
System\Management\ManagementPath.cs (1)
559newPath.NamespacePath = this.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY);
System\Management\WMIGenerator.cs (1)
535thePath.NamespacePath = OriginalNamespace;
9 references to NamespacePath
System.Management (9)
System\Management\ManagementObject.cs (1)
396if ((null != scope) && (scope.Path.NamespacePath.Length > 0))
System\Management\ManagementQuery.cs (4)
675if (p.IsClass && (p.NamespacePath.Length == 0)) 1270if ((p.IsClass || p.IsInstance) && (p.NamespacePath.Length == 0)) 1897if ((p.IsClass || p.IsInstance) && (p.NamespacePath.Length == 0)) 2485if (p.IsClass && (p.NamespacePath.Length == 0))
System\Management\WMIGenerator.cs (4)
552OriginalNamespace = thePath.NamespacePath; 3452new CodePrimitiveExpression(classobj.Scope.Path.NamespacePath))); 3473new CodePrimitiveExpression(classobj.Scope.Path.NamespacePath))); 3632new CodePrimitiveExpression(classobj.Scope.Path.NamespacePath)));