28 references to VarWhenTypeIsApparent
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
CSharpAnalyzerOptionsProvider.cs (1)
47public CodeStyleOption2<bool> VarWhenTypeIsApparent => GetOption(CSharpCodeStyleOptions.VarWhenTypeIsApparent, FallbackSimplifierOptions.VarWhenTypeIsApparent);
CSharpSimplifierOptions.cs (1)
40VarWhenTypeIsApparent = options.GetOption(CSharpCodeStyleOptions.VarWhenTypeIsApparent, fallbackOptions.VarWhenTypeIsApparent);
CSharpTypeStyleDiagnosticAnalyzerBase.cs (1)
28ImmutableHashSet.Create<IOption2>(CSharpCodeStyleOptions.VarForBuiltInTypes, CSharpCodeStyleOptions.VarWhenTypeIsApparent, CSharpCodeStyleOptions.VarElsewhere),
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (25)
CSharpUseImplicitObjectCreationTests.cs (2)
243{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, CodeStyleOption2.FalseWithSuggestionEnforcement }, 265{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, CodeStyleOption2.TrueWithSuggestionEnforcement },
UseConditionalExpressionForAssignmentTests.cs (2)
63{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, CodeStyleOption2.TrueWithSilentEnforcement }, 836""", options: new OptionsCollection(LanguageNames.CSharp) { { CSharpCodeStyleOptions.VarWhenTypeIsApparent, CodeStyleOption2.TrueWithSilentEnforcement } });
UseExplicitTypeTests.cs (5)
42{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithInfo }, 50{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 58{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 66{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithError }, 74{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithSilent },
UseImplicitTypeTests.cs (6)
43{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 51{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 59{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 68{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 75{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithError }, 83{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithSilent },
UseVarTestExtensions.cs (10)
34{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithError }, 42{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithError }, 50{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithWarning }, 58{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithWarning }, 66{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithInfo }, 74{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithInfo }, 82{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithSilent }, 90{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithSilent }, 98{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, offWithNone }, 106{ CSharpCodeStyleOptions.VarWhenTypeIsApparent, onWithNone },