133 references to SymbolPublishVisibility
Microsoft.DotNet.Build.Tasks.Feed (111)
src\model\PublishingConstants.cs (97)
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, 946symbolTargetType: SymbolPublishVisibility.Public, 957symbolTargetType: SymbolPublishVisibility.Public, 968symbolTargetType: SymbolPublishVisibility.Public, 978symbolTargetType: SymbolPublishVisibility.Public, 988symbolTargetType: SymbolPublishVisibility.Public, 999symbolTargetType: SymbolPublishVisibility.Public, 1010symbolTargetType: SymbolPublishVisibility.Internal, 1021symbolTargetType: SymbolPublishVisibility.Public, 1032symbolTargetType: SymbolPublishVisibility.Internal, 1043symbolTargetType: SymbolPublishVisibility.Internal, 1054symbolTargetType: SymbolPublishVisibility.Internal, 1065symbolTargetType: SymbolPublishVisibility.Internal, 1076symbolTargetType: SymbolPublishVisibility.Public), 1085symbolTargetType: SymbolPublishVisibility.Internal), 1094symbolTargetType: SymbolPublishVisibility.Public, 1105symbolTargetType: SymbolPublishVisibility.Public, 1116symbolTargetType: SymbolPublishVisibility.Public, 1127symbolTargetType: SymbolPublishVisibility.Public, 1138symbolTargetType: SymbolPublishVisibility.Public, 1149symbolTargetType: SymbolPublishVisibility.Public, 1160symbolTargetType: SymbolPublishVisibility.Public, 1171symbolTargetType: SymbolPublishVisibility.Public, 1182symbolTargetType: SymbolPublishVisibility.Public, 1193symbolTargetType: SymbolPublishVisibility.Public, 1204symbolTargetType: SymbolPublishVisibility.Public, 1215symbolTargetType: SymbolPublishVisibility.Public, 1226symbolTargetType: SymbolPublishVisibility.Public, 1236symbolTargetType: SymbolPublishVisibility.Public, 1246symbolTargetType: SymbolPublishVisibility.Public, 1256symbolTargetType: SymbolPublishVisibility.Public, 1266symbolTargetType: SymbolPublishVisibility.Public, 1276symbolTargetType: SymbolPublishVisibility.Public, 1286symbolTargetType: SymbolPublishVisibility.Public, 1296symbolTargetType: 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;