6 implementations of DeclaredAccessibility
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
466 references to DeclaredAccessibility
ConfigurationSchemaGenerator (5)
ILLink.CodeFixProvider (2)
ILLink.RoslynAnalyzer (25)
Microsoft.Analyzers.Extra (2)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore.Analyzers (2)
Microsoft.AspNetCore.App.Analyzers (6)
Microsoft.AspNetCore.App.SourceGenerators (1)
Microsoft.AspNetCore.Components.Analyzers (2)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (9)
Microsoft.AspNetCore.Mvc.Analyzers (4)
Microsoft.AspNetCore.Mvc.Api.Analyzers (4)
Microsoft.AspNetCore.SignalR.Client.SourceGenerator (4)
Microsoft.CodeAnalysis (2)
Microsoft.CodeAnalysis.CodeStyle (25)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
165return IsMemberAccessible(symbol.ContainingType, symbol.DeclaredAccessibility, within, throughType, out failedThroughTypeCheck);
203? IsNonNestedTypeAccessible(type.ContainingAssembly, type.DeclaredAccessibility, within)
204: IsMemberAccessible(type.ContainingType, type.DeclaredAccessibility, within, null, out _);
Microsoft.CodeAnalysis.CodeStyle.Fixes (31)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.CSharp.CodeStyle (12)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (24)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (29)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Workspaces (17)
Microsoft.CodeAnalysis.Features (53)
Microsoft.CodeAnalysis.VisualBasic (3)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (8)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (11)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Microsoft.CodeAnalysis.VisualBasic.Features (7)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (15)
Microsoft.CodeAnalysis.Workspaces (51)
Editing\SyntaxGenerator.cs (15)
147field.DeclaredAccessibility,
196accessibility: method.DeclaredAccessibility,
288accessibility: method.DeclaredAccessibility,
368var propertyAccessibility = property.DeclaredAccessibility;
377var getMethodAccessibility = getMethodSymbol.DeclaredAccessibility;
383var setMethodAccessibility = setMethodSymbol.DeclaredAccessibility;
454indexer.DeclaredAccessibility,
495symbol.DeclaredAccessibility,
533symbol.DeclaredAccessibility,
562constructorMethod.DeclaredAccessibility,
764accessibility: type.DeclaredAccessibility,
773accessibility: type.DeclaredAccessibility,
780accessibility: type.DeclaredAccessibility,
788accessibility: type.DeclaredAccessibility,
796accessibility: type.DeclaredAccessibility,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions_Accessibility.cs (3)
165return IsMemberAccessible(symbol.ContainingType, symbol.DeclaredAccessibility, within, throughType, out failedThroughTypeCheck);
203? IsNonNestedTypeAccessible(type.ContainingAssembly, type.DeclaredAccessibility, within)
204: IsMemberAccessible(type.ContainingType, type.DeclaredAccessibility, within, null, out _);
Microsoft.Extensions.Logging.Generators (2)
Microsoft.Extensions.Options.SourceGeneration (3)
Microsoft.Gen.ContextualOptions (1)
Microsoft.Gen.Logging (13)
Microsoft.Gen.Metrics (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Interop.LibraryImportGenerator (1)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (6)
Microsoft.ML.InternalCodeAnalyzer (2)
Microsoft.VisualStudio.LanguageServices (12)
Microsoft.VisualStudio.LanguageServices.CSharp (7)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Microsoft.VisualStudio.LanguageServices.VisualBasic (8)
System.Text.Json.SourceGeneration (7)
System.Text.RegularExpressions.Generator (1)
System.Windows.Forms.Analyzers.CSharp (1)
System.Windows.Forms.Analyzers.VisualBasic (1)