22 references to HasPublicKey
Microsoft.CodeAnalysis (4)
MetadataReference\AssemblyIdentity.cs (3)
290
(
HasPublicKey
? AssemblyNameFlags.PublicKey : AssemblyNameFlags.None);
343
Debug.Assert(
HasPublicKey
|| !_lazyPublicKeyToken.IsDefault);
345
return
HasPublicKey
|| _lazyPublicKeyToken.Length > 0;
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
101
if (fullKey &&
HasPublicKey
)
Microsoft.CodeAnalysis.CSharp (3)
Symbols\Source\SourceAssemblySymbol.cs (3)
596
if (IsDelaySigned && !Identity.
HasPublicKey
)
607
else if (!Identity.
HasPublicKey
)
620
Identity.
HasPublicKey
&&
Microsoft.CodeAnalysis.UnitTests (10)
MetadataReferences\AssemblyIdentityTests.cs (10)
102
Assert.False(id.
HasPublicKey
);
112
Assert.True(id.
HasPublicKey
);
148
Assert.False(id.
HasPublicKey
);
159
Assert.True(id.
HasPublicKey
);
170
Assert.False(id.
HasPublicKey
);
181
Assert.True(id.
HasPublicKey
);
192
Assert.True(id.
HasPublicKey
);
263
Assert.True(id.
HasPublicKey
);
274
Assert.False(id.
HasPublicKey
);
286
Assert.False(id.
HasPublicKey
);
Microsoft.CodeAnalysis.VisualBasic (3)
Symbols\Source\SourceAssemblySymbol.vb (3)
1247
If IsDelaySigned AndAlso Not Identity.
HasPublicKey
Then
1254
ElseIf Not Identity.
HasPublicKey
Then
1266
Identity.
HasPublicKey
AndAlso
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\InternalsVisibleToAndStrongNameTests.vb (2)
392
Assert.True(identity.
HasPublicKey
)
425
Assert.True(identity.
HasPublicKey
)