21 references to Default
Microsoft.CodeAnalysis.VisualBasic (21)
CommandLine\VisualBasicCommandLineParser.vb (1)
2094
Using p = New InternalSyntax.Parser(SyntaxFactory.MakeSourceText(symbolList, offset), VisualBasicParseOptions.
Default
)
Compilation\VisualBasicCompilation.vb (1)
248
Dim parseOptions = If(compilationOptions.ParseOptions, VisualBasicParseOptions.
Default
)
OptionsValidator.vb (1)
30
Dim tree = VisualBasicSyntaxTree.ParseText(SourceText.From(importFileText), VisualBasicParseOptions.
Default
, "")
Syntax\SyntaxNodeFactories.vb (13)
37
Return VisualBasicSyntaxTree.Create(DirectCast(root, VisualBasicSyntaxNode), If(DirectCast(options, VisualBasicParseOptions), VisualBasicParseOptions.
Default
), path, encoding, SourceHashAlgorithm.Sha1)
104
Dim s = New InternalSyntax.Scanner(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
116
Dim s = New InternalSyntax.Scanner(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
129
Dim s = New InternalSyntax.Scanner(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
153
Using parser = New InternalSyntax.Parser(MakeSourceText(text, offset), If(options, VisualBasicParseOptions.
Default
))
178
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
199
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), If(DirectCast(options, VisualBasicParseOptions), VisualBasicParseOptions.
Default
))
223
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
236
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
248
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), If(options, VisualBasicParseOptions.
Default
))
259
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
272
Using p = New InternalSyntax.Parser(MakeSourceText(text, offset), VisualBasicParseOptions.
Default
)
292
Using scanner As New InternalSyntax.Scanner(MakeSourceText(text, 0), VisualBasicParseOptions.
Default
) ' NOTE: Default options should be enough
Syntax\VisualBasicSyntaxTree.DummySyntaxTree.vb (1)
51
Return VisualBasicParseOptions.
Default
Syntax\VisualBasicSyntaxTree.vb (4)
174
options:=If(options, VisualBasicParseOptions.
Default
),
221
options:=VisualBasicParseOptions.
Default
,
231
Return New LazySyntaxTree(text, If(options, VisualBasicParseOptions.
Default
), path, Nothing)
289
parseOptions = If(parseOptions, VisualBasicParseOptions.
Default
)