53 references to Status
System (53)
net\System\Net\_SafeNetHandles.cs (5)
2979internal unsafe static _WinInetCache.Status GetAndLockFile(string key, byte* entryPtr, ref int entryBufSize, out SafeUnlockUrlCacheEntryFile handle) { 2994unsafe private static _WinInetCache.Status MustRunGetAndLockFile(char* key, byte* entryPtr, ref int entryBufSize, SafeUnlockUrlCacheEntryFile handle) { 2995_WinInetCache.Status error = _WinInetCache.Status.Success; 3003error = (_WinInetCache.Status)Marshal.GetLastWin32Error();
net\System\Net\Cache\IERequestCache.cs (19)
130if (_WinInetCache.Remove(entry) != _WinInetCache.Status.Success && entry.Error != _WinInetCache.Status.FileNotFound) { 163if (_WinInetCache.Remove(entry) == _WinInetCache.Status.Success || entry.Error == _WinInetCache.Status.FileNotFound) { 172_WinInetCache.Status status = _WinInetCache.LookupInfo(entry); 173if (status == _WinInetCache.Status.Success) { 184if (entry.Error != _WinInetCache.Status.Success && _WinInetCache.LookupInfo(entry) == _WinInetCache.Status.FileNotFound) { 185entry.Error = _WinInetCache.Status.Success; 188return entry.Error == _WinInetCache.Status.Success; 237if (entry.Error == _WinInetCache.Status.Success) { 313if (entry.Error != _WinInetCache.Status.FileNotFound) 462if (entry.Error != _WinInetCache.Status.Success) { 586if (entry.Error != _WinInetCache.Status.Success) { 1020_WinInetCache.Status errorStatus = _WinInetCache.Remove(m_Entry); 1021if (errorStatus != _WinInetCache.Status.Success && errorStatus != _WinInetCache.Status.FileNotFound) 1055if (_WinInetCache.Commit(m_Entry) != _WinInetCache.Status.Success) 1089if (_WinInetCache.Update(m_Entry, _WinInetCache.Entry_FC.ExemptDelta) != _WinInetCache.Status.Success)
net\System\Net\Cache\WinInetCache.cs (29)
188public Status Error; 225unsafe internal static Status LookupInfo(Entry entry) { 241entry.Error = Status.Success; 245entry.Error = (Status)Marshal.GetLastWin32Error(); 246if (entry.Error == Status.InsufficientBuffer) { 278if (entry.Error == Status.Success) { 286if (entry.Error == Status.InsufficientBuffer) { 305if (entry.Error == Status.Success) { 306entry.Error = Status.InternalError; 317unsafe private static Status EntryFixup(Entry entry, EntryBuffer* bufferPtr, byte[] buffer) { 336internal static Status CreateFileName(Entry entry) { 338entry.Error = Status.Success; 342return Status.Success; 344entry.Error = (Status) Marshal.GetLastWin32Error(); 352internal static Status Commit(Entry entry) { 358entry.Error = Status.InsufficientBuffer; 362entry.Error = Status.Success; 380entry.Error = (Status)Marshal.GetLastWin32Error(); 391internal static Status Update(Entry newEntry, Entry_FC attributes) { 397newEntry.Error = Status.Success; 407newEntry.Error = (Status)Marshal.GetLastWin32Error(); 459if (Update(oldEntry, Entry_FC.Attribute) != Status.Success) { 475if (Commit(newEntry) != Status.Success) { 502internal static Status Remove(Entry entry) { 503entry.Error = Status.Success; 505entry.Error = (Status)Marshal.GetLastWin32Error(); 538private static unsafe Status GetEntryHeaders(Entry entry, EntryBuffer* bufferPtr, byte[] buffer) { 539entry.Error = Status.Success; 544return Status.Success;