Base:
43 references to ToString
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (42)
CommandLineTests.vb (42)
4108
src.
ToString
(),
4137
Using xmlFileHandle As FileStream = File.Open(xml.
ToString
(), FileMode.Open, FileAccess.Read, FileShare.Delete Or FileShare.ReadWrite)
4139
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString(), expectedRetCode:=0)
4189
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString(), expectedRetCode:=0)
4192
Using reader As New StreamReader(xml.
ToString
())
4224
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString(), expectedRetCode:=0)
4227
Using reader As New StreamReader(xml.
ToString
())
4265
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:abcdfg.xyz /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString())
4284
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc /out:MyXml.dll {0}", src.
ToString
()), startFolder:=dir.ToString())
4303
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString())
4322
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /out:out.dll {0}", src.
ToString
()), startFolder:=dir.ToString())
4341
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /doc /out:out.dll {0}", src.
ToString
()), startFolder:=dir.ToString())
4360
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /t:library /doc:doc.xml /out:out.dll /doc+ {0}", src.
ToString
()), startFolder:=dir.ToString())
5016
Dim exitCode As Integer = New MockVisualBasicCompiler(Nothing, subDirectory, {"/nologo", "/t:library", "/out:abc.xyz", src.
ToString
()}).Run(outWriter, Nothing)
5021
exitCode = New MockVisualBasicCompiler(Nothing, baseDirectory, {"/nologo", "/libpath:temp", "/r:abc.xyz.dll", "/t:library", src.
ToString
()}).Run(outWriter, Nothing)
5038
Dim exitCode As Integer = New MockVisualBasicCompiler(Nothing, baseDirectory, {"/nologo", "/preferreduilang:en", "/t:library", "/out:" & subFolder.ToString(), src.
ToString
()}).Run(outWriter, Nothing)
5058
Dim exitCode As Integer = New MockVisualBasicCompiler(Nothing, baseDirectory, {"/nologo", "/preferreduilang:en", "/t:library", "/out:" & filePath, src.
ToString
()}).Run(outWriter, Nothing)
5115
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime /t:library " & src.
ToString
(), expectedRetCode:=1)
5123
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime+ /t:library " & src.
ToString
(), expectedRetCode:=1)
5131
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime* /t:library /r:System.dll " & src.
ToString
(), expectedRetCode:=1)
5139
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime+ /vbruntime:abc /vbruntime* /t:library /r:System.dll " & src.
ToString
(), expectedRetCode:=1)
5147
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime+ /vbruntime:abc /t:library " & src.
ToString
(), expectedRetCode:=1)
5156
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /vbruntime:" & newVbCore.
ToString
() & " /t:library " & src.
ToString
(), expectedRetCode:=1)
5182
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /r:mscorlib.dll /vbruntime- /t:library /d:_MyType=\""Empty\"" " & src.
ToString
(), expectedRetCode:=1)
5225
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /sdkpath:l:\x /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5231
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /r:mscorlib.dll /vbruntime- /sdkpath:c:folder /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5237
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /sdkpath:" & dir.Path & " /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5247
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /sdkpath:" & dir.Path & " /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5256
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /sdkpath:" & dir.Path & " /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5267
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /nostdlib /sdkpath:" & dir.Path & " /t:library /vbruntime* /r:" & Path.Combine(RuntimeEnvironment.GetRuntimeDirectory(), "System.dll") & " " & src.
ToString
(), startFolder:=dir.Path)
5273
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /nostdlib /sdkpath:" & dir.Path & " /t:library /vbruntime* /r:" & Path.Combine(RuntimeEnvironment.GetRuntimeDirectory(), "System.dll") & " " & src.
ToString
(), startFolder:=dir.Path)
5301
" " & src.
ToString
()
5338
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /t:library " & src.
ToString
(), startFolder:=dir.Path, expectedRetCode:=1)
5341
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /nostdlib /define:_MYTYPE=\""Empty\"" /t:library " & src.
ToString
(), startFolder:=dir.Path)
5344
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /nostdlib /sdkpath:x:\ /vbruntime- /define:_MYTYPE=\""Empty\"" /t:library " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
5376
Dim parsedArgs = DefaultParse({"/libpath:c:\lib2,", "@" & file.
ToString
(), "a.vb"}, _baseDirectory)
5378
AssertReferencePathsEqual(parsedArgs.ReferencePaths, Nothing, Path.GetDirectoryName(file.
ToString
()), "c:\lib2")
6471
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /t:library " & file.
ToString
(), startFolder:=dir.Path)
6474
output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /preferreduilang:en /t:library /codepage:20127 " & file.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path) ' 20127: US-ASCII
7535
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, "/nologo /t:library /langversion:9 /preferreduilang:en " & src.
ToString
(), expectedRetCode:=1, startFolder:=dir.Path)
8673
Dim output = ProcessUtilities.RunAndGetOutput(s_basicCompilerExecutable, String.Format("/nologo /doc:doc.xml /out:out.exe /resource:doc.xml {0}", src.
ToString
()), startFolder:=dir.ToString())
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
DocumentationComments\DocCommentTests.vb (1)
11926
Return TestHelpers.AsXmlCommentText(file.
ToString
())