3 writes to query
System.Management (3)
System\Management\ManagementObjectSearcher.cs (3)
210this.query = (ObjectQuery)query.Clone(); 212this.query = new ObjectQuery(); 280query = (ObjectQuery)value.Clone();
18 references to query
System.Management (18)
System\Management\ManagementObjectSearcher.cs (18)
275return query; 335if ((query.GetType() == typeof(SelectQuery)) && 336(((SelectQuery)query).Condition == null) && 337(((SelectQuery)query).SelectedProperties == null) && 344if (!((SelectQuery)query).IsSchemaQuery) //deep instance enumeration 347((SelectQuery)query).ClassName, 354status = scope.GetSecuredIWbemServicesHandler(scope.GetIWbemServices()).CreateClassEnum_(((SelectQuery)query).ClassName, 365query.QueryLanguage, 366query.QueryString, 428if ((query.GetType() == typeof(SelectQuery)) && 429(((SelectQuery)query).Condition == null) && 430(((SelectQuery)query).SelectedProperties == null) && 437if (!((SelectQuery)query).IsSchemaQuery) //deep instance enumeration 439status = scope.GetSecuredIWbemServicesHandler(wbemServices).CreateInstanceEnumAsync_(((SelectQuery)query).ClassName, 446status = scope.GetSecuredIWbemServicesHandler(wbemServices).CreateClassEnumAsync_(((SelectQuery)query).ClassName, 457query.QueryLanguage, 458query.QueryString, 489if (null == query)