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