61 references to TypeReference
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
533if (attributeMemberParent.Kind == HandleKind.TypeReference)
ILCompiler.ReadyToRun (5)
Compiler\DependencyAnalysis\ReadyToRun\AttributePresenceFilterNode.cs (2)
232if (customAttributeConstructorReferenceParentHandle.Kind == HandleKind.TypeReference) 252Debug.Assert(firstTypeHandle.Kind == HandleKind.TypeReference);
Compiler\ReadyToRunStandaloneMethodMetadata.cs (1)
129if (handle.Kind == HandleKind.TypeDefinition || handle.Kind == HandleKind.TypeReference)
JitInterface\CorInfoImpl.ReadyToRun.cs (2)
73case HandleKind.TypeReference: 195case HandleKind.TypeReference:
ILCompiler.TypeSystem (3)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs (1)
118case HandleKind.TypeReference:
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (2)
181if (attributeType.Kind == HandleKind.TypeReference) 187if (handleType == HandleKind.TypeReference || handleType == HandleKind.TypeDefinition)
Microsoft.Build.Tasks.Core (2)
AssemblyDependency\AssemblyInformation.cs (1)
470if (container.Kind != HandleKind.TypeReference)
ManifestUtil\MetadataReader.cs (1)
98if (mHandle.Kind != HandleKind.TypeReference)
Microsoft.CodeAnalysis (12)
MetadataReader\MetadataDecoder.cs (8)
158case HandleKind.TypeReference: 449case HandleKind.TypeReference: 553if (tokenType == HandleKind.TypeReference) 787case HandleKind.TypeReference: 929case HandleKind.TypeReference: 2180case HandleKind.TypeReference: 2262containerType == HandleKind.TypeReference || 2266containerType != HandleKind.TypeReference &&
MetadataReader\PEModule.cs (4)
3008else if (tokenType == HandleKind.TypeReference) 3012if (typeRef.ResolutionScope.Kind == HandleKind.TypeReference) 3158if (typeDefOrRef.Kind == HandleKind.TypeReference) 3163if (handleType == HandleKind.TypeReference || handleType == HandleKind.TypeDefinition)
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
1304if (baseTypeHandle.Kind == HandleKind.TypeReference) 1313while (typeRef.ResolutionScope.Kind == HandleKind.TypeReference)
Microsoft.CodeAnalysis.Workspaces (2)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (2)
773else if (typeDefOrRefHandle.Kind == HandleKind.TypeReference) 868case HandleKind.TypeReference:
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\Signature\RuntimeSignatureDecoder.cs (1)
290case HandleKind.TypeReference:
Microsoft.Diagnostics.DataContractReader.Legacy (3)
ClrDataFrame.cs (1)
642if (baseType.Kind == HandleKind.TypeReference)
MetaDataImportImpl.cs (1)
1043if (parent.Kind == HandleKind.TypeReference)
SigFormat.cs (1)
140case HandleKind.TypeReference:
Microsoft.NET.Build.Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
560if (attributeMemberParent.Kind == HandleKind.TypeReference)
Microsoft.NET.HostModel (1)
ComHost\ClsidMap.cs (1)
82if (baseTypeEntity.Kind == HandleKind.TypeReference)
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
261if (container.Kind == HandleKind.TypeReference)
System.Reflection.Metadata (21)
System\Reflection\Metadata\Ecma335\CodedIndex.cs (6)
204case HandleKind.TypeReference: return HasCustomAttributeTag.TypeRef; 400case HandleKind.TypeReference: return MemberRefParentTag.TypeRef; 449case HandleKind.TypeReference: return ResolutionScopeTag.TypeRef; 471case HandleKind.TypeReference: return TypeDefOrRefOrSpecTag.TypeRef; 493case HandleKind.TypeReference: return TypeDefOrRefTag.TypeRef; 561case HandleKind.TypeReference: return HasCustomDebugInformationTag.TypeRef;
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (1)
418HandleKind.TypeReference => _provider.GetTypeFromReference(_reader, (TypeReferenceHandle)handle, 0),
System\Reflection\Metadata\Ecma335\Encoding\ExceptionRegionEncoder.cs (1)
77catchType.Kind == HandleKind.TypeReference);
System\Reflection\Metadata\Ecma335\MetadataReaderExtensions.cs (1)
410case HandleKind.TypeReference:
System\Reflection\Metadata\Ecma335\SignatureDecoder.cs (1)
308case HandleKind.TypeReference:
System\Reflection\Metadata\MetadataReader.WinMD.cs (10)
241if (extends.Kind == HandleKind.TypeReference && IsSystemAttribute((TypeReferenceHandle)extends)) 366if (extends.Kind != HandleKind.TypeReference) 420if (parentBaseType.Kind == HandleKind.TypeReference) 551if (baseTypeHandle.Kind == HandleKind.TypeReference) 612if (parent.Kind == HandleKind.TypeReference) 629if (token.Kind != HandleKind.TypeReference) 717if (attributeType.Kind != HandleKind.TypeReference) 753if (typeDefOrRef.Kind == HandleKind.TypeReference) 758if (!resolutionScope.IsNil && resolutionScope.Kind == HandleKind.TypeReference) 811if (handleType == HandleKind.TypeReference || handleType == HandleKind.TypeDefinition)
System\Reflection\Metadata\PortablePdb\ImportDefinition.cs (1)
28typeOrNamespace.Kind == HandleKind.TypeReference ||
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (2)
69case HandleKind.TypeReference: 72return tr.ResolutionScope.Kind != HandleKind.TypeReference && tr.Name.Equals(name, reader) && tr.Namespace.Equals(ns, reader);
System\Reflection\TypeLoading\General\Ecma\EcmaResolver.cs (2)
22HandleKind.TypeReference => ((TypeReferenceHandle)handle).ResolveTypeRef(module), 85case HandleKind.TypeReference:
System\Reflection\TypeLoading\General\Ecma\EcmaToStringHelpers.cs (2)
30case HandleKind.TypeReference: 60if (tr.ResolutionScope.Kind == HandleKind.TypeDefinition || tr.ResolutionScope.Kind == HandleKind.TypeReference)