11 references to Visibility
Microsoft.DotNet.Build.Tasks.Feed (3)
src\PublishArtifactsInManifestBase.cs (3)
652SymbolPromotionHelper.Visibility visibility = publishVisibility switch 654SymbolPublishVisibility.Internal => SymbolPromotionHelper.Visibility.Internal, 655SymbolPublishVisibility.Public => SymbolPromotionHelper.Visibility.Public,
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
PublishToSymbolServerTest.cs (2)
72Assert.True(Visibility.Public > Visibility.Internal);
Microsoft.DotNet.Internal.SymbolHelper (6)
SymbolPromotionHelper.cs (6)
79string symbolRequestProject, string requestName, uint symbolExpirationInDays, Visibility visibility, CancellationToken ct = default) 125["publishToInternalServer"] = (visibility >= Visibility.Internal), 126["publishToPublicServer"] = (visibility >= Visibility.Public) 176static bool RegistrationIsRequestedInTargetServers(SymbolRequestStatus registration, Visibility visibility) => 177((visibility >= Visibility.Public) == registration.PublishToPublicServer) 178&& ((visibility >= Visibility.Internal) == registration.PublishToInternalServer);