134 references to SymbolPublishVisibility
Microsoft.DotNet.Build.Tasks.Feed (112)
src\model\PublishingConstants.cs (98)
315symbolTargetType: SymbolPublishVisibility.Public, 325symbolTargetType: SymbolPublishVisibility.Public, 335symbolTargetType: SymbolPublishVisibility.Public, 345symbolTargetType: SymbolPublishVisibility.Internal, 355symbolTargetType: SymbolPublishVisibility.Internal, 365symbolTargetType: SymbolPublishVisibility.Public, 375symbolTargetType: SymbolPublishVisibility.Internal, 385symbolTargetType: SymbolPublishVisibility.Public, 395symbolTargetType: SymbolPublishVisibility.Internal, 405symbolTargetType: SymbolPublishVisibility.Public, 415symbolTargetType: SymbolPublishVisibility.Internal, 425symbolTargetType: SymbolPublishVisibility.Public, 435symbolTargetType: SymbolPublishVisibility.Internal, 445symbolTargetType: SymbolPublishVisibility.Internal, 455symbolTargetType: SymbolPublishVisibility.Public, 465symbolTargetType: SymbolPublishVisibility.Public, 475symbolTargetType: SymbolPublishVisibility.Public, 485symbolTargetType: SymbolPublishVisibility.Internal, 495symbolTargetType: SymbolPublishVisibility.Internal, 505symbolTargetType: SymbolPublishVisibility.Public, 515symbolTargetType: SymbolPublishVisibility.Internal, 525symbolTargetType: SymbolPublishVisibility.Public, 535symbolTargetType: SymbolPublishVisibility.Internal, 545symbolTargetType: SymbolPublishVisibility.Public, 555symbolTargetType: SymbolPublishVisibility.Internal, 565symbolTargetType: SymbolPublishVisibility.Public, 575symbolTargetType: SymbolPublishVisibility.Internal, 585symbolTargetType: SymbolPublishVisibility.Public, 595symbolTargetType: SymbolPublishVisibility.Public, 605symbolTargetType: SymbolPublishVisibility.Public, 615symbolTargetType: SymbolPublishVisibility.Public, 625symbolTargetType: SymbolPublishVisibility.Internal, 635symbolTargetType: SymbolPublishVisibility.Internal, 645symbolTargetType: SymbolPublishVisibility.Public, 655symbolTargetType: SymbolPublishVisibility.Internal, 665symbolTargetType: SymbolPublishVisibility.Public, 675symbolTargetType: SymbolPublishVisibility.Internal, 685symbolTargetType: SymbolPublishVisibility.Public, 695symbolTargetType: SymbolPublishVisibility.Internal, 705symbolTargetType: SymbolPublishVisibility.Public, 715symbolTargetType: SymbolPublishVisibility.Internal, 725symbolTargetType: SymbolPublishVisibility.Public, 735symbolTargetType: SymbolPublishVisibility.Public, 745symbolTargetType: SymbolPublishVisibility.Public, 755symbolTargetType: SymbolPublishVisibility.Internal, 765symbolTargetType: SymbolPublishVisibility.Internal, 775symbolTargetType: SymbolPublishVisibility.Public, 785symbolTargetType: SymbolPublishVisibility.Public, 795symbolTargetType: SymbolPublishVisibility.Internal, 805symbolTargetType: SymbolPublishVisibility.Public, 815symbolTargetType: SymbolPublishVisibility.Internal, 825symbolTargetType: SymbolPublishVisibility.Public, 835symbolTargetType: SymbolPublishVisibility.Internal, 845symbolTargetType: SymbolPublishVisibility.Public, 855symbolTargetType: SymbolPublishVisibility.Internal, 865symbolTargetType: SymbolPublishVisibility.Public, 875symbolTargetType: SymbolPublishVisibility.Internal, 885symbolTargetType: SymbolPublishVisibility.Public, 895symbolTargetType: SymbolPublishVisibility.Internal, 905symbolTargetType: SymbolPublishVisibility.Public, 915symbolTargetType: SymbolPublishVisibility.Public, 925symbolTargetType: SymbolPublishVisibility.Public, 935symbolTargetType: SymbolPublishVisibility.Public, 945symbolTargetType: SymbolPublishVisibility.Public, 956symbolTargetType: SymbolPublishVisibility.Public, 967symbolTargetType: SymbolPublishVisibility.Public, 978symbolTargetType: SymbolPublishVisibility.Public, 988symbolTargetType: SymbolPublishVisibility.Public, 998symbolTargetType: SymbolPublishVisibility.Public, 1009symbolTargetType: SymbolPublishVisibility.Public, 1020symbolTargetType: SymbolPublishVisibility.Internal, 1031symbolTargetType: SymbolPublishVisibility.Public, 1042symbolTargetType: SymbolPublishVisibility.Internal, 1053symbolTargetType: SymbolPublishVisibility.Internal, 1064symbolTargetType: SymbolPublishVisibility.Internal, 1075symbolTargetType: SymbolPublishVisibility.Internal, 1086symbolTargetType: SymbolPublishVisibility.Public), 1095symbolTargetType: SymbolPublishVisibility.Internal), 1104symbolTargetType: SymbolPublishVisibility.Public, 1115symbolTargetType: SymbolPublishVisibility.Public, 1126symbolTargetType: SymbolPublishVisibility.Public, 1137symbolTargetType: SymbolPublishVisibility.Public, 1148symbolTargetType: SymbolPublishVisibility.Public, 1159symbolTargetType: SymbolPublishVisibility.Public, 1170symbolTargetType: SymbolPublishVisibility.Public, 1181symbolTargetType: SymbolPublishVisibility.Public, 1192symbolTargetType: SymbolPublishVisibility.Public, 1203symbolTargetType: SymbolPublishVisibility.Public, 1214symbolTargetType: SymbolPublishVisibility.Public, 1225symbolTargetType: SymbolPublishVisibility.Public, 1236symbolTargetType: SymbolPublishVisibility.Public, 1246symbolTargetType: SymbolPublishVisibility.Public, 1256symbolTargetType: SymbolPublishVisibility.Public, 1266symbolTargetType: SymbolPublishVisibility.Public, 1276symbolTargetType: SymbolPublishVisibility.Public, 1286symbolTargetType: SymbolPublishVisibility.Public, 1296symbolTargetType: SymbolPublishVisibility.Public, 1306symbolTargetType: SymbolPublishVisibility.Public,
src\model\SetupTargetFeedConfigV3.cs (2)
25private SymbolPublishVisibility SymbolServerVisibility { get; } 47SymbolPublishVisibility symbolPublishVisibility,
src\model\TargetChannelConfig.cs (2)
41public SymbolPublishVisibility SymbolTargetType { get; } 55SymbolPublishVisibility symbolTargetType,
src\model\TargetFeedConfig.cs (3)
59public SymbolPublishVisibility SymbolPublishVisibility { get; } 74SymbolPublishVisibility symbolPublishVisibility = SymbolPublishVisibility.None,
src\PublishArtifactsInManifestBase.cs (7)
548SymbolPublishVisibility publishVisibility = GetSymbolPublishingVisibility(feedConfigsForSymbols); 550if (publishVisibility == SymbolPublishVisibility.None) 654SymbolPublishVisibility.Internal => SymbolPromotionHelper.Visibility.Internal, 655SymbolPublishVisibility.Public => SymbolPromotionHelper.Visibility.Public, 758public SymbolPublishVisibility GetSymbolPublishingVisibility(HashSet<TargetFeedConfig> feedConfigsForSymbols) 760SymbolPublishVisibility highestVisibility = SymbolPublishVisibility.None;
Microsoft.DotNet.Build.Tasks.Feed.Tests (22)
PublishToSymbolServerTest.cs (20)
43[InlineData(SymbolPublishVisibility.Public)] 44[InlineData(SymbolPublishVisibility.Internal)] 45public void PublishToSymbolServersTest(SymbolPublishVisibility symbolTargetVisibility) 62SymbolPublishVisibility visibility = publishTask.GetSymbolPublishingVisibility(feedConfigsForSymbols); 69Assert.True(SymbolPublishVisibility.Public > SymbolPublishVisibility.Internal); 70Assert.True(SymbolPublishVisibility.Internal > SymbolPublishVisibility.None); 76[InlineData(SymbolPublishVisibility.None)] 77[InlineData(SymbolPublishVisibility.Internal)] 78[InlineData(SymbolPublishVisibility.Public)] 79public void PublishToMultipleServersVisibilityTest(SymbolPublishVisibility maxVisibility) 83IEnumerable<SymbolPublishVisibility> visibilities = Enum.GetValues<SymbolPublishVisibility>().Where(x => x <= maxVisibility); 84foreach (SymbolPublishVisibility v in visibilities) 99SymbolPublishVisibility visibility = publishTask.GetSymbolPublishingVisibility(feedConfigsForSymbols); 128(var buildEngine, var task, var symbolPackages, _, _, var buildInfo) = GetCanonicalSymbolTestAssets(SymbolPublishVisibility.None); 147(var buildEngine, var task, var symbolPackages, var symbolFilesDir, var exclusionFile, var buildInfo) = GetCanonicalSymbolTestAssets(SymbolPublishVisibility.Public); 187private static (MockBuildEngine, PublishArtifactsInManifestV3, ReadOnlyDictionary<string, Asset>, string, string, Maestro.Client.Models.Build) GetCanonicalSymbolTestAssets(SymbolPublishVisibility targetServer = SymbolPublishVisibility.Public)
SetupTargetFeedConfigV3Tests.cs (2)
74private const SymbolPublishVisibility symbolVisibility = SymbolPublishVisibility.Internal;