21 references to Parent
BuildValidator (2)
Util.cs (2)
75Debug.Assert(memberRef.Parent.Kind == HandleKind.TypeReference); 76var typeRef = reader.GetTypeReference((TypeReferenceHandle)memberRef.Parent);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
449EntityHandle attributeMemberParent = mdReader.GetMemberReference((MemberReferenceHandle)attributeCtor).Parent;
Microsoft.AspNetCore.App.UnitTests (1)
TargetingPackTests.cs (1)
208var attributeType = reader.GetTypeReference((TypeReferenceHandle)attributeConstructor.Parent);
Microsoft.Cci.Extensions (1)
Extensions\CSharp\CSharpCciExtensions.cs (1)
944return reader.GetMemberReference((MemberReferenceHandle)ctorHandle).Parent.TypeMatchesNameAndNamespace(@namespace, name, reader);
Microsoft.CodeAnalysis (3)
MetadataReader\PEModule.cs (3)
3063ctorType = memberRef.Parent; 3352return MetadataReader.GetMemberReference(memberRef).Parent; 3453@class = row.Parent;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\DestructorTests.cs (1)
794Single(pair => pair.row.Parent == (EntityHandle)handleObject &&
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataReaderUtils.cs (3)
222parent = reader.GetMemberReference((MemberReferenceHandle)token).Parent; 363return $"{signature.ReturnType} {DumpRec(reader, member.Parent)}.{reader.GetString(member.Name)}({parameters})"; 475.Select(c => metadataReader.GetMemberReference((MemberReferenceHandle)c).Parent)
Metadata\MetadataValidation.cs (1)
32var container = metadataReader.GetMemberReference((MemberReferenceHandle)ctorHandle).Parent;
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
626var container = reader.GetMemberReference((MemberReferenceHandle)ctorHandle).Parent;
RunTests (2)
AssemblyScheduler.cs (2)
357if (ctor.Parent.Kind is HandleKind.TypeReference) 359var typeNameHandle = metadataReader.GetTypeReference((TypeReferenceHandle)ctor.Parent).Name;
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
260EntityHandle container = reader.GetMemberReference((MemberReferenceHandle)ctorHandle).Parent;
System.Reflection.Metadata (2)
System\Reflection\Metadata\Ecma335\CustomAttributeDecoder.cs (2)
38if (reference.Parent.Kind == HandleKind.TypeSpecification) 40TypeSpecification genericOwner = _reader.GetTypeSpecification((TypeSpecificationHandle)reference.Parent);
System.Reflection.MetadataLoadContext (2)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeData.cs (1)
75Type declaringType = mr.Parent.ResolveTypeDefRefOrSpec(_module, typeContext);
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (1)
94return mh.GetMemberReference(reader).Parent;