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)
2906
Assert.Equal(expected, parsedArgs.
PathMap
[0]);
2920
Assert.Equal(new KeyValuePair<string, string>("C:\\temp/goo" + sep, "/temp\\goo" + sep), parse("/pathmap:C:\\temp/goo=/temp\\goo", "a.cs").
PathMap
[0]);
2921
Assert.Equal(new KeyValuePair<string, string>("noslash" + sep, "withoutslash" + sep), parse("/pathmap:noslash=withoutslash", "a.cs").
PathMap
[0]);
2922
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)
3460
Assert.Equal(ImmutableArray.Create(Of KeyValuePair(Of String, String))(), parsedArgs.
PathMap
)
3464
Assert.Equal(KeyValuePairUtil.Create("K1" & s, "V1" & s), parsedArgs.
PathMap
(0))
3468
Assert.Equal(KeyValuePairUtil.Create("abc" & s, "/"), parsedArgs.
PathMap
(0))
3472
Assert.Equal(KeyValuePairUtil.Create("K1" & s, "V1" & s), parsedArgs.
PathMap
(0))
3473
Assert.Equal(KeyValuePairUtil.Create("K2" & s, "V2" & s), parsedArgs.
PathMap
(1))
3477
Assert.Equal(ImmutableArray.Create(Of KeyValuePair(Of String, String))(), parsedArgs.
PathMap
)
3506
Assert.Equal(KeyValuePairUtil.Create("supporting spaces" & s, "is hard" & s), parsedArgs.
PathMap
(0))
3510
Assert.Equal(KeyValuePairUtil.Create("K 1" & s, "V 1" & s), parsedArgs.
PathMap
(0))
3511
Assert.Equal(KeyValuePairUtil.Create("K 2" & s, "V 2" & s), parsedArgs.
PathMap
(1))
3515
Assert.Equal(KeyValuePairUtil.Create("K 1" & s, "V 1" & s), parsedArgs.
PathMap
(0))
3516
Assert.Equal(KeyValuePairUtil.Create("K 2" & s, "V 2" & s), parsedArgs.
PathMap
(1))
3520
Assert.Equal(KeyValuePairUtil.Create("a =,b" & s, "1,= 2" & s), parsedArgs.
PathMap
(0))
3521
Assert.Equal(KeyValuePairUtil.Create("x =,y" & s, "3 4" & s), parsedArgs.
PathMap
(1))
3525
Assert.Equal(KeyValuePairUtil.Create("C:\temp\a\b\", "/_3/"), parsedArgs.
PathMap
(0))
3526
Assert.Equal(KeyValuePairUtil.Create("C:\temp\a\", "/_2/"), parsedArgs.
PathMap
(1))
3527
Assert.Equal(KeyValuePairUtil.Create("C:\temp\", "/_1/"), parsedArgs.
PathMap
(2))
3545
Assert.Equal(expected, parsedArgs.
PathMap
(0))
3556
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))
3557
Assert.Equal(New KeyValuePair(Of String, String)("noslash" + sep, "withoutslash" + sep), Parse({"/pathmap:noslash=withoutslash", "a.vb"}).
PathMap
(0))
3558
Dim doublemap = Parse({"/pathmap:/temp=/goo,/temp/=/bar", "a.vb"}).
PathMap