5 instantiations of TempFile
System.Private.Windows.Core.TestUtilities (3)
TempFile.cs (3)
50=> new(GetFilePath(memberName, lineNumber), bytes); 56=> new(GetFilePath(memberName, lineNumber), text); 62=> new(GetFilePath(memberName, lineNumber), length);
System.Windows.Forms.Tests (2)
System\Windows\Forms\InputLanguageTests.cs (2)
222using TempFile tempFile = new(file, script); 236using TempFile tempFile = new(file, script);
83 references to TempFile
System.Drawing.Common.Tests (4)
System\Drawing\IconTests.cs (2)
824using TempFile file = TempFile.Create("NotAnIcon");
System\Drawing\ImageTests.cs (2)
495using var file = TempFile.Create(bytes);
System.Private.Windows.Core.TestUtilities (3)
TempFile.cs (3)
46public static TempFile Create( 52public static TempFile Create( 58public static TempFile Create(
System.Windows.Forms.Design.Tests (28)
System\ComponentModel\Design\ByteViewerTests.cs (4)
860using TempFile file = TempFile.Create([1, 2, 3]); 871using TempFile file = TempFile.Create([1, 2, 3]);
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (24)
50using var temp = TempFile.Create(ResxHelper.CreateResx()); 98using var temp = TempFile.Create(ResxHelper.CreateResx()); 192using var temp = TempFile.Create(ResxHelper.CreateResx()); 214using var temp = TempFile.Create(ResxHelper.CreateResx(data)); 239using var temp = TempFile.Create(); 305using var temp = TempFile.Create(ResxHelper.CreateResx(data)); 329using var temp = TempFile.Create(); 386using var temp = TempFile.Create(ResxHelper.CreateResx(data)); 409using var temp = TempFile.Create(); 466using var temp = TempFile.Create(ResxHelper.CreateResx(data)); 520using var temp = TempFile.Create(ResxHelper.CreateResx(data)); 621using var temp = TempFile.Create();
System.Windows.Forms.Tests (46)
System\Resources\ResXResourceReaderTests.cs (2)
57using TempFile tempFile = TempFile.Create(ResxHelper.CreateResx());
System\Windows\Forms\HtmlDocumentTests.cs (4)
1256using var file = CreateTempFile(Html); 2377using var file = CreateTempFile(html); 2384private static TempFile CreateTempFile(string html) 2387return TempFile.Create(data);
System\Windows\Forms\HtmlElementTests.cs (3)
3323using var file = CreateTempFile(html); 3330private static TempFile CreateTempFile(string html) 3333return TempFile.Create(data);
System\Windows\Forms\HtmlWindowTests.cs (3)
97using var file = CreateTempFile(html); 104private static TempFile CreateTempFile(string html) 107return TempFile.Create(data);
System\Windows\Forms\InputLanguageTests.cs (2)
222using TempFile tempFile = new(file, script); 236using TempFile tempFile = new(file, script);
System\Windows\Forms\WebBrowserTests.cs (32)
384using var file1 = CreateTempFile(Html); 419using var file1 = CreateTempFile(Html); 463using var file = CreateTempFile(html); 532using var file = CreateTempFile(Html); 649using var file = CreateTempFile(Html); 888using var file = CreateTempFile(html); 954using var file = CreateTempFile(Html); 1021using var file = CreateTempFile(Html); 1130using var file = CreateTempFile(Html); 1617using var file = CreateTempFile(Html); 1868using var file = CreateTempFile(Html); 1934using var file = CreateTempFile(Html); 1974using var file = CreateTempFile(Html); 2069using var file = CreateTempFile(Html); 2908using var file1 = CreateTempFile(Html); 2917using var file2 = CreateTempFile(Html); 2927using var file3 = CreateTempFile(Html); 3025using var file1 = CreateTempFile(Html); 3032using var file2 = CreateTempFile(Html); 3042using var file3 = CreateTempFile(Html); 3196using var file = CreateTempFile(Html); 3285using var file = CreateTempFile(Html); 3308using var file = CreateTempFile(Html); 3403using var file = CreateTempFile(Html); 3438using var file1 = CreateTempFile(Html); 3445using var file2 = CreateTempFile(Html); 3962using var file = CreateTempFile(Html); 4020using var file = CreateTempFile(Html); 4109using var file = CreateTempFile(Html); 4169using var file = CreateTempFile(Html); 4647private static TempFile CreateTempFile(string html) 4650return TempFile.Create(data);
System.Windows.Forms.UI.IntegrationTests (2)
OpenFileDialogTests.cs (2)
38using var tempFile = TempFile.Create(0);