32 references to GetPath
System.Drawing.Common.Tests (32)
System\Drawing\Imaging\MetafileTests.cs (32)
46
using Metafile metafile = new(
GetPath
(WmfFile));
53
using Metafile metafile = new(
GetPath
(WmfFile));
60
Assert.Throws<ExternalException>(() => new Metafile(
GetPath
(BmpFile)));
93
using FileStream stream = File.OpenRead(
GetPath
(WmfFile));
336
string fileName =
GetPath
("newTestImage.wmf");
352
string fileName =
GetPath
("newTestImage.wmf");
369
string fileName =
GetPath
("newTestImage.wmf");
385
string fileName =
GetPath
("newTestImage.wmf");
396
string fileName =
GetPath
("newTestImage.wmf");
432
string fileName =
GetPath
(new string('a', short.MaxValue));
445
string fileName =
GetPath
("newTestImage.wmf");
461
string fileName =
GetPath
("newTestImage.wmf");
477
string fileName =
GetPath
("newTestImage.wmf");
494
string fileName =
GetPath
("newTestImage.wmf");
512
string fileName =
GetPath
("newTestImage.wmf");
529
string fileName =
GetPath
("newTestImage.wmf");
545
string fileName =
GetPath
("newTestImage.wmf");
561
string fileName =
GetPath
("newTestImage.wmf");
578
string fileName =
GetPath
("newTestImage.wmf");
596
string fileName =
GetPath
("newTestImage.wmf");
613
string fileName =
GetPath
("newTestImage.wmf");
634
string fileName =
GetPath
("newTestImage.wmf");
656
string fileName =
GetPath
("newTestImage.wmf");
707
string fileName =
GetPath
(new string('a', 261));
838
MetafileHeader header = Metafile.GetMetafileHeader(
GetPath
(WmfFile));
846
using Metafile metafile = new(
GetPath
(WmfFile));
867
using FileStream stream = File.OpenRead(
GetPath
(WmfFile));
888
using Metafile metafile = new(
GetPath
(WmfFile));
898
Metafile metafile = new(
GetPath
(WmfFile));
907
using Metafile metafile = new(
GetPath
(WmfFile));
914
Metafile metafile = new(
GetPath
(WmfFile));
923
Metafile metafile = new(
GetPath
(WmfFile));