3 instantiations of MethodImplementationHandle
System.Reflection.Metadata (3)
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (3)
368
return new
MethodImplementationHandle
(rowId);
388
return new
MethodImplementationHandle
(handle.RowId);
398
return new
MethodImplementationHandle
(handle.RowId);
35 references to MethodImplementationHandle
Microsoft.CodeAnalysis (3)
MetadataReader\MetadataDecoder.cs (1)
1905
foreach (
var
methodImpl in Module.GetMethodImplementationsOrThrow(implementingTypeDef))
MetadataReader\ModuleExtensions.cs (1)
121
foreach (
var
methodImpl in module.GetMethodImplementationsOrThrow(typeDef))
MetadataReader\PEModule.cs (1)
3399
MethodImplementationHandle
methodImpl,
System.Reflection.Metadata (31)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Tables.cs (2)
1046
public
MethodImplementationHandle
AddMethodImplementation(
1058
return
MethodImplementationHandle
.FromRowId(_methodImplTable.Count);
System\Reflection\Metadata\Ecma335\MetadataTokens.cs (2)
350
public static
MethodImplementationHandle
MethodImplementationHandle(int rowNumber)
352
return Metadata.
MethodImplementationHandle
.FromRowId(ToRowId(rowNumber));
System\Reflection\Metadata\Internal\Tables.cs (3)
1604
internal TypeDefinitionHandle GetClass(
MethodImplementationHandle
handle)
1610
internal EntityHandle GetMethodBody(
MethodImplementationHandle
handle)
1616
internal EntityHandle GetMethodDeclaration(
MethodImplementationHandle
handle)
System\Reflection\Metadata\MetadataReader.cs (1)
1251
public MethodImplementation GetMethodImplementation(
MethodImplementationHandle
handle)
System\Reflection\Metadata\MetadataReader.WinMD.cs (1)
447
foreach (
var
methodImplHandle in new MethodImplementationHandleCollection(this, parentTypeDef))
System\Reflection\Metadata\TypeSystem\HandleCollections.TypeSystem.cs (6)
935
public readonly struct MethodImplementationHandleCollection : IReadOnlyCollection<
MethodImplementationHandle
>
968
IEnumerator<
MethodImplementationHandle
> IEnumerable<
MethodImplementationHandle
>.GetEnumerator()
978
public struct Enumerator : IEnumerator<
MethodImplementationHandle
>, IEnumerator
995
public
MethodImplementationHandle
Current
999
return
MethodImplementationHandle
.FromRowId((int)(_currentRowId & TokenTypeIds.RIDMask));
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (13)
354
public readonly struct MethodImplementationHandle : IEquatable<
MethodImplementationHandle
>
366
internal static
MethodImplementationHandle
FromRowId(int rowId)
371
public static implicit operator Handle(
MethodImplementationHandle
handle)
376
public static implicit operator EntityHandle(
MethodImplementationHandle
handle)
381
public static explicit operator
MethodImplementationHandle
(Handle handle)
391
public static explicit operator
MethodImplementationHandle
(EntityHandle handle)
411
public static bool operator ==(
MethodImplementationHandle
left,
MethodImplementationHandle
right)
418
return obj is
MethodImplementationHandle
&& ((
MethodImplementationHandle
)obj)._rowId == _rowId;
421
public bool Equals(
MethodImplementationHandle
other)
431
public static bool operator !=(
MethodImplementationHandle
left,
MethodImplementationHandle
right)
System\Reflection\Metadata\TypeSystem\MethodImplementation.cs (3)
15
internal MethodImplementation(MetadataReader reader,
MethodImplementationHandle
handle)
24
private
MethodImplementationHandle
Handle
26
get { return
MethodImplementationHandle
.FromRowId(_rowId); }
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
44
public static MethodImplementation GetMethodImplementation(this
MethodImplementationHandle
handle, MetadataReader reader) => reader.GetMethodImplementation(handle);