1 write to Module
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
130this.Module = module;
43 references to Module
Microsoft.CodeAnalysis (43)
MetadataReader\MetadataDecoder.cs (43)
178BlobReader memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow(typeSpec); 513Module.GetTypeRefPropsOrThrow(typeRef, out name, out @namespace, out resolutionScope); 573return LookupTopLevelTypeDefSymbol(Module.GetAssemblyReferenceIndexOrThrow(assemblyRef), ref fullName); 584Module.GetModuleRefNameOrThrow(moduleRef), 623if (!Module.IsNestedTypeDefOrThrow(typeDef) && Module.IsNoPiaLocalType(typeDef)) 636string name = Module.GetTypeDefNameOrThrow(typeDef); 639if (Module.IsNestedTypeDefOrThrow(typeDef)) 642TypeDefinitionHandle containerTypeDef = Module.GetContainingTypeOrThrow(typeDef); 668string namespaceName = Module.GetTypeDefNamespaceOrThrow(typeDef); 686if (Module.IsNoPiaLocalType( 694if (!Module.HasGenericParametersOrThrow(typeDef)) 799BlobReader memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token); 915var memoryReader = this.Module.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token); 1141var signatureHandle = Module.MetadataReader.GetStandaloneSignature(handle).Signature; 1142var signatureReader = Module.MetadataReader.GetBlobReader(signatureHandle); 1180var reader = Module.MetadataReader; 1212BlobHandle signature = Module.GetMethodSignatureOrThrow(methodDef); 1223foreach (var param in Module.GetParametersOfMethodOrThrow(methodDef)) 1225int sequenceNumber = Module.GetParameterSequenceNumberOrThrow(param); 1254=> GetSignatureCountsOrThrow(Module, methodDef, out parameterCount, out typeParameterCount); 1273var signature = Module.GetPropertySignatureOrThrow(handle); 1300var signature = Module.GetPropertySignatureOrThrow(handle); 1594return Module.IsTargetAttribute( 1611return Module.GetTargetAttributeSignatureIndex(customAttribute, description); 1637BlobReader argsReader = Module.GetMemoryReaderOrThrow(Module.GetCustomAttributeValueOrThrow(handle)); 1689if (!Module.GetTypeAndConstructor(handle, out attributeType, out ctor)) 1718if (!Module.GetTypeAndConstructor(handle, out attributeType, out ctor)) 1725if (!Module.GetAttributeNamespaceAndName(attributeType, out namespaceHandle, out nameHandle)) 1730string fullName = Module.GetFullNameOrThrow(namespaceHandle, nameHandle); 1771return DecodeSignatureHeaderOrThrow(Module, signature, out signatureHeader); 1834BlobHandle signature = Module.GetFieldSignatureOrThrow(fieldHandle); 1905foreach (var methodImpl in Module.GetMethodImplementationsOrThrow(implementingTypeDef)) 1909Module.GetMethodImplPropsOrThrow(methodImpl, out methodDebugHandle, out implementedMethodHandle); 1997foreach (MethodDefinitionHandle methodDef in Module.GetMethodsOfTypeOrThrow(typeDef)) 2037foreach (var interfaceImplHandle in Module.GetInterfaceImplementationsOrThrow(searchTypeDef)) 2039var interfaceImpl = Module.MetadataReader.GetInterfaceImplementation(interfaceImplHandle); 2043EnqueueTypeToken(typeDefsToSearch, typeSymbolsToSearch, Module.GetBaseTypeOfTypeOrThrow(searchTypeDef)); 2185TypeDefinitionHandle typeDef = Module.FindContainingTypeOrThrow((MethodDefinitionHandle)token); 2205TypeDefinitionHandle typeDef = Module.FindContainingTypeOrThrow((FieldDefinitionHandle)token); 2225this.Module.GetMethodSpecificationOrThrow((MethodSpecificationHandle)token, out method, out instantiation); 2255EntityHandle container = Module.GetContainingTypeOrThrow(memberRef);