11 references to AddImportsOnPaste
Microsoft.CodeAnalysis.EditorFeatures (1)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
63if (language is null || !_globalOptions.GetOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, language))
Microsoft.VisualStudio.LanguageServices.CSharp (3)
Options\AdvancedOptionPageControl.xaml.cs (1)
100BindToOption(AddUsingsOnPaste, AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.CSharp);
Options\AutomationObject\AutomationObject.OnOff.cs (2)
125get { return GetBooleanOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste); } 126set { SetBooleanOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, value); }
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (4)
CSharp\CSharpAddMissingUsingsOnPaste.cs (3)
54globalOptions.SetGlobalOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.CSharp, false); 102globalOptions.SetGlobalOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.CSharp, true); 149globalOptions.SetGlobalOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.CSharp, true);
InProcess\StateResetInProcess.cs (1)
71ResetPerLanguageOption(globalOptions, AddImportOnPasteOptionsStorage.AddImportsOnPaste);
Microsoft.VisualStudio.LanguageServices.VisualBasic (3)
Options\AdvancedOptionPageControl.xaml.vb (1)
93BindToOption(AddMissingImportsOnPaste, AddImportOnPasteOptionsStorage.AddImportsOnPaste, LanguageNames.VisualBasic)
Options\AutomationObject\AutomationObject.OnOff.vb (2)
156Return GetBooleanOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste) 159SetBooleanOption(AddImportOnPasteOptionsStorage.AddImportsOnPaste, value)