56 references to Parse
Microsoft.CodeAnalysis.CSharp (3)
CSharpParseOptions.cs (1)
52DocumentationMode documentationMode = DocumentationMode.Parse,
DocumentationComments\SourceDocumentationCommentUtils.cs (1)
35if (syntaxNode.SyntaxTree.Options.DocumentationMode < DocumentationMode.Parse)
Parser\Lexer.cs (1)
138get { return _options.DocumentationMode < DocumentationMode.Parse; }
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
1968DocumentationMode = DocumentationMode.Parse,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
516", assemblyName: "test", parseOptions: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.Parse));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
1968DocumentationMode = DocumentationMode.Parse,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\InterpolationTests.cs (2)
1156documentationMode: DocumentationMode.Parse, 1367documentationMode: DocumentationMode.Parse,
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Compilation\UsedAssembliesTests.cs (14)
1102Compilation comp3 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)); 4016parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.Parse), 4028Compilation comp3 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)); 4129Compilation comp3 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)); 4551AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4580AssertUsedAssemblyReferences(CreateCompilation(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4611parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.Parse), 4619parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.Parse), 4630Compilation comp3 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)); 4771AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4802parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.Parse), 4812Compilation comp3 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)); 5941AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 5962AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)),
DocumentationComments\DocumentationCommentCompilerTests.cs (1)
4520var tree = Parse(source, options: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
DocumentationComments\MethodDocumentationCommentTests.cs (1)
242compilation = CreateEmptyCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Parsing\MemberDeclarationParsingTests.cs (1)
11920UsingTree(text, options: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.Parse),
Parsing\StatementParsingTests.cs (1)
3437var tree = SyntaxFactory.ParseSyntaxTree(text, options: new CSharpParseOptions(documentationMode: DocumentationMode.Parse));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
19public static readonly CSharpParseOptions Regular = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.Parse);
Microsoft.CodeAnalysis.VisualBasic (2)
Scanner\Scanner.vb (1)
819Return _options.DocumentationMode >= DocumentationMode.Parse AndAlso
VisualBasicParseOptions.vb (1)
37Optional documentationMode As DocumentationMode = DocumentationMode.Parse,
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\CompilationEmitTests.vb (1)
555</compilation>, assemblyName:="test", parseOptions:=VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.Parse))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\GetUnusedImportDirectivesTests.vb (1)
293CreateCompilationWithMscorlib40(source, parseOptions:=New VisualBasicParseOptions(documentationMode:=DocumentationMode.Parse)).AssertNoDiagnostics(suppressInfos:=False)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (14)
DocumentationComments\DocCommentTests.vb (3)
78parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)) 150sources, parseOptions:=(New VisualBasicParseOptions()).WithDocumentationMode(DocumentationMode.Parse)) 12116DocumentationMode.Parse))
DocumentationComments\MethodDocumentationCommentTests.vb (1)
249compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse))
UsedAssembliesTests.vb (10)
932Dim comp3 As Compilation = CreateCompilation(source, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)) 3479Dim comp3 As Compilation = CreateCompilation(source, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)) 3917Dim comp3 As Compilation = CreateCompilation(source, references:=useReferences, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)) 3976AssertUsedAssemblyReferences(CreateCompilation(source3, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4004AssertUsedAssemblyReferences(CreateCompilation(source4, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4034parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse), 4042parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse), 4103Dim comp3 As Compilation = CreateCompilation(source, references:=useReferences, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)) 4191AssertUsedAssemblyReferences(CreateCompilation(source3, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse)), 4221parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.Parse),
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Parser\ParseStatements.vb (1)
7901Dim tree = VisualBasicSyntaxTree.ParseText(text, options:=New VisualBasicParseOptions(documentationMode:=DocumentationMode.Parse))
Parser\XmlDocComments.vb (1)
505]]>, VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.Parse),
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\ProjectSystem\ProjectSystemProjectOptionsProcessor.cs (1)
205var documentationMode = _commandLineArgumentsForCommandLine.DocumentationPath != null ? DocumentationMode.Diagnose : DocumentationMode.Parse;
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
346parseOptions = parseOptions.WithDocumentationMode(DocumentationMode.Parse);
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)
VisualStudioMSBuildWorkspaceTests.cs (2)
2553Assert.Equal(DocumentationMode.Parse, parseOptions.DocumentationMode); 2589Assert.Equal(DocumentationMode.Parse, csoptions.DocumentationMode);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
221var documentationMode = DocumentationMode.Parse;
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\CPS\CSharpCompilerOptionsTests.cs (1)
42Assert.Equal(DocumentationMode.Parse, parseOptions.DocumentationMode);
ProjectSystemShim\LegacyProject\CSharpCompilerOptionsTests.cs (1)
52Assert.Equal(DocumentationMode.Parse, options.DocumentationMode);
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ProjectSystemShim\VisualBasicCompilerOptionsTests.vb (1)
171Assert.Equal(DocumentationMode.Parse, options.DocumentationMode)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
219.WithDocumentationMode(If(Not String.IsNullOrEmpty(compilerOptions.wszXMLDocName), DocumentationMode.Diagnose, DocumentationMode.Parse))