Skip to content

Commit d7124e6

Browse files
committed
#if
1 parent ba13ce0 commit d7124e6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

csharp/PhoneNumbers/PhoneNumbers.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<SignAssembly>true</SignAssembly>
3434
<AssemblyOriginatorKeyFile>../../key.snk</AssemblyOriginatorKeyFile>
3535
<PublicSign>true</PublicSign>
36+
<DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
3637
</PropertyGroup>
3738

3839
<ItemGroup>

csharp/PhoneNumbers/Util.cs

+3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
using System.Collections.Generic;
2020
using System.Runtime.CompilerServices;
2121

22+
#if !SIGNED
2223
[assembly: InternalsVisibleTo("PhoneNumbers.Test")]
24+
#else
2325
[assembly: InternalsVisibleTo("PhoneNumbers.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100bd3070027f51a9975cac34376755e3629985626c0ccbb41bb057f7d06dd6940dafb35ed0358fd96f24525cde3229cecc6fc9eb3bf582ecb6cf3a837f422d38fe2f5d2d7d0b75a5fe9120c77d3a0d25b9b60060cd715146920d675b6f639bcf9845bcf0f42070caca24be55143958dcc4eaa7e4e2941ecf2fab4ba479aaee8dc2")]
26+
#endif
2427

2528
namespace PhoneNumbers
2629
{

0 commit comments

Comments
 (0)