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