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