174 references to MSBuildUtil
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (174)
CscTests.cs (75)
31csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 39csc.Sources = MSBuildUtil.CreateTaskItems("test1.cs", "test2.cs"); 47csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 52csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 60csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 65csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 70csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 78csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 83csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 88csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 96csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 101csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 110csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 119csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 124csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 129csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 159csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 168csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 176csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 177csc.OutputAssembly = MSBuildUtil.CreateTaskItem("x.exe"); 188csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 204csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 221csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 230csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 240csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 251csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 260csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 265csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 270csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 275csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 280csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 285csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 294csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 300csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 306csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 316csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 318csc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"test.cs", @"test.txt"); 322csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 324csc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"C:\x y\z.json"); 328csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 334csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 336csc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(); 344csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 345csc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"test.cs", @"test.txt"); 351csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 361csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 362csc.OutputRefAssembly = MSBuildUtil.CreateTaskItem("ref\\test.dll"); 370csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 379csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 388csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 397csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 406csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 415csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 424csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 433csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 449csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 455csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 461csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 472csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 478csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 489csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 496csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 505csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 506csc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems(".editorconfig"); 510csc.Sources = MSBuildUtil.CreateTaskItems("test.cs", "subdir\\test.cs"); 511csc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems(".editorconfig", "subdir\\.editorconfig"); 515csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 516csc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems("..\\.editorconfig", "sub dir\\.editorconfig"); 525csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 530csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 535csc.Sources = MSBuildUtil.CreateTaskItems("test.cs"); 571Sources = MSBuildUtil.CreateTaskItems("test.cs"), 584Sources = MSBuildUtil.CreateTaskItems("test.cs", "blah.cs"), 624Sources = MSBuildUtil.CreateTaskItems("test.cs"), 647Sources = MSBuildUtil.CreateTaskItems("test.cs"),
CsiTests.cs (8)
16csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 27csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 46csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 55csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 64csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 73csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 82csi.Source = MSBuildUtil.CreateTaskItem("test.csx"); 91csi.Source = MSBuildUtil.CreateTaskItem("test.csx");
GenerateMSBuildEditorConfigTests.cs (24)
37ITaskItem property1 = MSBuildUtil.CreateTaskItem("Property1", new Dictionary<string, string> { { "Value", "abc123" } }); 38ITaskItem property2 = MSBuildUtil.CreateTaskItem("Property2", new Dictionary<string, string> { { "Value", "def456" } }); 57ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 77ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 78ITaskItem item2 = MSBuildUtil.CreateTaskItem("c:/file2.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "def456" } }); 79ITaskItem item3 = MSBuildUtil.CreateTaskItem("c:/file3.cs", new Dictionary<string, string> { { "ItemType", "AdditionalFiles" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "ghi789" } }); 106ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/{f*i?le1}.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 107ITaskItem item2 = MSBuildUtil.CreateTaskItem("c:/f,ile#2.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "def456" } }); 108ITaskItem item3 = MSBuildUtil.CreateTaskItem("c:/f;i!le[3].cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "ghi789" } }); 134ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 135ITaskItem item2 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "AdditionalFile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "def456" } }); 156ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" } }); 176ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { }); 177ITaskItem item2 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" } }); 178ITaskItem item3 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "MetadataName", "ToRetrieve" } }); 197ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 198ITaskItem item2 = MSBuildUtil.CreateTaskItem("c:/file2.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "def456" } }); 199ITaskItem item3 = MSBuildUtil.CreateTaskItem("c:/file3.cs", new Dictionary<string, string> { { "ItemType", "AdditionalFiles" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "ghi789" } }); 200ITaskItem item4 = MSBuildUtil.CreateTaskItem("c:/file1.cs", new Dictionary<string, string> { { "ItemType", "AdditionalFiles" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "jkl012" } }); 202ITaskItem property1 = MSBuildUtil.CreateTaskItem("Property1", new Dictionary<string, string> { { "Value", "abc123" } }); 203ITaskItem property2 = MSBuildUtil.CreateTaskItem("Property2", new Dictionary<string, string> { { "Value", "def456" } }); 339ITaskItem item1 = MSBuildUtil.CreateTaskItem("c:\\file1.cs", new Dictionary<string, string> { { "ItemType", "Compile" }, { "MetadataName", "ToRetrieve" }, { "ToRetrieve", "abc123" } }); 359ITaskItem property1 = MSBuildUtil.CreateTaskItem("Property1", new Dictionary<string, string> { { "Value", "abc123" } }); 360ITaskItem property2 = MSBuildUtil.CreateTaskItem("Property2", new Dictionary<string, string> { { "Value", "def456" } });
VbcTests.cs (67)
28vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 36vbc.Sources = MSBuildUtil.CreateTaskItems("test1.vb", "test2.vb"); 44vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 49vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 57vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 62vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 67vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 75vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 80vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 85vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 93vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 98vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 107vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 116vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 121vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 126vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 155vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 164vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 173vbc.OutputAssembly = MSBuildUtil.CreateTaskItem("x.exe"); 174vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 185vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 201vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 220vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 229vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 234vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 239vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 244vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 249vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 254vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 263vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 269vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 275vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 285vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 287vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"test.vb", @"test.txt"); 291vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 293vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"C:\x y\z.json"); 297vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 303vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 305vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(); 309vbc.Sources = MSBuildUtil.CreateTaskItems("a;b.vb"); 311vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems("a;b.vb"); 315vbc.Sources = MSBuildUtil.CreateTaskItems("a, b.vb"); 317vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems("a, b.vb"); 325vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 326vbc.EmbeddedFiles = MSBuildUtil.CreateTaskItems(@"test.vb", @"test.txt"); 332vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 342vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 343vbc.OutputRefAssembly = MSBuildUtil.CreateTaskItem("ref\\test.dll"); 351vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 360vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 366vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 372vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 382vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 393vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 404vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 414vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 441vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 442vbc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems(".editorconfig"); 446vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb", "subdir\\test.vb"); 447vbc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems(".editorconfig", "subdir\\.editorconfig"); 451vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 452vbc.AnalyzerConfigFiles = MSBuildUtil.CreateTaskItems("..\\.editorconfig", "sub dir\\.editorconfig"); 461vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 466vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 471vbc.Sources = MSBuildUtil.CreateTaskItems("test.vb"); 538Sources = MSBuildUtil.CreateTaskItems("test.vb"), 551Sources = MSBuildUtil.CreateTaskItems("test.vb", "blah.vb"),