1 write to PathMap
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCommandLineParser.vb (1)
1493
.
PathMap
= pathMap,
28 references to PathMap
Microsoft.CodeAnalysis (2)
CommandLine\CommonCompiler.cs (2)
1255
WithPdbFilePath(PathUtilities.NormalizePathPrefix(finalPdbFilePath, Arguments.
PathMap
));
1267
EmitDeterminismKey(compilation, FileSystem, additionalTextFiles, analyzers, generators, Arguments.
PathMap
, emitOptions);
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
148
var sourceFileResolver = new LoggingSourceFileResolver(ImmutableArray<string>.Empty, Arguments.BaseDirectory, Arguments.
PathMap
, touchedFilesLogger);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Diagnostics\DiagnosticTest.cs (4)
2909
Assert.Equal(expected, parsedArgs.
PathMap
[0]);
2923
Assert.Equal(new KeyValuePair<string, string>("C:\\temp/goo" + sep, "/temp\\goo" + sep), parse("/pathmap:C:\\temp/goo=/temp\\goo", "a.cs").
PathMap
[0]);
2924
Assert.Equal(new KeyValuePair<string, string>("noslash" + sep, "withoutslash" + sep), parse("/pathmap:noslash=withoutslash", "a.cs").
PathMap
[0]);
2925
var doublemap = parse("/pathmap:/temp=/goo,/temp/=/bar", "a.cs").
PathMap
;
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCompiler.vb (1)
159
Dim sourceFileResolver = New LoggingSourceFileResolver(ImmutableArray(Of String).Empty, Arguments.BaseDirectory, Arguments.
PathMap
, touchedFilesLogger)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (20)
CommandLineTests.vb (20)
3459
Assert.Equal(ImmutableArray.Create(Of KeyValuePair(Of String, String))(), parsedArgs.
PathMap
)
3463
Assert.Equal(KeyValuePairUtil.Create("K1" & s, "V1" & s), parsedArgs.
PathMap
(0))
3467
Assert.Equal(KeyValuePairUtil.Create("abc" & s, "/"), parsedArgs.
PathMap
(0))
3471
Assert.Equal(KeyValuePairUtil.Create("K1" & s, "V1" & s), parsedArgs.
PathMap
(0))
3472
Assert.Equal(KeyValuePairUtil.Create("K2" & s, "V2" & s), parsedArgs.
PathMap
(1))
3476
Assert.Equal(ImmutableArray.Create(Of KeyValuePair(Of String, String))(), parsedArgs.
PathMap
)
3505
Assert.Equal(KeyValuePairUtil.Create("supporting spaces" & s, "is hard" & s), parsedArgs.
PathMap
(0))
3509
Assert.Equal(KeyValuePairUtil.Create("K 1" & s, "V 1" & s), parsedArgs.
PathMap
(0))
3510
Assert.Equal(KeyValuePairUtil.Create("K 2" & s, "V 2" & s), parsedArgs.
PathMap
(1))
3514
Assert.Equal(KeyValuePairUtil.Create("K 1" & s, "V 1" & s), parsedArgs.
PathMap
(0))
3515
Assert.Equal(KeyValuePairUtil.Create("K 2" & s, "V 2" & s), parsedArgs.
PathMap
(1))
3519
Assert.Equal(KeyValuePairUtil.Create("a =,b" & s, "1,= 2" & s), parsedArgs.
PathMap
(0))
3520
Assert.Equal(KeyValuePairUtil.Create("x =,y" & s, "3 4" & s), parsedArgs.
PathMap
(1))
3524
Assert.Equal(KeyValuePairUtil.Create("C:\temp\a\b\", "/_3/"), parsedArgs.
PathMap
(0))
3525
Assert.Equal(KeyValuePairUtil.Create("C:\temp\a\", "/_2/"), parsedArgs.
PathMap
(1))
3526
Assert.Equal(KeyValuePairUtil.Create("C:\temp\", "/_1/"), parsedArgs.
PathMap
(2))
3544
Assert.Equal(expected, parsedArgs.
PathMap
(0))
3555
Assert.Equal(New KeyValuePair(Of String, String)("C:\temp/goo" + sep, "/temp\goo" + sep), Parse({"/pathmap:C:\temp/goo=/temp\goo", "a.vb"}).
PathMap
(0))
3556
Assert.Equal(New KeyValuePair(Of String, String)("noslash" + sep, "withoutslash" + sep), Parse({"/pathmap:noslash=withoutslash", "a.vb"}).
PathMap
(0))
3557
Dim doublemap = Parse({"/pathmap:/temp=/goo,/temp/=/bar", "a.vb"}).
PathMap