196 references to ChangeExtension
blazor-devserver (3)
ConfigurationSchemaGenerator (1)
Crossgen2Tasks (9)
csc (1)
dotnet-dev-certs (1)
dotnet-getdocument (2)
dotnet-razorpagegenerator (1)
dotnet-svcutil-lib (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IISExpress.FunctionalTests (1)
illink (3)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (2)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
Microsoft.AspNetCore.Http.Microbenchmarks (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
Microsoft.Build (1)
Microsoft.Build.Engine.UnitTests (2)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (4)
Microsoft.Build.Tasks.UnitTests (60)
ResourceHandling\GenerateResource_Tests.cs (58)
112string expectedOutFile0 = Path.Combine(Path.GetTempPath(), Path.ChangeExtension(resxFile0, ".resources"));
246t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".resx")) };
253t2a.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".txt")) };
296string outputFile = Path.ChangeExtension(resourcesFile, ".txt");
528string outputResource = Path.ChangeExtension(Path.GetFullPath(resxFile), ".resources");
798resourcesFile1 = Path.ChangeExtension(resxFile, ".resources");
799resourcesFile2 = Path.ChangeExtension(txtFile, ".resources");
1034t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(textFile, ".resx")) };
1067t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resourcesFile, ".resx")) };
1074t2a.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(t.FilesWritten[0].ItemSpec, ".resources")) };
1174string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs");
1238string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs");
1271Assert.Equal(t2.FilesWritten[2].ItemSpec, Path.ChangeExtension(t2.Sources[0].ItemSpec, ".cs"));
1309strFile = Path.ChangeExtension(resourcesFile, ".cs"); // STR filename should be generated from output not input filename
1474string stronglyTypedFileName = Path.ChangeExtension(t.Sources[0].ItemSpec, ".vb");
1541string STRfile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs");
1599string STRfile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs");
1763resourcesFile1 = Path.ChangeExtension(resxFile1, ".resources");
1764resourcesFile2 = Path.ChangeExtension(resxFile2, ".resources");
1840resourcesFile1 = Path.ChangeExtension(resxFile1, ".resources");
1841resourcesFile2 = Path.ChangeExtension(resxFile2, ".resources");
1939t.OutputResources = new ITaskItem[] { new TaskItem(Path.ChangeExtension(resxFile, ".txt")) };
2049string resourcesFile = Path.ChangeExtension(resxFile, ".resources");
2100string resourcesFile = Path.ChangeExtension(textFile, ".resources");
2140string resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2231string resourcesFile = Path.ChangeExtension(resxFile, ".resources");
2265string outputFile = Path.ChangeExtension(t.Sources[i].ItemSpec, ".resources");
2342File.Delete(Path.ChangeExtension(taskItem.ItemSpec, ".resources"));
2351string outputFile = Path.ChangeExtension(t.Sources[0].ItemSpec, ".resources");
2354outputFile = Path.ChangeExtension(t.Sources[1].ItemSpec, ".resources");
2358outputFile = Path.ChangeExtension(t.Sources[2].ItemSpec, ".resources");
2361outputFile = Path.ChangeExtension(t.Sources[3].ItemSpec, ".resources");
2366Assert.Equal(t.FilesWritten[0].ItemSpec, Path.ChangeExtension(t.Sources[0].ItemSpec, ".resources"));
2367Assert.Equal(t.FilesWritten[1].ItemSpec, Path.ChangeExtension(t.Sources[1].ItemSpec, ".resources"));
2379Assert.Equal(t.FilesWritten[2].ItemSpec, Path.ChangeExtension(t.Sources[3].ItemSpec, ".resources"));
2464File.Delete(Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"));
2473Assert.Equal(t.StronglyTypedFileName, Path.ChangeExtension(t.Sources[0].ItemSpec, ".cs"));
2557File.Delete(Path.ChangeExtension(textFile, ".resources"));
2575resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2651string newTextFile = Path.ChangeExtension(textFile, ".foo");
2684string resxFile = Path.ChangeExtension(textFile, ".foo");
2716string resxFile = Path.ChangeExtension(textFile, ".resources");
2811File.Delete(Path.ChangeExtension(resxFile, ".resources"));
2816File.Delete(Path.ChangeExtension(resxFile2, ".resources"));
2873string resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2910string resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2947string resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2986resourcesFile = Path.ChangeExtension(txtFile, ".resources");
2988string csFile = Path.ChangeExtension(txtFile, ".cs");
3409string resourcesFile = Path.ChangeExtension(resxFile, ".resources");
3445resourcesFile = Path.ChangeExtension(resxFile, ".resources");
3484File.Delete(Path.ChangeExtension(resxFile, ".cs"));
3488resourcesFile = Path.ChangeExtension(resxFile, ".resources");
3531resourcesFile = Path.ChangeExtension(resxFile, ".myresources");
3534string resourcesFile1 = Path.ChangeExtension(resxFile1, ".myresources");
4185string filename = Path.ChangeExtension(f, extension);
4254Assert.Equal(Path.ChangeExtension(t.Sources[0].ItemSpec, codeFileExtension), t.StronglyTypedFileName);
4261string STRFile = Path.ChangeExtension(textFile, codeFileExtension);
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.CodeStyle (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (7)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.Rebuild.UnitTests (6)
RebuildCommandLineTests.cs (6)
60PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "dll"),
65PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "netmodule"),
70PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "dll"),
79PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"),
84PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"),
89PeFileName = Path.ChangeExtension(commandInfo.PeFileName, "exe"),
Microsoft.CodeAnalysis.Scripting (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.DotNet.Build.Tasks.Packaging (5)
Microsoft.DotNet.Build.Tasks.Workloads (1)
Microsoft.DotNet.Internal.SymbolHelper (2)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.DependencyModel (2)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Maui.Resizetizer (2)
Microsoft.ML.CodeAnalyzer.Tests (1)
Microsoft.ML.TensorFlow.Tests (1)
Microsoft.ML.Tokenizers.Data.Tests (1)
Microsoft.ML.Tokenizers.Tests (1)
Microsoft.VisualStudio.LanguageServices (1)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
MSBuild (1)
PresentationBuildTasks (8)
PresentationCore (1)
PresentationFramework (1)
Replay (1)
Roslyn.VisualStudio.Next.UnitTests (1)
System.Configuration.ConfigurationManager (1)
System.Windows.Forms.Design (1)
Templates.Blazor.Tests (2)
Templates.Blazor.WebAssembly.Auth.Tests (2)
Templates.Blazor.WebAssembly.Tests (2)
Templates.Mvc.Tests (2)
Templates.Tests (2)
vbc (1)
VBCSCompiler (1)
VBCSCompiler.UnitTests (2)
xunit.console (1)