13 references to GetInterfaceImplementation
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
865
IEnumerable<InterfaceImplementation> foundInterfaces = typeDefinition.GetInterfaceImplementations().Select(metadataReader.
GetInterfaceImplementation
).Where(impl => metadataReader.GetToken(impl.Interface) == (int)interfaceImplementationToken);
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
2039
var interfaceImpl = Module.MetadataReader.
GetInterfaceImplementation
(interfaceImplHandle);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (10)
Attributes\AttributeTests_NativeInteger.cs (2)
792
var interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
1380
var interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().ElementAt(1));
Attributes\AttributeTests_Nullable.cs (7)
148
var interfaceImpl1 = reader.
GetInterfaceImplementation
(interfaceHandles.First());
152
var interfaceImpl2 = reader.
GetInterfaceImplementation
(interfaceHandles.Last());
1135
var interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
1138
interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
1186
var interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
1190
interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
4861
var interfaceImpl = reader.
GetInterfaceImplementation
(typeDef.GetInterfaceImplementations().Single());
Attributes\AttributeTests_Tuples.cs (1)
971
var interfaceImpl = reader.
GetInterfaceImplementation
(interfaceImpls.Single());
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
33
public static InterfaceImplementation GetInterfaceImplementation(this InterfaceImplementationHandle handle, MetadataReader reader) => reader.
GetInterfaceImplementation
(handle);