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