1 write to _files
System.CodeDom (1)
src\libraries\Common\src\System\IO\TempFileCollection.cs (1)
41
_files
= new Hashtable(StringComparer.OrdinalIgnoreCase);
15 references to _files
System.CodeDom (15)
src\libraries\Common\src\System\IO\TempFileCollection.cs (15)
88
if (
_files
[fileName] != null)
93
_files
.Add(fileName, keepFile);
96
public IEnumerator GetEnumerator() =>
_files
.Keys.GetEnumerator();
98
IEnumerator IEnumerable.GetEnumerator() =>
_files
.Keys.GetEnumerator();
100
void ICollection.CopyTo(Array array, int start) =>
_files
.Keys.CopyTo(array, start);
102
public void CopyTo(string[] fileNames, int start) =>
_files
.Keys.CopyTo(fileNames, start);
104
public int Count =>
_files
.Count;
106
int ICollection.Count =>
_files
.Count;
152
_files
.Add(tempFileName, KeepFiles);
173
object keep =
_files
[fileName];
198
if (
_files
!= null &&
_files
.Count > 0)
200
string[] fileNames = new string[
_files
.Count];
201
_files
.Keys.CopyTo(fileNames, 0);
207
_files
.Remove(fileName);