publicstaticreadonlyOption<bool>CompilationEndCodeFix=newOption<bool>(OptionName,"Enable Compilation End Code Fix",defaultValue:true);
[ExportOption]
publicstaticreadonlyOption<bool>UseCompilationEndCodeFixHeuristic=newOption<bool>(OptionName,"Enable Compilation End Code Fix With Heuristic",defaultValue:true);
[ExportOption]
publicstaticreadonlyOption<bool>BuildErrorIsTheGod=newOption<bool>(OptionName,"Make build errors to take over everything",defaultValue:false);
[ExportOption]
publicstaticreadonlyOption<bool>ClearLiveErrorsForProjectBuilt=newOption<bool>(OptionName,"Clear all live errors of projects that got built",defaultValue:false);
[ExportOption]
publicstaticreadonlyOption<bool>PreferLiveErrorsOnOpenedFiles=newOption<bool>(OptionName,"Live errors will be preferred over errors from build on opened files from same analyzer",defaultValue:true);
[ExportOption]
publicstaticreadonlyOption<bool>PreferBuildErrorsOverLiveErrors=newOption<bool>(OptionName,"Errors from build will be preferred over live errors from same analyzer",defaultValue:true);
@@ -8,13 +8,8 @@ internal static class ExtractMethodOptions
{
publicconststringFeatureName="ExtractMethod";
[ExportOption]
publicstaticreadonlyPerLanguageOption<bool>AllowBestEffort=newPerLanguageOption<bool>(FeatureName,"Allow Best Effort",defaultValue:false);
[ExportOption]
publicstaticreadonlyPerLanguageOption<bool>DontPutOutOrRefOnStruct=newPerLanguageOption<bool>(FeatureName,"Don't Put Out Or Ref On Strcut",defaultValue:true);
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Collections.Immutable;
usingSystem.IO;
usingSystem.Threading;
usingSystem.Threading.Tasks;
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.Host
{
/// <summary>
/// A class that tracks file changes on disk and invokes user actions
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.