28 references to IsRetargetable
Microsoft.CodeAnalysis (19)
Desktop\DesktopAssemblyIdentityComparer.cs (10)
95
if (!reference.
IsRetargetable
&& definition.
IsRetargetable
)
112
if (reference.
IsRetargetable
&& !definition.
IsRetargetable
)
140
if (reference.
IsRetargetable
&& definition.
IsRetargetable
)
189
if (!identity.
IsRetargetable
)
238
isRetargetable: identity.
IsRetargetable
,
247
if (identity.
IsRetargetable
|| !identity.IsStrongName || identity.ContentType != AssemblyContentType.Default)
300
isRetargetable: identity.
IsRetargetable
,
MetadataReference\AssemblyIdentity.cs (2)
478
x.
IsRetargetable
== y.
IsRetargetable
&&
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
119
if (
IsRetargetable
)
MetadataReference\AssemblyIdentityComparer.cs (2)
214
if (x.
IsRetargetable
|| y.
IsRetargetable
)
PEWriter\MetadataWriter.cs (2)
1966
flags: (AssemblyFlags)((int)identity.ContentType << 9) | (identity.
IsRetargetable
? AssemblyFlags.Retargetable : 0),
3725
if (identity.
IsRetargetable
)
ReferenceManager\CommonReferenceManager.Resolution.cs (2)
1035
reference.
IsRetargetable
== definition.
IsRetargetable
&&
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\AssemblyAndNamespaceTests.cs (1)
688
Assert.True(comp.Assembly.Identity.
IsRetargetable
);
Microsoft.CodeAnalysis.UnitTests (8)
MetadataReferences\AssemblyIdentityTests.cs (8)
99
Assert.True(id.
IsRetargetable
);
149
Assert.False(id.
IsRetargetable
);
160
Assert.False(id.
IsRetargetable
);
171
Assert.True(id.
IsRetargetable
);
182
Assert.True(id.
IsRetargetable
);
193
Assert.False(id.
IsRetargetable
);
264
Assert.True(id.
IsRetargetable
);
287
Assert.False(id.
IsRetargetable
);