10 references to WithScriptClassName
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
1356
Return
WithScriptClassName
(scriptClassName)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (9)
Compilation\VisualBasicCompilationOptionsTests.vb (4)
91
TestProperty(Function(old, value) old.
WithScriptClassName
(value), Function(opt) opt.ScriptClassName, "<Script>")
132
AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
(Nothing).Errors,
137
AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
("blah" & ChrW(0) & "goo").Errors,
142
AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithScriptClassName
("").Errors,
Semantics\ScriptSemanticsTests.vb (5)
59
compilation = CreateCompilationWithMscorlib45({syntaxTree}, options:=TestOptions.ReleaseExe.
WithScriptClassName
("Script"), assemblyName:="Errors_01")
84
compilation = CreateCompilationWithMscorlib45AndVBRuntime({syntaxTree}, options:=TestOptions.ReleaseExe.
WithScriptClassName
("Script"))
93
compilation = CreateCompilationWithMscorlib45AndVBRuntime({syntaxTree}, options:=TestOptions.ReleaseExe.
WithScriptClassName
(""))
106
compilation = CreateCompilationWithMscorlib45AndVBRuntime({syntaxTree}, options:=TestOptions.ReleaseExe.
WithScriptClassName
(Nothing))
119
compilation = CreateCompilationWithMscorlib45AndVBRuntime({syntaxTree}, options:=TestOptions.ReleaseExe.
WithScriptClassName
("a" + ChrW(0) + "b"))