3 writes to searchData
mscorlib (3)
system\io\filesystemenumerable.cs (3)
255
searchData
= new Directory.SearchData(normalizedSearchPath, this.userPath, searchOption);
350
searchData
= new Directory.SearchData(normalizedSearchPath, userPath, searchOption);
418
searchData
= searchStack[0];
20 references to searchData
mscorlib (20)
system\io\filesystemenumerable.cs (20)
265
Contract.Assert(searchCriteria != null &&
searchData
!= null, "searchCriteria and searchData should be initialized");
268
String searchPath = Path.InternalCombine(
searchData
.fullPath, searchCriteria);
280
HandleError(hr,
searchData
.fullPath);
286
empty =
searchData
.searchOption == SearchOption.TopDirectoryOnly;
291
if (
searchData
.searchOption == SearchOption.TopDirectoryOnly)
301
current = _resultHandler.CreateObject(
searchData
, ref data);
310
searchStack.Add(
searchData
);
394
if (
searchData
.searchOption == SearchOption.TopDirectoryOnly)
414
Contract.Assert(
searchData
.searchOption != SearchOption.TopDirectoryOnly, "should not reach this code path if searchOption == TopDirectoryOnly");
419
Contract.Assert((
searchData
.fullPath != null), "fullpath can't be null!");
423
AddSearchableDirsToStack(
searchData
);
426
String searchPath = Path.InternalCombine(
searchData
.fullPath, searchCriteria);
437
HandleError(hr,
searchData
.fullPath);
447
DoDemand(
searchData
.fullPath);
450
current = _resultHandler.CreateObject(
searchData
, ref data);
463
if (
searchData
!= null && _hnd != null)
472
DoDemand(
searchData
.fullPath);
475
current = _resultHandler.CreateObject(
searchData
, ref data);
492
HandleError(hr,
searchData
.fullPath);
495
if (
searchData
.searchOption == SearchOption.TopDirectoryOnly)