9 references to GetMethodsOfTypeOrThrow
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
1997foreach (MethodDefinitionHandle methodDef in Module.GetMethodsOfTypeOrThrow(typeDef))
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (4)
988foreach (var methodDef in module.GetMethodsOfTypeOrThrow(_handle)) 1309foreach (var methodDef in module.GetMethodsOfTypeOrThrow(_handle)) 2052foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(_handle)) 2265foreach (var methodHandle in module.GetMethodsOfTypeOrThrow(_handle))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
Emit\NoPiaEmbedTypes.cs (3)
1456var methodNames = metadata.GetMethodsOfTypeOrThrow(itest17.Handle).AsEnumerable().Select(rid => metadata.GetMethodDefNameOrThrow(rid)).ToArray(); 1463MethodDefinitionHandle gapMethodDef = metadata.GetMethodsOfTypeOrThrow(itest17.Handle).AsEnumerable().ElementAt(1); 1501Assert.False(metadata.GetMethodsOfTypeOrThrow(itest18.Handle).AsEnumerable().Any());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests.cs (1)
1636var methods = metadata.GetMethodsOfTypeOrThrow(typeI.Handle);