298 references to __Error
mscorlib (298)
system\console.cs (28)
580
__Error
.WinIOError();
643
__Error
.WinIOError();
700
__Error
.WinIOError();
708
__Error
.WinIOError();
714
__Error
.WinIOError();
914
__Error
.WinIOError();
929
__Error
.WinIOError();
933
__Error
.WinIOError();
988
__Error
.WinIOError(errorCode, null);
1054
__Error
.WinIOError();
1126
__Error
.WinIOError();
1150
__Error
.WinIOError(errorCode, String.Empty);
1236
__Error
.WinIOError();
1299
__Error
.WinIOError(errorCode, String.Empty);
1312
__Error
.WinIOError();
1331
__Error
.WinIOError();
1336
__Error
.WinIOError();
1349
__Error
.WinIOError();
1363
__Error
.WinIOError();
1368
__Error
.WinIOError();
1390
__Error
.WinIOError(r, String.Empty);
1414
__Error
.WinIOError();
1578
__Error
.WinIOError(errorCode, "stdin");
1596
__Error
.WinIOError();
1636
__Error
.WinIOError();
1658
__Error
.WinIOError();
1698
__Error
.WinIOError();
1712
__Error
.WinIOError();
system\environment.cs (3)
414
if (r==0)
__Error
.WinIOError();
437
if (r==0)
__Error
.WinIOError();
1039
__Error
.WinIOError();
system\io\__consolestream.cs (11)
77
__Error
.SeekNotSupported();
84
__Error
.SeekNotSupported();
88
__Error
.SeekNotSupported();
111
if (_handle == null)
__Error
.FileNotOpen();
112
if (!CanWrite)
__Error
.WriteNotSupported();
117
__Error
.SeekNotSupported();
131
if (!_canRead)
__Error
.ReadNotSupported();
137
__Error
.WinIOError(errCode, String.Empty);
143
__Error
.SeekNotSupported();
158
if (!_canWrite)
__Error
.WriteNotSupported();
163
__Error
.WinIOError(errCode, String.Empty);
system\io\binaryreader.cs (15)
114
if (m_stream==null)
__Error
.FileNotOpen();
128
__Error
.FileNotOpen();
140
if (m_stream==null)
__Error
.FileNotOpen();
144
__Error
.EndOfFile();
157
__Error
.EndOfFile();
175
if (m_stream==null)
__Error
.FileNotOpen();
248
__Error
.FileNotOpen();
281
__Error
.EndOfFile();
318
__Error
.FileNotOpen();
485
__Error
.FileNotOpen();
517
if (m_stream==null)
__Error
.FileNotOpen();
526
if (m_stream==null)
__Error
.FileNotOpen();
560
if (m_stream==null)
__Error
.FileNotOpen();
568
__Error
.EndOfFile();
576
__Error
.EndOfFile();
system\io\bufferedstream.cs (7)
121
__Error
.StreamIsClosed();
128
__Error
.StreamIsClosed();
137
__Error
.SeekNotSupported();
146
__Error
.ReadNotSupported();
155
__Error
.WriteNotSupported();
580
if (_stream == null)
__Error
.ReadNotSupported();
1009
if (_stream == null)
__Error
.ReadNotSupported();
system\io\directory.cs (20)
366
__Error
.WinIOError(Win32Native.ERROR_PATH_NOT_FOUND, InternalGetDirectoryRoot(path));
374
__Error
.WinIOError(firstError, errorString);
469
__Error
.WinIOError(errorCode, path);
506
__Error
.WinIOError(errorCode, path);
543
__Error
.WinIOError(errorCode, path);
1024
__Error
.WinIOError();
1110
__Error
.WinIOError();
1127
__Error
.WinIOError(errorCode, string.Empty);
1152
__Error
.WinIOError();
1198
__Error
.WinIOError(errorCode, fulldestDirName);
1269
__Error
.WinIOError(hr, fullsourceDirName);
1274
__Error
.WinIOError(hr, String.Empty);
1339
__Error
.WinIOError(dataInitialised, fullPath);
1375
__Error
.WinIOError(hr, fullPath);
1416
__Error
.WinIOError(hr, fileName);
1435
__Error
.WinIOError(hr, fileName);
1453
__Error
.WinIOError(hr, fileName);
1472
__Error
.WinIOError(hr, userPath);
1490
__Error
.WinIOError(hr, fullPath);
1520
__Error
.WinIOError(hr, fullPath);
system\io\directoryinfo.cs (3)
245
String displayPath =
__Error
.GetDisplayablePath(DisplayPath, false);
683
__Error
.WinIOError(hr, DisplayPath);
689
__Error
.WinIOError(hr, string.Empty);
system\io\driveinfo.cs (6)
129
__Error
.WinIODriveError(Name, errorCode);
158
__Error
.WinIODriveError(Name);
177
__Error
.WinIODriveError(Name);
198
__Error
.WinIODriveError(Name);
250
__Error
.WinIODriveError(Name, errorCode);
273
__Error
.WinIODriveError(Name, errorCode);
system\io\file.cs (20)
189
__Error
.WinIOError(errorCode, fileName);
309
__Error
.WinIOError(hr, fullPath);
340
__Error
.WinIOError(errorCode, fullPath);
371
__Error
.WinIOError(errorCode, fullPath);
502
__Error
.WinIOError(errorCode, path);
542
__Error
.WinIOError(dataInitialised, fullPath);
566
__Error
.WinIOError(errorCode, path);
606
__Error
.WinIOError(dataInitialised, fullPath);
630
__Error
.WinIOError(errorCode, path);
670
__Error
.WinIOError(dataInitialised, fullPath);
691
__Error
.WinIOError(dataInitialised, fullPath);
714
__Error
.WinIOError(hr, fullPath);
929
__Error
.EndOfFile();
1263
__Error
.WinIOError(Win32Native.ERROR_FILE_NOT_FOUND, fullSourceFileName);
1267
__Error
.WinIOError();
1347
__Error
.WinIOError();
1402
__Error
.WinIOError();
1469
if (hr==
__Error
.ERROR_PATH_NOT_FOUND && FullPath.Equals(Directory.GetDirectoryRoot(FullPath)))
1470
hr =
__Error
.ERROR_ACCESS_DENIED;
1473
__Error
.WinIOError(hr, path);
system\io\fileinfo.cs (4)
172
__Error
.WinIOError(_dataInitialised, DisplayPath);
175
__Error
.WinIOError(Win32Native.ERROR_FILE_NOT_FOUND, DisplayPath);
353
__Error
.WinIOError(hr, DisplayPath);
476
__Error
.WinIOError();
system\io\filestream.cs (55)
360
if (!r)
__Error
.WinIOError();
389
__Error
.WinIOError(errorCode, String.Empty);
857
if (errorCode==
__Error
.ERROR_PATH_NOT_FOUND && filePath.Equals(Directory.InternalGetDirectoryRoot(filePath)))
858
errorCode =
__Error
.ERROR_ACCESS_DENIED;
880
__Error
.WinIOError(errorCode, _fileName);
882
__Error
.WinIOError(errorCode, msgPath);
1151
__Error
.WinIOError(hr, "<OS handle>");
1177
if (_handle.IsClosed)
__Error
.FileNotOpen();
1178
if (!CanSeek)
__Error
.SeekNotSupported();
1186
__Error
.WinIOError(hr, String.Empty);
1224
if (_handle.IsClosed)
__Error
.FileNotOpen();
1225
if (!CanSeek)
__Error
.SeekNotSupported();
1254
if (_handle.IsClosed)
__Error
.FileNotOpen();
1265
if (_handle.IsClosed)
__Error
.FileNotOpen();
1325
if (_handle.IsClosed)
__Error
.FileNotOpen();
1352
__Error
.WinIOError();
1449
if (_handle.IsClosed)
__Error
.FileNotOpen();
1450
if (!CanSeek)
__Error
.SeekNotSupported();
1451
if (!CanWrite)
__Error
.WriteNotSupported();
1483
if (hr==
__Error
.ERROR_INVALID_PARAMETER)
1485
__Error
.WinIOError(hr, String.Empty);
1508
if (_handle.IsClosed)
__Error
.FileNotOpen();
1517
if (!CanRead)
__Error
.ReadNotSupported();
1599
__Error
.WinIOError(hr, String.Empty);
1613
if (_handle.IsClosed)
__Error
.FileNotOpen();
1614
if (!CanSeek)
__Error
.SeekNotSupported();
1718
__Error
.WinIOError(hr, String.Empty);
1762
if (_handle.IsClosed)
__Error
.FileNotOpen();
1767
if (!CanWrite)
__Error
.WriteNotSupported();
1859
__Error
.WinIOError(hr, String.Empty);
1882
if (_handle.IsClosed)
__Error
.FileNotOpen();
1901
if (!CanRead)
__Error
.ReadNotSupported();
2095
__Error
.EndOfFile();
2097
__Error
.WinIOError(hr, String.Empty);
2132
__Error
.WrongAsyncResult();
2138
__Error
.EndReadCalledTwice();
2149
__Error
.WinIOError(afsar.ErrorCode, String.Empty);
2161
if (_handle.IsClosed)
__Error
.FileNotOpen();
2162
if (_readLen==0 && !CanRead)
__Error
.ReadNotSupported();
2194
if (_handle.IsClosed)
__Error
.FileNotOpen();
2213
if (!CanWrite)
__Error
.WriteNotSupported();
2352
__Error
.EndOfFile();
2354
__Error
.WinIOError(hr, String.Empty);
2387
__Error
.WrongAsyncResult();
2393
__Error
.EndWriteCalledTwice();
2404
__Error
.WinIOError(afsar.ErrorCode, String.Empty);
2416
if (_handle.IsClosed)
__Error
.FileNotOpen();
2418
if (!CanWrite)
__Error
.WriteNotSupported();
2437
if (_handle.IsClosed)
__Error
.FileNotOpen();
2445
__Error
.WinIOError();
2453
if (_handle.IsClosed)
__Error
.FileNotOpen();
2461
__Error
.WinIOError();
2626
__Error
.FileNotOpen();
2678
__Error
.FileNotOpen();
2841
__Error
.FileNotOpen();
system\io\filesystemenumerable.cs (1)
519
__Error
.WinIOError(hr, path);
system\io\filesysteminfo.cs (5)
180
__Error
.WinIOError(_dataInitialised, DisplayPath);
224
__Error
.WinIOError(_dataInitialised, DisplayPath);
267
__Error
.WinIOError(_dataInitialised, DisplayPath);
305
__Error
.WinIOError(_dataInitialised, DisplayPath);
326
__Error
.WinIOError(hr, DisplayPath);
system\io\isolatedstorage\isolatedstoragefile.cs (3)
2469
__Error
.WinIOError(hr, userSearchPattern);
2497
__Error
.WinIOError(hr, userSearchPattern);
2770
__Error
.EndOfFile();
system\io\longpath.cs (20)
237
__Error
.WinIOError(errorCode, fileName);
270
__Error
.WinIOError(hr, fullPath);
336
__Error
.WinIOError(dataInitialised, fullPath);
356
__Error
.WinIOError(dataInitialised, fullPath);
376
__Error
.WinIOError(dataInitialised, fullPath);
405
__Error
.WinIOError(Win32Native.ERROR_FILE_NOT_FOUND, fullSourceFileName);
412
__Error
.WinIOError();
429
__Error
.WinIOError(dataInitialised, path); // from FileInfo.
432
__Error
.WinIOError(Win32Native.ERROR_FILE_NOT_FOUND, path);
605
__Error
.WinIOError(Win32Native.ERROR_PATH_NOT_FOUND, InternalGetDirectoryRoot(path));
614
__Error
.WinIOError(firstError, errorString);
661
__Error
.WinIOError(hr, fullsourceDirName);
666
__Error
.WinIOError(hr, String.Empty);
706
__Error
.WinIOError(dataInitialised, fullPath);
756
__Error
.WinIOError(hr, userPath);
805
__Error
.WinIOError(hr, data.cFileName);
829
__Error
.WinIOError(hr, data.cFileName);
853
__Error
.WinIOError(hr, data.cFileName);
874
__Error
.WinIOError(hr, userPath);
893
__Error
.WinIOError(hr, userPath);
system\io\memorystream.cs (18)
144
if (!CanWrite)
__Error
.WriteNotSupported();
241
if (!_isOpen)
__Error
.StreamIsClosed();
248
if (!_isOpen)
__Error
.StreamIsClosed();
255
__Error
.StreamIsClosed();
261
__Error
.EndOfFile();
268
if (!_isOpen)
__Error
.StreamIsClosed();
285
if (!_isOpen)
__Error
.StreamIsClosed();
295
if (!_isOpen)
__Error
.StreamIsClosed();
296
if (!_expandable && (value != Capacity))
__Error
.MemoryStreamNotExpandable();
315
if (!_isOpen)
__Error
.StreamIsClosed();
322
if (!_isOpen)
__Error
.StreamIsClosed();
331
if (!_isOpen)
__Error
.StreamIsClosed();
350
if (!_isOpen)
__Error
.StreamIsClosed();
412
if (!_isOpen)
__Error
.StreamIsClosed();
483
if (!_isOpen)
__Error
.StreamIsClosed();
568
if (!_isOpen)
__Error
.StreamIsClosed();
635
if (!_isOpen)
__Error
.StreamIsClosed();
660
if (!_isOpen)
__Error
.StreamIsClosed();
system\io\path.cs (3)
916
__Error
.WinIOError(errorCode, path);
1068
if (r==0)
__Error
.WinIOError();
1153
if (r==0)
__Error
.WinIOError();
system\io\pathhelper.cs (2)
175
__Error
.WinIOError();
215
__Error
.WinIOError();
system\io\stream.cs (8)
308
if (!CanRead)
__Error
.ReadNotSupported();
455
if (!CanWrite)
__Error
.WriteNotSupported();
908
if (!CanRead)
__Error
.ReadNotSupported();
925
if (!CanWrite)
__Error
.WriteNotSupported();
1046
__Error
.WrongAsyncResult();
1049
__Error
.EndReadCalledTwice();
1061
__Error
.WrongAsyncResult();
1064
__Error
.EndWriteCalledTwice();
system\io\streamreader.cs (11)
337
__Error
.ReaderClosed();
355
__Error
.ReaderClosed();
370
__Error
.ReaderClosed();
395
__Error
.ReaderClosed();
429
__Error
.ReaderClosed();
456
__Error
.ReaderClosed();
740
__Error
.ReaderClosed();
796
__Error
.ReaderClosed();
877
__Error
.ReaderClosed();
922
__Error
.ReaderClosed();
1110
__Error
.ReaderClosed();
system\io\streamwriter.cs (9)
300
__Error
.WriterClosed();
460
__Error
.WriterClosed();
524
__Error
.WriterClosed();
618
__Error
.WriterClosed();
696
__Error
.WriterClosed();
719
__Error
.WriterClosed();
742
__Error
.WriterClosed();
775
__Error
.WriterClosed();
802
__Error
.WriterClosed();
system\io\stringreader.cs (5)
65
__Error
.ReaderClosed();
75
__Error
.ReaderClosed();
96
__Error
.ReaderClosed();
110
__Error
.ReaderClosed();
128
__Error
.ReaderClosed();
system\io\stringwriter.cs (3)
100
__Error
.WriterClosed();
121
__Error
.WriterClosed();
131
__Error
.WriterClosed();
system\io\unmanagedmemorystream.cs (18)
286
if (!_isOpen)
__Error
.StreamIsClosed();
312
if (!_isOpen)
__Error
.StreamIsClosed();
319
if (!_isOpen)
__Error
.StreamIsClosed();
326
if (!CanSeek)
__Error
.StreamIsClosed();
335
if (!CanSeek)
__Error
.StreamIsClosed();
361
if (!_isOpen)
__Error
.StreamIsClosed();
368
if (!_isOpen)
__Error
.StreamIsClosed();
403
if (!_isOpen)
__Error
.StreamIsClosed();
404
if (!CanRead)
__Error
.ReadNotSupported();
478
if (!_isOpen)
__Error
.StreamIsClosed();
479
if (!CanRead)
__Error
.ReadNotSupported();
511
if (!_isOpen)
__Error
.StreamIsClosed();
551
if (!_isOpen)
__Error
.StreamIsClosed();
552
if (!CanWrite)
__Error
.WriteNotSupported();
582
if (!_isOpen)
__Error
.StreamIsClosed();
583
if (!CanWrite)
__Error
.WriteNotSupported();
675
if (!_isOpen)
__Error
.StreamIsClosed();
676
if (!CanWrite)
__Error
.WriteNotSupported();
system\io\unmanagedmemorystreamwrapper.cs (4)
113
if (!_unmanagedStream._isOpen)
__Error
.StreamIsClosed();
114
if (!_unmanagedStream.CanRead)
__Error
.ReadNotSupported();
135
if (!_unmanagedStream._isOpen)
__Error
.StreamIsClosed();
136
if (!CanRead)
__Error
.ReadNotSupported();
system\runtime\memoryfailpoint.cs (3)
261
__Error
.WinIOError();
326
__Error
.WinIOError();
376
__Error
.WinIOError();
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (1)
460
__Error
.EndOfFile();
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
299
__Error
.EndOfFile();
system\threading\eventwaithandle.cs (6)
87
__Error
.WinIOError(errorCode, name);
149
__Error
.WinIOError(errorCode, name);
190
__Error
.WinIOError(Win32Native.ERROR_PATH_NOT_FOUND, "");
259
__Error
.WinIOError(errorCode,"");
269
__Error
.WinIOError();
278
__Error
.WinIOError();
system\threading\mutex.cs (3)
195
__Error
.WinIOError(errorCode, m_name);
321
__Error
.WinIOError(Win32Native.ERROR_PATH_NOT_FOUND, name);
399
__Error
.WinIOError(errorCode,name);
system\threading\Tasks\TaskToApm.cs (2)
92
__Error
.WrongAsyncResult();
117
__Error
.WrongAsyncResult();