1 write to TargetTypeOpt
Microsoft.CodeAnalysis (1)
PEWriter\UsedNamespaceOrType.cs (1)
32
TargetTypeOpt
= targetType;
14 references to TargetTypeOpt
Microsoft.CodeAnalysis (14)
NativePdbWriter\PdbWriter.cs (6)
173
if (import.TargetNamespaceOpt == null && import.
TargetTypeOpt
== null)
253
if (import.
TargetTypeOpt
!= null)
259
if (import.
TargetTypeOpt
.IsTypeSpecification())
264
string typeName = GetOrCreateSerializedTypeName(import.
TargetTypeOpt
);
298
if (import.
TargetTypeOpt
!= null)
303
string typeName = GetOrCreateSerializedTypeName(import.
TargetTypeOpt
);
PEWriter\MetadataWriter.PortablePdb.cs (3)
338
Debug.Assert(import.
TargetTypeOpt
== null);
345
else if (import.
TargetTypeOpt
!= null)
362
writer.WriteCompressedInteger(CodedIndex.TypeDefOrRefOrSpec(GetTypeHandle(import.
TargetTypeOpt
))); // TODO: index in release build
PEWriter\ReferenceIndexer.cs (2)
144
if (import.
TargetTypeOpt
!= null)
147
Visit(import.
TargetTypeOpt
);
PEWriter\UsedNamespaceOrType.cs (3)
71
&& Equals(
TargetTypeOpt
, other.
TargetTypeOpt
)
80
Hash.Combine(GetHashCode(
TargetTypeOpt
),