9 overrides of TypeHandle
System.Private.CoreLib (6)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
343
public override RuntimeTypeHandle
TypeHandle
=> throw new NotSupportedException(SR.NotSupported_NonReflectedType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilderInstantiation.cs (1)
105
public override RuntimeTypeHandle
TypeHandle
=> throw new NotSupportedException();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\ModifiedType.cs (1)
92
public override RuntimeTypeHandle
TypeHandle
=> throw new NotSupportedException(SR.NotSupported_ModifiedType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\SignatureType.cs (1)
209
public sealed override RuntimeTypeHandle
TypeHandle
=> throw new NotSupportedException(SR.NotSupported_SignatureType);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
53
public override RuntimeTypeHandle
TypeHandle
=> typeImpl.TypeHandle;
System\RuntimeType.NativeAot.cs (1)
218
public override RuntimeTypeHandle
TypeHandle
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
150
public override RuntimeTypeHandle
TypeHandle
System.Reflection.Emit (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\SymbolType.cs (1)
343
public override RuntimeTypeHandle
TypeHandle
=> throw new NotSupportedException(SR.NotSupported_NonReflectedType);
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Types\RoType.cs (1)
388
public sealed override RuntimeTypeHandle
TypeHandle
=> throw new InvalidOperationException(SR.Arg_InvalidOperation_Reflection);
291 references to TypeHandle
dotnet-svcutil-lib (27)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (5)
111
return GetDataContract(type.
TypeHandle
, type);
617
int id = DataContract.GetId(classContract.TypeForInitialization.
TypeHandle
);
801
if (Globals.TypeOfDateTimeOffset.
TypeHandle
.Equals(typeHandle))
803
return Globals.TypeOfDateTimeOffsetAdapter.
TypeHandle
;
1091
s_typeHandleRef.Value = GetDataContractAdapterTypeHandle(type.
TypeHandle
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSerializer.cs (3)
338
context.SerializeWithoutXsiType(contract, writer, graph, declaredType.
TypeHandle
);
360
context.SerializeWithXsiTypeAtTopLevel(contract, writer, graph, declaredType.
TypeHandle
, graphType);
377
return DataContract.GetDataContract(objectType.
TypeHandle
, objectType, SerializationMode.SharedContract);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContractSet.cs (2)
269
return DataContract.GetGetOnlyCollectionDataContract(DataContract.GetId(dataMemberType.
TypeHandle
), dataMemberType.
TypeHandle
, dataMemberType, SerializationMode.SharedContract);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataMember.cs (2)
277
_memberTypeContract = DataContract.GetGetOnlyCollectionDataContract(DataContract.GetId(MemberType.
TypeHandle
), MemberType.
TypeHandle
, MemberType, SerializationMode.SharedContract);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
380
context.SerializeWithoutXsiType(propDataContract, writer, prop.GetValue(value), prop.PropertyType.
TypeHandle
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
474
_ilg.Load(DataContract.GetId(declaredType.
TypeHandle
));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
628
_ilg.Load(DataContract.GetId(memberType.
TypeHandle
));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
127
return GetDataContract(type.
TypeHandle
, type);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (2)
105
dataContract = (declaredTypeID < 0) ? GetDataContract(declaredType) : GetDataContract(declaredTypeID, declaredType.
TypeHandle
);
115
dataContract = (declaredTypeID < 0) ? GetDataContract(declaredType) : GetDataContract(declaredTypeID, declaredType.
TypeHandle
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (5)
118
SerializeWithXsiType(xmlWriter, obj, obj.GetType().
TypeHandle
, null/*type*/, -1, declaredType.
TypeHandle
, declaredType);
127
RuntimeTypeHandle objTypeHandle = obj.GetType().
TypeHandle
;
501
return obj.GetType().
TypeHandle
.Equals(memberType.
TypeHandle
);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (4)
253
RuntimeTypeHandle objTypeHandle = isDeclaredType ? declaredTypeHandle : obj.GetType().
TypeHandle
;
259
declaredTypeHandle = declaredType.
TypeHandle
;
262
objTypeHandle = objType.
TypeHandle
;
269
SerializeWithXsiType(xmlWriter, obj, objTypeHandle, objType, -1, declaredType.
TypeHandle
, declaredType);
ILCompiler.Compiler (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
22
/// <see cref="System.Type.
TypeHandle
"/>
ILCompiler.Diagnostics (1)
_generated\1\Microsoft.DiaSymReader.ISymNGenWriter2.cs (1)
34
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymNGenWriter).
TypeHandle
).ManagedVirtualMethodTable,
illink (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
22
/// <see cref="System.Type.
TypeHandle
"/>
ILLink.RoslynAnalyzer (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\IntrinsicId.cs (1)
22
/// <see cref="System.Type.
TypeHandle
"/>
Microsoft.Diagnostics.DataContractReader.Legacy (68)
_generated\0\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAppDomain.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataAppDomain).
TypeHandle
);
_generated\1\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataExceptionState.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionState).
TypeHandle
);
_generated\10\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataValue.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataValue).
TypeHandle
);
_generated\11\Microsoft.Diagnostics.DataContractReader.Legacy.DacDbiImpl.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IDacDbiInterface).
TypeHandle
);
_generated\12\Microsoft.Diagnostics.DataContractReader.Legacy.MetaDataImportImpl.cs (3)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataImport2).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataImport).
TypeHandle
);
20
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataAssemblyImport).
TypeHandle
);
_generated\13\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.cs (21)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface2).
TypeHandle
);
20
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface3).
TypeHandle
);
23
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface4).
TypeHandle
);
26
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface5).
TypeHandle
);
29
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface6).
TypeHandle
);
32
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface7).
TypeHandle
);
35
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface8).
TypeHandle
);
38
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface9).
TypeHandle
);
41
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface10).
TypeHandle
);
44
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface11).
TypeHandle
);
47
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface12).
TypeHandle
);
50
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface13).
TypeHandle
);
53
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface14).
TypeHandle
);
56
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15).
TypeHandle
);
59
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface16).
TypeHandle
);
62
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface17).
TypeHandle
);
65
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataEnumMemoryRegions).
TypeHandle
);
68
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess3).
TypeHandle
);
71
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2).
TypeHandle
);
74
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess).
TypeHandle
);
_generated\14\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSHandleEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\15\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSMemoryEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMemoryEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\16\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSStackRefEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\17\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSMethodEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\18\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSStressLogThreadEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStressLogThreadEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\19\Microsoft.Diagnostics.DataContractReader.Legacy.SOSDacImpl.SOSStressLogMsgEnum.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStressLogMsgEnum).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
);
_generated\2\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataFrame.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataFrame).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataFrame2).
TypeHandle
);
_generated\21\Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugMutableDataTarget.cs (1)
33
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICorDebugDataTarget).
TypeHandle
).ManagedVirtualMethodTable,
_generated\25\Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2.cs (1)
40
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget).
TypeHandle
).ManagedVirtualMethodTable,
_generated\26\Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget3.cs (1)
43
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\3\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataMethodDefinition.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodDefinition).
TypeHandle
);
_generated\30\Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataImport2.cs (1)
97
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IMetaDataImport).
TypeHandle
).ManagedVirtualMethodTable,
_generated\33\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSHandleEnum.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\34\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefErrorEnum.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\35\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStackRefEnum.cs (1)
32
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\36\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMemoryEnum.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\4\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataMethodInstance.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataMethodInstance).
TypeHandle
);
_generated\5\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataModule.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataModule2).
TypeHandle
);
_generated\51\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\54\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStressLogThreadEnum.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\55\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSStressLogMsgEnum.cs (1)
32
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSEnum).
TypeHandle
).ManagedVirtualMethodTable,
_generated\6\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataStackWalk.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataStackWalk).
TypeHandle
);
_generated\61\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2.cs (1)
75
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess).
TypeHandle
).ManagedVirtualMethodTable,
_generated\62\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess3.cs (1)
76
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataProcess2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\7\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataTask.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTask).
TypeHandle
);
_generated\76\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2.cs (1)
38
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification).
TypeHandle
).ManagedVirtualMethodTable,
_generated\77\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3.cs (1)
39
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\78\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification4.cs (1)
40
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification3).
TypeHandle
).ManagedVirtualMethodTable,
_generated\79\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification5.cs (1)
41
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataExceptionNotification4).
TypeHandle
).ManagedVirtualMethodTable,
_generated\8\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataTypeDefinition.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeDefinition).
TypeHandle
);
_generated\80\Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTarget3.cs (1)
41
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ICLRDataTarget2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\9\Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataTypeInstance.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.Diagnostics.DataContractReader.Legacy.IXCLRDataTypeInstance).
TypeHandle
);
Microsoft.DiaSymReader (19)
_generated\0\Microsoft.DiaSymReader.MetadataAdapterBase.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataImport).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataEmit).
TypeHandle
);
_generated\1\Microsoft.DiaSymReader.SymReaderMetadataAdapter.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataImport).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataEmit).
TypeHandle
);
_generated\12\Microsoft.DiaSymReader.ISymUnmanagedBinder2.cs (1)
30
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedBinder).
TypeHandle
).ManagedVirtualMethodTable,
_generated\13\Microsoft.DiaSymReader.ISymUnmanagedBinder3.cs (1)
31
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedBinder2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\14\Microsoft.DiaSymReader.ISymUnmanagedBinder4.cs (1)
33
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedBinder3).
TypeHandle
).ManagedVirtualMethodTable,
_generated\2\Microsoft.DiaSymReader.SymWriterMetadataAdapter.cs (2)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataImport).
TypeHandle
);
17
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IMetadataEmit).
TypeHandle
);
_generated\20\Microsoft.DiaSymReader.ISymUnmanagedMethod2.cs (1)
38
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedMethod).
TypeHandle
).ManagedVirtualMethodTable,
_generated\23\Microsoft.DiaSymReader.ISymUnmanagedReader2.cs (1)
47
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedReader).
TypeHandle
).ManagedVirtualMethodTable,
_generated\24\Microsoft.DiaSymReader.ISymUnmanagedReader3.cs (1)
49
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedReader2).
TypeHandle
).ManagedVirtualMethodTable,
_generated\25\Microsoft.DiaSymReader.ISymUnmanagedReader4.cs (1)
52
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedReader3).
TypeHandle
).ManagedVirtualMethodTable,
_generated\26\Microsoft.DiaSymReader.ISymUnmanagedReader5.cs (1)
53
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedReader4).
TypeHandle
).ManagedVirtualMethodTable,
_generated\29\Microsoft.DiaSymReader.ISymUnmanagedScope2.cs (1)
37
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedScope).
TypeHandle
).ManagedVirtualMethodTable,
_generated\3\Microsoft.DiaSymReader.ComMemoryStream.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IUnsafeComStream).
TypeHandle
);
_generated\38\Microsoft.DiaSymReader.ISymUnmanagedWriter8.cs (1)
65
global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(global::Microsoft.DiaSymReader.ISymUnmanagedWriter5).
TypeHandle
).ManagedVirtualMethodTable,
_generated\4\Microsoft.DiaSymReader.ComStreamWrapper.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IUnsafeComStream).
TypeHandle
);
_generated\5\Microsoft.DiaSymReader.Utilities.UnsafeComStreamWrapper.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(Microsoft.DiaSymReader.IUnsafeComStream).
TypeHandle
);
Microsoft.TestPlatform.AdapterUtilities (1)
ManagedNameUtilities\ManagedNameHelper.Reflection.cs (1)
160
method = MethodBase.GetMethodFromHandle(methodHandle, semanticType.
TypeHandle
)!;
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1379
RuntimeHelpers.RunClassConstructor(currentType.
TypeHandle
);
System\Windows\Markup\RoutedEventConverter.cs (1)
113
RuntimeHelpers.RunClassConstructor(currentType.
TypeHandle
);
System\Windows\Markup\RoutedEventValueSerializer.cs (1)
45
RuntimeHelpers.RunClassConstructor(currentType.
TypeHandle
);
System\Windows\Markup\XamlReader.cs (1)
953
RuntimeHelpers.RunClassConstructor(typeof(Application).
TypeHandle
);
System\Windows\Markup\XamlTypeMapper.cs (1)
1998
RuntimeHelpers.RunClassConstructor(currentType.
TypeHandle
);
System\Windows\SystemResources.cs (1)
808
RuntimeHelpers.RunClassConstructor(knownTypeHelper.
TypeHandle
);
System.ComponentModel.TypeConverter (1)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
428
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(editorBaseType.
TypeHandle
);
System.Private.CoreLib (60)
Internal\IntrinsicSupport\ComparerHelpers.cs (5)
22
MethodTable* icomparableType = typeof(IComparable<>).
TypeHandle
.ToMethodTable();
62
openComparerType = typeof(NullableComparer<>).
TypeHandle
;
67
openComparerType = typeof(EnumComparer<>).
TypeHandle
;
75
openComparerType = typeof(GenericComparer<>).
TypeHandle
;
80
openComparerType = typeof(ObjectComparer<>).
TypeHandle
;
Internal\IntrinsicSupport\EqualityComparerHelpers.cs (5)
25
MethodTable* iequatableType = typeof(IEquatable<>).
TypeHandle
.ToMethodTable();
75
openComparerType = typeof(NullableEqualityComparer<>).
TypeHandle
;
80
openComparerType = typeof(EnumEqualityComparer<>).
TypeHandle
;
88
openComparerType = typeof(GenericEqualityComparer<>).
TypeHandle
;
93
openComparerType = typeof(ObjectEqualityComparer<>).
TypeHandle
;
Internal\Reflection\Augments\ReflectionAugments.cs (1)
58
eeType = underlyingType.
TypeHandle
.ToMethodTable();
Internal\Runtime\Augments\RuntimeAugments.cs (2)
132
return NewArray(elementType.MakeArrayType().
TypeHandle
, lengths[0]);
397
return typeof(Array<>).
TypeHandle
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\TypeDelegator.cs (1)
53
public override RuntimeTypeHandle TypeHandle => typeImpl.
TypeHandle
;
src\runtime\src\libraries\System.Private.CoreLib\src\System\SR.cs (4)
84
RuntimeHelpers.RunClassConstructor(typeof(ResourceManager).
TypeHandle
);
85
RuntimeHelpers.RunClassConstructor(typeof(ResourceReader).
TypeHandle
);
86
RuntimeHelpers.RunClassConstructor(typeof(RuntimeResourceSet).
TypeHandle
);
87
RuntimeHelpers.RunClassConstructor(typeof(BinaryReader).
TypeHandle
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
477
return o.GetType().
TypeHandle
;
System\ActivatorImplementation.cs (2)
35
RuntimeTypeHandle typeHandle = type.
TypeHandle
;
88
RuntimeTypeHandle typeHandle = type.
TypeHandle
;
System\Array.NativeAot.cs (4)
73
return RuntimeAugments.NewArray(elementType.MakeArrayType().
TypeHandle
, pLengths[0]);
84
return NewMultiDimArray(arrayType.
TypeHandle
.ToMethodTable(), pImmutableLengths, rank);
113
: arrayType.GetElementType().MakeArrayType().
TypeHandle
;
252
return RuntimeImports.RhNewArray(elementType.MakeArrayType().
TypeHandle
.ToMethodTable(), pDimensions[0]);
System\Collections\Generic\Comparer.NativeAot.cs (1)
24
return Unsafe.As<Comparer<T>>(ComparerHelpers.GetComparer(typeof(T).
TypeHandle
));
System\Collections\Generic\EqualityComparer.NativeAot.cs (1)
30
return Unsafe.As<EqualityComparer<T>>(EqualityComparerHelpers.GetComparer(typeof(T).
TypeHandle
));
System\Delegate.cs (1)
372
RuntimeTypeHandle typeHandle = t.
TypeHandle
;
System\InvokeUtils.cs (1)
403
if (dstEEType == typeof(void*).
TypeHandle
.ToMethodTable() || RuntimeImports.AreTypesAssignable(pSourceType: srcPointer.GetPointerType().TypeHandle.ToMethodTable(), pTargetType: dstEEType))
System\Reflection\DynamicInvokeInfo.cs (2)
84
MethodTable* eeArgumentType = argumentType.
TypeHandle
.ToMethodTable();
130
MethodTable* eeReturnType = returnType.
TypeHandle
.ToMethodTable();
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (3)
132
DeclaringType.
TypeHandle
,
144
return ReflectionCoreExecution.ExecutionEnvironment.TryGetFieldAccessor(this._reader, this.DeclaringType.
TypeHandle
, this.FieldType.
TypeHandle
, _fieldHandle);
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (1)
210
_lazyFieldAccessor = fieldAccessor = ReflectionCoreExecution.ExecutionEnvironment.CreateLiteralFieldAccessor(defaultValue, FieldType.
TypeHandle
);
System\Reflection\Runtime\General\MetadataReaderExtensions.NativeFormat.cs (8)
173
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
182
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
191
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
200
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
209
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
218
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
227
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
236
value = RuntimeAugments.Box(enumType.
TypeHandle
, (IntPtr)(&v));
System\Reflection\Runtime\MethodInfos\CustomMethodInvoker.cs (2)
42
ValidateThis(thisObject, _thisType.
TypeHandle
);
53
convertedArguments[i] = RuntimeAugments.CheckArgument(arguments[i], _parameterTypes[i].
TypeHandle
, binderBundle, out copyBack);
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
197
genericArgHandles[i] = genericArgs[i].
TypeHandle
;
System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs (3)
400
return MethodInvoker.CreateDelegate(delegateType.
TypeHandle
, target, isStatic: isStatic, isVirtual: false, isOpen: isOpen);
420
if (RuntimeAugments.IsAssignableFrom(dstType.
TypeHandle
, srcType.
TypeHandle
))
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
59
public bool IsVoid => InternalTypeHandleIfAvailable.Equals(typeof(void).
TypeHandle
);
198
RuntimeTypeHandle interfaceTypeHandle = interfaceType.
TypeHandle
;
System\Runtime\CompilerServices\RuntimeHelpers.NativeAot.cs (2)
328
MethodTable* mt = type.
TypeHandle
.ToMethodTable();
362
RunClassConstructor(type.
TypeHandle
);
System\Runtime\InteropServices\Marshal.NativeAot.cs (3)
47
if (t.
TypeHandle
.ToMethodTable()->IsGenericTypeDefinition)
50
return new IntPtr(RuntimeInteropData.GetStructFieldOffset(t.
TypeHandle
, fieldName));
95
RuntimeTypeHandle structureTypeHandle = structuretype.
TypeHandle
;
System\Runtime\InteropServices\TypeMapLazyDictionary.NativeAot.cs (1)
184
RuntimeTypeHandle handle = key.
TypeHandle
;
System\RuntimeType.NativeAot.cs (1)
174
if (!(underlyingType.
TypeHandle
.ToMethodTable() == value.GetMethodTable()))
System\TypedReference.cs (2)
34
return new TypedReference(target, offset, type.
TypeHandle
);
56
handle = typeof(UIntPtr).
TypeHandle
;
System.Private.DataContractSerialization (48)
System\Runtime\Serialization\DataContract.cs (7)
63
return GetDataContract(type.
TypeHandle
, verifyConstructor);
387
int id = DataContract.GetId(classContract.TypeForInitialization.
TypeHandle
);
582
if (Globals.TypeOfDateTimeOffset.
TypeHandle
.Equals(typeHandle))
584
return Globals.TypeOfDateTimeOffsetAdapter.
TypeHandle
;
586
if (Globals.TypeOfMemoryStream.
TypeHandle
.Equals(typeHandle))
588
return Globals.TypeOfMemoryStreamAdapter.
TypeHandle
;
958
RuntimeTypeHandle runtimeTypeHandle = GetDataContractAdapterTypeHandle(type.
TypeHandle
);
System\Runtime\Serialization\DataContractSerializer.cs (2)
397
context.SerializeWithoutXsiType(contract, writer, graph, declaredType.
TypeHandle
);
417
context.SerializeWithXsiTypeAtTopLevel(contract, writer, graph, declaredType.
TypeHandle
, graphType);
System\Runtime\Serialization\DataContractSet.cs (2)
287
return DataContract.GetGetOnlyCollectionDataContract(DataContract.GetId(dataMemberType.
TypeHandle
), dataMemberType.
TypeHandle
, dataMemberType);
System\Runtime\Serialization\DataMember.cs (2)
192
_memberTypeContract = DataContract.GetGetOnlyCollectionDataContract(DataContract.GetId(MemberType.
TypeHandle
), MemberType.
TypeHandle
, MemberType);
System\Runtime\Serialization\Json\DataContractJsonSerializer.cs (4)
526
context.SerializeWithoutXsiType(contract, writer, graph, declaredType.
TypeHandle
);
530
DataContractJsonSerializer.WriteJsonValue(JsonDataContract.GetJsonDataContract(contract), writer, graph, null, declaredType.
TypeHandle
); // XmlObjectSerializerWriteContextComplexJson
540
context.SerializeWithXsiTypeAtTopLevel(contract, writer, graph, declaredType.
TypeHandle
, graphType);
544
context.SerializeWithoutXsiType(contract, writer, graph, declaredType.
TypeHandle
);
System\Runtime\Serialization\Json\JsonDataContract.cs (1)
179
int id = JsonDataContractCriticalHelper.GetId(traditionalDataContract.UnderlyingType.
TypeHandle
);
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (1)
563
_ilg.Load(DataContract.GetId(declaredType.
TypeHandle
));
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (1)
712
_ilg.Load(DataContract.GetId(memberType.
TypeHandle
));
System\Runtime\Serialization\Json\ReflectionJsonFormatWriter.cs (1)
119
jsonDataContract!.WriteJsonValue(jsonWriter, current, context, collectionContract.ItemType.
TypeHandle
);
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (2)
201
SerializeAndVerifyType(dataContract, xmlWriter, obj, verifyKnownType, declaredType.
TypeHandle
, declaredType);
259
SerializeAndVerifyType(dataContract, xmlWriter, obj, verifyKnownType, declaredType.
TypeHandle
, declaredType);
System\Runtime\Serialization\ReflectionClassWriter.cs (8)
62
ReflectionInternalSerialize(xmlWriter, context, memberValue, memberValue.GetType().
TypeHandle
.Equals(memberType.
TypeHandle
), writeXsiType, memberType);
102
ReflectionInternalSerialize(xmlWriter, context, memberValue!, memberValue!.GetType().
TypeHandle
.Equals(memberType.
TypeHandle
), writeXsiType, memberType, originValueIsNullableOfT);
172
context.InternalSerialize(xmlWriter, obj, isDeclaredType, writeXsiType, DataContract.GetId(memberType.
TypeHandle
), memberType.
TypeHandle
);
176
context.InternalSerializeReference(xmlWriter, obj, isDeclaredType, writeXsiType, DataContract.GetId(memberType.
TypeHandle
), memberType.
TypeHandle
);
System\Runtime\Serialization\ReflectionReader.cs (2)
395
return context.InternalDeserialize(xmlReader, DataContract.GetId(type.
TypeHandle
), type.
TypeHandle
, name, ns);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (1)
600
_ilg.Load(DataContract.GetId(declaredType.
TypeHandle
));
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (1)
724
_ilg.Load(DataContract.GetId(memberType.
TypeHandle
));
System\Runtime\Serialization\XmlObjectSerializerContext.cs (1)
102
return GetDataContract(type.
TypeHandle
, type);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (8)
99
SerializeWithXsiType(xmlWriter, obj, obj.GetType().
TypeHandle
, null/*type*/, -1, declaredType.
TypeHandle
, declaredType);
108
RuntimeTypeHandle objTypeHandle = obj.GetType().
TypeHandle
;
445
return obj.GetType().
TypeHandle
.Equals(memberType.
TypeHandle
);
567
InternalSerializeReference(xmlWriter, obj, false /*isDeclaredType*/, false /*writeXsiType*/, -1, Globals.TypeOfObject.
TypeHandle
);
730
InternalSerialize(xmlWriter, o, false /*isDeclaredType*/, false /*writeXsiType*/, -1, o.GetType().
TypeHandle
);
748
InternalSerialize(xmlWriter, o, false /*isDeclaredType*/, false /*writeXsiType*/, -1, declaredType.
TypeHandle
);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (4)
229
RuntimeTypeHandle objTypeHandle = isDeclaredType ? declaredTypeHandle : obj.GetType().
TypeHandle
;
235
declaredTypeHandle = declaredType.
TypeHandle
;
238
objTypeHandle = objType.
TypeHandle
;
245
SerializeWithXsiType(xmlWriter, obj, objTypeHandle, objType, -1, declaredType.
TypeHandle
, declaredType);
System.Private.Reflection.Execution (9)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.Runtime.cs (2)
34
IntPtr classRtMethodHandle = invoker.ResolveTarget(instanceType.
TypeHandle
);
40
MethodBase methodBase = ReflectionExecution.GetMethodBaseFromOriginalLdftnResult(classRtMethodHandle, instanceType.
TypeHandle
);
Internal\Reflection\Execution\FieldAccessors\InstanceFieldAccessor.cs (2)
39
if (!(targetType.
TypeHandle
.Equals(this.DeclaringTypeHandle)))
72
if (!(targetType.
TypeHandle
.Equals(this.DeclaringTypeHandle)))
Internal\Reflection\Execution\FieldAccessors\PointerTypeFieldAccessorForInstanceFields.cs (2)
31
RuntimeAugments.StoreValueTypeField(obj, OffsetPlusHeader, value, value.GetType().
TypeHandle
);
37
RuntimeAugments.StoreValueTypeFieldValueIntoValueType(typedReference, this.Offset, value, value.GetType().
TypeHandle
);
Internal\Reflection\Execution\FieldAccessors\PointerTypeFieldAccessorForStaticFields.cs (3)
44
RuntimeAugments.StoreValueTypeField(gcStaticsRegion, FieldOffset, value, value.GetType().
TypeHandle
);
48
RuntimeAugments.StoreValueTypeField(StaticsBase + FieldOffset, value, value.GetType().
TypeHandle
);
54
RuntimeAugments.StoreValueTypeField(threadStaticsRegion, FieldOffset, value, value.GetType().
TypeHandle
);
System.Private.TypeLoader (35)
Internal\Runtime\TypeLoader\EETypeCreator.cs (5)
542
CreateEETypeWorker(typeof(delegate*<void>).
TypeHandle
.ToEETypePtr(), hashCodeOfNewType, 0, state);
560
CreateEETypeWorker(typeof(void*).
TypeHandle
.ToEETypePtr(), hashCodeOfNewType, 0, state);
576
CreateEETypeWorker(typeof(void*).
TypeHandle
.ToEETypePtr(), hashCodeOfNewType, 0, state);
611
templateTypeHandle = typeof(delegate*<void>).
TypeHandle
;
616
templateTypeHandle = typeof(void*).
TypeHandle
;
Internal\Runtime\TypeLoader\TypeBuilderState.cs (2)
63
_templateType = TypeBeingBuilt.Context.ResolveRuntimeTypeHandle(typeof(object[,]).
TypeHandle
);
75
_templateType = TypeBeingBuilt.Context.ResolveRuntimeTypeHandle(typeof(char*[]).
TypeHandle
);
Internal\Runtime\TypeLoader\TypeLoaderTypeSystemContext.cs (26)
56
return (DefType)ResolveRuntimeTypeHandle(typeof(void).
TypeHandle
);
59
return (DefType)ResolveRuntimeTypeHandle(typeof(bool).
TypeHandle
);
62
return (DefType)ResolveRuntimeTypeHandle(typeof(char).
TypeHandle
);
65
return (DefType)ResolveRuntimeTypeHandle(typeof(sbyte).
TypeHandle
);
68
return (DefType)ResolveRuntimeTypeHandle(typeof(byte).
TypeHandle
);
71
return (DefType)ResolveRuntimeTypeHandle(typeof(short).
TypeHandle
);
74
return (DefType)ResolveRuntimeTypeHandle(typeof(ushort).
TypeHandle
);
77
return (DefType)ResolveRuntimeTypeHandle(typeof(int).
TypeHandle
);
80
return (DefType)ResolveRuntimeTypeHandle(typeof(uint).
TypeHandle
);
83
return (DefType)ResolveRuntimeTypeHandle(typeof(long).
TypeHandle
);
86
return (DefType)ResolveRuntimeTypeHandle(typeof(ulong).
TypeHandle
);
89
return (DefType)ResolveRuntimeTypeHandle(typeof(IntPtr).
TypeHandle
);
92
return (DefType)ResolveRuntimeTypeHandle(typeof(UIntPtr).
TypeHandle
);
95
return (DefType)ResolveRuntimeTypeHandle(typeof(float).
TypeHandle
);
98
return (DefType)ResolveRuntimeTypeHandle(typeof(double).
TypeHandle
);
101
return (DefType)ResolveRuntimeTypeHandle(typeof(ValueType).
TypeHandle
);
104
return (DefType)ResolveRuntimeTypeHandle(typeof(Enum).
TypeHandle
);
107
return (DefType)ResolveRuntimeTypeHandle(typeof(Nullable<>).
TypeHandle
);
110
return (DefType)ResolveRuntimeTypeHandle(typeof(object).
TypeHandle
);
113
return (DefType)ResolveRuntimeTypeHandle(typeof(string).
TypeHandle
);
116
return (DefType)ResolveRuntimeTypeHandle(typeof(Array).
TypeHandle
);
119
return (DefType)ResolveRuntimeTypeHandle(typeof(MulticastDelegate).
TypeHandle
);
122
return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeTypeHandle).
TypeHandle
);
125
return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeMethodHandle).
TypeHandle
);
128
return (DefType)ResolveRuntimeTypeHandle(typeof(RuntimeFieldHandle).
TypeHandle
);
131
return (DefType)ResolveRuntimeTypeHandle(typeof(Exception).
TypeHandle
);
Internal\TypeSystem\RuntimeNoMetadataType.cs (2)
183
(MethodTable->IsGenericTypeDefinition || MethodTable->BaseType == typeof(System.Enum).
TypeHandle
.ToEETypePtr()))
194
MethodTable->BaseType != typeof(System.Enum).
TypeHandle
.ToEETypePtr());
System.Reflection.Context (1)
System\Reflection\Context\Delegation\DelegatingType.cs (1)
152
get { return _typeInfo.
TypeHandle
; }
System.Runtime.InteropServices (5)
System\Runtime\InteropServices\Marshalling\ComInterfaceMarshaller.cs (1)
24
private static readonly Guid? TargetInterfaceIID = StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(T).
TypeHandle
)?.Iid;
System\Runtime\InteropServices\Marshalling\ComObject.cs (1)
155
if (!LookUpVTableInfo(type.
TypeHandle
, out IIUnknownCacheStrategy.TableInfo result, out int qiHResult))
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (1)
103
else if (managed is not null && StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetComExposedTypeDetails(managed.GetType().
TypeHandle
) is not null)
System\Runtime\InteropServices\Marshalling\DefaultCaching.cs (1)
24
ManagedType = details.Implementation.
TypeHandle
System\Runtime\InteropServices\Marshalling\StrategyBasedComWrappers.cs (1)
85
if (GetOrCreateInterfaceDetailsStrategy().GetComExposedTypeDetails(obj.GetType().
TypeHandle
) is { } details)
System.Transactions.Local (4)
_generated\1\System.Transactions.DtcProxyShim.EnlistmentNotifyShim.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync).
TypeHandle
);
_generated\2\System.Transactions.DtcProxyShim.Phase0NotifyShim.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync).
TypeHandle
);
_generated\3\System.Transactions.DtcProxyShim.ResourceManagerNotifyShim.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManagerSink).
TypeHandle
);
_generated\4\System.Transactions.DtcProxyShim.VoterNotifyShim.cs (1)
14
details = global::System.Runtime.InteropServices.Marshalling.StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy.GetIUnknownDerivedDetails(typeof(System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2).
TypeHandle
);
System.Windows.Forms (3)
System\Windows\Forms\Accessibility\AccessibleObject.cs (3)
315
RuntimeTypeHandle type = GetType().
TypeHandle
;
316
return type.Equals(typeof(AccessibleObject).
TypeHandle
)
317
|| type.GetModuleHandle().Equals(typeof(AccessibleObject).
TypeHandle
.GetModuleHandle());