286 references to Options
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CodeStyle (7)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp (43)
Microsoft.CodeAnalysis.CSharp.CodeStyle (15)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (6)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (5)
179BaseFieldDeclarationSyntax => SyntaxFactory.ParseCompilationUnit(WrapInType(textToParse), options: (CSharpParseOptions)tree.Options),
180BaseMethodDeclarationSyntax => SyntaxFactory.ParseCompilationUnit(WrapInType(textToParse), options: (CSharpParseOptions)tree.Options),
181BasePropertyDeclarationSyntax => SyntaxFactory.ParseCompilationUnit(WrapInType(textToParse), options: (CSharpParseOptions)tree.Options),
182StatementSyntax => SyntaxFactory.ParseStatement(textToParse, options: (CSharpParseOptions)tree.Options),
183UsingDirectiveSyntax => SyntaxFactory.ParseCompilationUnit(textToParse, options: (CSharpParseOptions)tree.Options),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (32)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (47)
Syntax\SyntaxRewriterTests.cs (39)
368Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
369Assert.Equal(tree.Options, newTree.Options);
377Assert.Equal(SourceCodeKind.Script, tree.Options.Kind);
387Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
388Assert.Equal(tree.Options, newTree.Options);
396Assert.Equal(SourceCodeKind.Script, tree.Options.Kind);
407Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
408Assert.Equal(tree.Options, newTree.Options);
414Assert.Equal(SourceCodeKind.Script, newTree2.Options.Kind);
415Assert.Equal(tree.Options, newTree2.Options);
423Assert.Equal(SourceCodeKind.Script, tree.Options.Kind);
434Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
435Assert.Equal(tree.Options, newTree.Options);
451Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
452Assert.Equal(tree.Options, newTree.Options);
457Assert.Equal(SourceCodeKind.Script, newTree2.Options.Kind);
458Assert.Equal(tree.Options, newTree2.Options);
478Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
479Assert.Equal(tree.Options, newTree.Options);
484Assert.Equal(SourceCodeKind.Script, newTree2.Options.Kind);
485Assert.Equal(tree.Options, newTree2.Options);
506Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
507Assert.Equal(tree.Options, newTree.Options);
519Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
520Assert.Equal(tree.Options, newTree.Options);
532Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind);
533Assert.Equal(tree.Options, newTree.Options);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (6)
CodeGeneration\CodeGenerationTests.cs (6)
93var info = testContext.Service.GetInfo(context ?? CodeGenerationContext.Default, options, root.SyntaxTree.Options);
314var info = testContext.Service.GetInfo(context ?? CodeGenerationContext.Default, options, oldSyntax.SyntaxTree.Options);
329var info = testContext.Service.GetInfo(context ?? CodeGenerationContext.Default, options, oldMemberSyntax.SyntaxTree.Options);
540var info = codeGenerator.GetInfo(CodeGenerationContext.Default, options, oldNode.SyntaxTree.Options);
559var info = codeGenerator.GetInfo(CodeGenerationContext.Default, options, testContext.SemanticModel.SyntaxTree.Options);
581var info = codeGenerator.GetInfo(new CodeGenerationContext(reuseSyntax: true), options, declarationNode.SyntaxTree.Options);
Microsoft.CodeAnalysis.Features (13)
Microsoft.CodeAnalysis.Test.Utilities (1)
Microsoft.CodeAnalysis.VisualBasic (13)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (3)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (34)
Syntax\SyntaxRewriterTests.vb (30)
529Assert.Equal(SourceCodeKind.Script, tree.Options.Kind)
537Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
538Assert.Equal(tree.Options, newTree.Options)
546Assert.Equal(SourceCodeKind.Script, tree.Options.Kind)
556Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
557Assert.Equal(tree.Options, newTree.Options)
565Assert.Equal(SourceCodeKind.Script, tree.Options.Kind)
577Assert.Equal(tree.Options, newTree.Options)
584Assert.Equal(tree.Options, newTree2.Options)
592Assert.Equal(SourceCodeKind.Script, tree.Options.Kind)
603Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
604Assert.Equal(tree.Options, newTree.Options)
621Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
622Assert.Equal(tree.Options, newTree.Options)
627Assert.Equal(SourceCodeKind.Script, newTree2.Options.Kind)
628Assert.Equal(tree.Options, newTree2.Options)
649Assert.Equal(tree.Options, newTree.Options)
655Assert.Equal(tree.Options, newTree2.Options)
677Assert.Equal(tree.Options, newTree.Options)
689Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
690Assert.Equal(tree.Options, newTree.Options)
702Assert.Equal(SourceCodeKind.Script, newTree.Options.Kind)
703Assert.Equal(tree.Options, newTree.Options)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (11)
Microsoft.CodeAnalysis.Workspaces.UnitTests (10)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.VisualStudio.LanguageServices (1)