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