15 references to Always
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (5)
ExtractInterface\ExtractInterfaceTests.cs (1)
1053{ CodeStyleOptions2.AccessibilityModifiersRequired, AccessibilityModifiersRequired.Always, NotificationOption2.Silent }
Formatting\CSharpNewDocumentFormattingServiceTests.cs (3)
171{ CodeStyleOptions2.AccessibilityModifiersRequired, new CodeStyleOption2<AccessibilityModifiersRequired>(AccessibilityModifiersRequired.Always, NotificationOption2.Error) } 195{ CodeStyleOptions2.AccessibilityModifiersRequired, new CodeStyleOption2<AccessibilityModifiersRequired>(AccessibilityModifiersRequired.Always, NotificationOption2.Error) } 237{ CodeStyleOptions2.AccessibilityModifiersRequired, new CodeStyleOption2<AccessibilityModifiersRequired>(AccessibilityModifiersRequired.Always, NotificationOption2.Error) }
InitializeParameter\InitializeMemberFromParameterTests.cs (1)
1580private TestParameters Always_Warning => new TestParameters(options: Option(CodeStyleOptions2.AccessibilityModifiersRequired, AccessibilityModifiersRequired.Always, NotificationOption2.Warning));
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertProgram\ConvertProgramTransform_ProgramMain.cs (1)
82var useDeclaredAccessibity = accessibilityModifiersRequired is AccessibilityModifiersRequired.ForNonInterfaceMembers or AccessibilityModifiersRequired.Always;
Microsoft.CodeAnalysis.Features (1)
Snippets\SnippetProviders\AbstractTypeSnippetProvider.cs (1)
45return accessibilityModifiersRequired is AccessibilityModifiersRequired.ForNonInterfaceMembers or AccessibilityModifiersRequired.Always;
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
InitializeParameter\InitializeMemberFromParameterTests.vb (1)
1012Return New TestParameters(options:=[Option](CodeStyleOptions2.AccessibilityModifiersRequired, AccessibilityModifiersRequired.Always, NotificationOption2.Warning))
Microsoft.CodeAnalysis.Workspaces (1)
CodeStyleOptions2.cs (1)
193KeyValuePairUtil.Create("always", CodeStyle.AccessibilityModifiersRequired.Always),
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
CodeStyle\EditorConfigCodeStyleParserTests.cs (2)
56[InlineData("always:suggestion", AccessibilityModifiersRequired.Always, ReportDiagnostic.Info)] 60[InlineData("always : suggestion", AccessibilityModifiersRequired.Always, ReportDiagnostic.Info)]
Remote\ServiceDescriptorTests.cs (3)
251AccessibilityModifiersRequired = AccessibilityModifiersRequired.Always, 268AccessibilityModifiersRequired = AccessibilityModifiersRequired.Always, 280AccessibilityModifiersRequired = AccessibilityModifiersRequired.Always
Microsoft.VisualStudio.LanguageServices (1)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (1)
89enumValues: new[] { AccessibilityModifiersRequired.Always, AccessibilityModifiersRequired.ForNonInterfaceMembers, AccessibilityModifiersRequired.Never, AccessibilityModifiersRequired.OmitIfDefault },