65 references to None
Microsoft.CodeAnalysis (3)
Compilation\Compilation.cs (2)
1792/// if <see cref="ParseOptions.DocumentationMode"/> is set to <see cref="DocumentationMode.None"/>. 2587return tree.Options.DocumentationMode != DocumentationMode.None;
DocumentationMode.cs (1)
37return value >= DocumentationMode.None && value <= DocumentationMode.Diagnose;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
130if (tree is null || tree.Options.DocumentationMode != DocumentationMode.None)
Microsoft.CodeAnalysis.CSharp (2)
CommandLine\CSharpCommandLineParser.cs (1)
1476documentationMode: parseDocumentationComments ? DocumentationMode.Diagnose : DocumentationMode.None,
Compiler\DocumentationCommentCompiler.cs (1)
689maxDocumentationMode = DocumentationMode.None;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
1958DocumentationMode = DocumentationMode.None,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\CompilationEmitTests.cs (2)
262", assemblyName: "test", parseOptions: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.None)); 307", assemblyName: "test", parseOptions: CSharpParseOptions.Default.WithDocumentationMode(DocumentationMode.None));
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryImports\RemoveUnnecessaryImportsTests.cs (1)
1958DocumentationMode = DocumentationMode.None,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\ForEachTests.cs (1)
2051var options = new CSharpParseOptions(preprocessorSymbols: ImmutableArray.Create("CONDITIONAL"), documentationMode: DocumentationMode.None);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (22)
Compilation\UsedAssembliesTests.cs (18)
1097Compilation comp2 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)); 4012parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.None), 4023Compilation comp2 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)); 4126Compilation comp2 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)); 4549AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4578AssertUsedAssemblyReferences(CreateCompilation(source4, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4607parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.None), 4615parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.None), 4627Compilation comp2 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)); 4769AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4798parseOptions: TestOptions.Script.WithDocumentationMode(DocumentationMode.None), 4809Compilation comp2 = CreateCompilation(source, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)); 4834CreateCompilation(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics( 4851CreateCompilation(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics( 4872CreateCompilation(source1, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics( 4889CreateCompilation(source2, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).VerifyDiagnostics( 5939AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 5960AssertUsedAssemblyReferences(CreateCompilation(source3, references: references, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)),
DocumentationComments\CrefTests.cs (1)
4418var tree2 = Parse(source2, options: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None).WithLanguageVersion(LanguageVersion.Latest));
DocumentationComments\DocumentationModeTests.cs (2)
404var modes = Enumerable.Range((int)DocumentationMode.None, DocumentationMode.Diagnose - DocumentationMode.None + 1).Select(i => (DocumentationMode)i);
DocumentationComments\MethodDocumentationCommentTests.cs (1)
247compilation = CreateEmptyCompilation(source, options: TestOptions.ReleaseExe, parseOptions: TestOptions.Regular.WithDocumentationMode(DocumentationMode.None));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\CSharpParseOptionsTests.cs (1)
46TestProperty((old, value) => old.WithDocumentationMode(value), opt => opt.DocumentationMode, DocumentationMode.None);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
TestOptions.cs (1)
58new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.None, languageVersion: LanguageVersion.Preview).WithFeatures(s_experimentalFeatures);
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\RemoveUnnecessaryImports\AbstractRemoveUnnecessaryImportsDiagnosticAnalyzer.cs (1)
130if (tree is null || tree.Options.DocumentationMode != DocumentationMode.None)
Microsoft.CodeAnalysis.Test.Utilities (1)
CommonTestBase.cs (1)
363parseOptions = CSharp.CSharpParseOptions.Default.WithLanguageVersion(CSharp.LanguageVersion.Default).WithDocumentationMode(DocumentationMode.None);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
26var parseOptions = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.None)
Microsoft.CodeAnalysis.VisualBasic (2)
CommandLine\VisualBasicCommandLineParser.vb (1)
1416documentationMode:=If(parseDocumentationComments, DocumentationMode.Diagnose, DocumentationMode.None),
Compilation\DocumentationComments\DocumentationCommentCompiler.NamedType.vb (1)
49Dim maxDocumentationMode As DocumentationMode = DocumentationMode.None
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (4)
CommandLineTests.vb (4)
4440Assert.Equal(DocumentationMode.None, parsedArgs.ParseOptions.DocumentationMode) 4452Assert.Equal(DocumentationMode.None, parsedArgs.ParseOptions.DocumentationMode) 4529Assert.Equal(DocumentationMode.None, parsedArgs.ParseOptions.DocumentationMode) 4534Assert.Equal(DocumentationMode.None, parsedArgs.ParseOptions.DocumentationMode)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Emit\CompilationEmitTests.vb (2)
315</compilation>, assemblyName:="test", parseOptions:=VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.None)) 361</compilation>, assemblyName:="test", parseOptions:=VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.None))
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\GetUnusedImportDirectivesTests.vb (1)
290CreateCompilationWithMscorlib40(source, parseOptions:=New VisualBasicParseOptions(documentationMode:=DocumentationMode.None)).AssertNoDiagnostics(suppressInfos:=False)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (14)
DocumentationComments\DocCommentTests.vb (1)
119sources, parseOptions:=(New VisualBasicParseOptions()).WithDocumentationMode(DocumentationMode.None))
DocumentationComments\MethodDocumentationCommentTests.vb (1)
260compilation = CompilationUtils.CreateCompilationWithMscorlib40(source, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None))
UsedAssembliesTests.vb (12)
927Dim comp2 As Compilation = CreateCompilation(source, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)) 3476Dim comp2 As Compilation = CreateCompilation(source, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)) 3905Dim comp As Compilation = CreateCompilation(source, references:=useReferences, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)) 3974AssertUsedAssemblyReferences(CreateCompilation(source3, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4002AssertUsedAssemblyReferences(CreateCompilation(source4, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4030parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None), 4038parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None), 4087Dim comp As Compilation = CreateCompilation(source, references:=useReferences, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)) 4189AssertUsedAssemblyReferences(CreateCompilation(source3, references:=references, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)), 4217parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None), 4237CreateCompilation(source1, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).AssertTheseDiagnostics( 4254CreateCompilation(source2, parseOptions:=TestOptions.Regular.WithDocumentationMode(DocumentationMode.None)).AssertTheseDiagnostics(
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Parser\VisualBasicParseOptionsTests.vb (1)
25TestProperty(Function(old, value) old.WithDocumentationMode(value), Function(opt) opt.DocumentationMode, DocumentationMode.None)
Parser\XmlDocComments.vb (1)
489]]>, VisualBasicParseOptions.Default.WithDocumentationMode(DocumentationMode.None),
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
344if (parseOptions.DocumentationMode == DocumentationMode.None)
StackDepthTest (1)
Program.cs (1)
77var parseOptions = new CSharpParseOptions(kind: SourceCodeKind.Regular, documentationMode: DocumentationMode.None);