34 references to ContentType
Microsoft.CodeAnalysis (20)
Desktop\DesktopAssemblyIdentityComparer.cs (4)
86if (reference.ContentType == AssemblyContentType.Default && 162if (identity.ContentType != AssemblyContentType.Default) 204|| identity.ContentType != AssemblyContentType.Default 247if (identity.IsRetargetable || !identity.IsStrongName || identity.ContentType != AssemblyContentType.Default)
MetadataReference\AssemblyIdentity.cs (3)
62_contentType = other.ContentType; 479x.ContentType == y.ContentType &&
MetadataReference\AssemblyIdentityComparer.cs (6)
107reference.ContentType != definition.ContentType) 113Debug.Assert(reference.ContentType == definition.ContentType); 208if (x.ContentType != y.ContentType)
MetadataReference\AssemblyIdentityExtensions.cs (2)
17return (identity.ContentType == AssemblyContentType.WindowsRuntime) && 26return (identity.ContentType == AssemblyContentType.WindowsRuntime) &&
PEWriter\MetadataWriter.cs (3)
1966flags: (AssemblyFlags)((int)identity.ContentType << 9) | (identity.IsRetargetable ? AssemblyFlags.Retargetable : 0), 3730if (identity.ContentType == AssemblyContentType.WindowsRuntime) 3736Debug.Assert(identity.ContentType == AssemblyContentType.Default);
ReferenceManager\CommonReferenceManager.Resolution.cs (2)
1020if (reference.ContentType == AssemblyContentType.WindowsRuntime) 1032if (definition.ContentType == AssemblyContentType.Default &&
Microsoft.CodeAnalysis.CSharp (1)
Emitter\Model\PEModuleBuilder.cs (1)
171asmRef.Identity.ContentType != AssemblyContentType.WindowsRuntime)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
MetadataUtilities.cs (1)
453assemblyIdentity.ContentType == System.Reflection.AssemblyContentType.WindowsRuntime;
Microsoft.CodeAnalysis.UnitTests (11)
MetadataReferences\AssemblyIdentityExtensions.cs (1)
28result.ContentType = identity.ContentType;
MetadataReferences\AssemblyIdentityTests.cs (10)
101Assert.Equal(AssemblyContentType.Default, id.ContentType); 121Assert.Equal(AssemblyContentType.WindowsRuntime, id.ContentType); 152Assert.Equal(AssemblyContentType.Default, id.ContentType); 163Assert.Equal(AssemblyContentType.Default, id.ContentType); 174Assert.Equal(AssemblyContentType.Default, id.ContentType); 185Assert.Equal(AssemblyContentType.Default, id.ContentType); 196Assert.Equal(AssemblyContentType.WindowsRuntime, id.ContentType); 267Assert.Equal(AssemblyContentType.Default, id.ContentType); 277Assert.Equal(AssemblyContentType.Default, id.ContentType); 288Assert.Equal(AssemblyContentType.WindowsRuntime, id.ContentType);
Microsoft.CodeAnalysis.VisualBasic (1)
Emit\PEModuleBuilder.vb (1)
144asmRef.Identity.ContentType <> Reflection.AssemblyContentType.WindowsRuntime Then