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