18 references to TestOptions
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (18)
BasicTestBase.vb (9)
183
options = If(expectedOutput Is Nothing,
TestOptions
.ReleaseDll,
TestOptions
.ReleaseExe)
322
options = If(expectedOutput Is Nothing,
TestOptions
.ReleaseDll,
TestOptions
.ReleaseExe)
420
options:=
TestOptions
.ReleaseDll,
436
syntaxTree:=Parse(code, options:=If(parseOptions,
TestOptions
.Script)),
810
Dim compilation = CreateEmptyCompilation({syntaxTree}, references:=allReferences, options:=If(compilationOptions,
TestOptions
.ReleaseDll))
889
Dim compilation = CreateEmptyCompilation({syntaxTree}, references:=allReferences, options:=If(compilationOptions,
TestOptions
.ReleaseDll))
908
Dim compilation = CreateEmptyCompilation({syntaxTree}, references:=references, options:=If(compilationOptions,
TestOptions
.ReleaseDll))
BasicTestSource.vb (3)
25
Dim tree = SyntaxFactory.ParseSyntaxTree(sourceTest, If(options,
TestOptions
.RegularLatest), path)
50
If(parseOptions,
TestOptions
.RegularLatest))
56
Return sources.Select(Function(s) VisualBasicSyntaxTree.ParseText(SourceText.From(s, encoding:=Nothing, SourceHashAlgorithms.Default), If(parseOptions,
TestOptions
.RegularLatest))).ToArray()
CompilationTestUtils.vb (3)
57
options =
TestOptions
.ReleaseDll
329
options =
TestOptions
.ReleaseDll
654
Return (VisualBasicSyntaxTree.ParseText(text, If(parseOptions,
TestOptions
.RegularLatest), If(programElement.@name, "")), spans)
MetadataHelpers.vb (2)
56
Dim options = If(importInternals,
TestOptions
.ReleaseDll.WithMetadataImportOptions(MetadataImportOptions.Internal),
TestOptions
.ReleaseDll)
ParserTestUtilities.vb (1)
113
Dim tree = VisualBasicSyntaxTree.ParseText(SourceText.From(source, encoding), options:=If(options,
TestOptions
.RegularLatest), path:=fileName)