1 write to Module
Microsoft.CodeAnalysis (1)
MetadataReader\MetadataDecoder.cs (1)
130
this.
Module
= module;
65 references to Module
Microsoft.CodeAnalysis (45)
MetadataReader\MetadataDecoder.cs (45)
178
BlobReader memoryReader = this.
Module
.GetTypeSpecificationSignatureReaderOrThrow(typeSpec);
513
Module
.GetTypeRefPropsOrThrow(typeRef, out name, out @namespace, out resolutionScope);
573
return LookupTopLevelTypeDefSymbol(
Module
.GetAssemblyReferenceIndexOrThrow(assemblyRef), ref fullName);
584
Module
.GetModuleRefNameOrThrow(moduleRef),
623
if (!
Module
.IsNestedTypeDefOrThrow(typeDef) &&
Module
.IsNoPiaLocalType(typeDef))
636
string name =
Module
.GetTypeDefNameOrThrow(typeDef);
639
if (
Module
.IsNestedTypeDefOrThrow(typeDef))
642
TypeDefinitionHandle containerTypeDef =
Module
.GetContainingTypeOrThrow(typeDef);
668
string namespaceName =
Module
.GetTypeDefNamespaceOrThrow(typeDef);
686
if (
Module
.IsNoPiaLocalType(
694
if (!
Module
.HasGenericParametersOrThrow(typeDef))
799
BlobReader memoryReader = this.
Module
.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token);
915
var memoryReader = this.
Module
.GetTypeSpecificationSignatureReaderOrThrow((TypeSpecificationHandle)token);
1141
var signatureHandle =
Module
.MetadataReader.GetStandaloneSignature(handle).Signature;
1142
var signatureReader =
Module
.MetadataReader.GetBlobReader(signatureHandle);
1180
var reader =
Module
.MetadataReader;
1212
BlobHandle signature =
Module
.GetMethodSignatureOrThrow(methodDef);
1223
foreach (var param in
Module
.GetParametersOfMethodOrThrow(methodDef))
1225
int sequenceNumber =
Module
.GetParameterSequenceNumberOrThrow(param);
1270
var signature =
Module
.GetPropertySignatureOrThrow(handle);
1297
var signature =
Module
.GetPropertySignatureOrThrow(handle);
1655
return
Module
.IsTargetAttribute(
1672
return
Module
.GetTargetAttributeSignatureIndex(customAttribute, description);
1695
if (
Module
.GetTypeAndConstructor(handle, out attributeType, out ctor))
1697
BlobReader argsReader =
Module
.GetMemoryReaderOrThrow(
Module
.GetCustomAttributeValueOrThrow(handle));
1698
BlobReader sigReader =
Module
.GetMemoryReaderOrThrow(
Module
.GetMethodSignatureOrThrow(ctor));
1767
if (!
Module
.GetTypeAndConstructor(handle, out attributeType, out ctor))
1796
if (!
Module
.GetTypeAndConstructor(handle, out attributeType, out ctor))
1803
if (!
Module
.GetAttributeNamespaceAndName(attributeType, out namespaceHandle, out nameHandle))
1808
string fullName =
Module
.GetFullNameOrThrow(namespaceHandle, nameHandle);
1849
return DecodeSignatureHeaderOrThrow(
Module
, signature, out signatureHeader);
1912
BlobHandle signature =
Module
.GetFieldSignatureOrThrow(fieldHandle);
1983
foreach (var methodImpl in
Module
.GetMethodImplementationsOrThrow(implementingTypeDef))
1987
Module
.GetMethodImplPropsOrThrow(methodImpl, out methodDebugHandle, out implementedMethodHandle);
2077
foreach (MethodDefinitionHandle methodDef in
Module
.GetMethodsOfTypeOrThrow(typeDef))
2120
foreach (var interfaceImplHandle in
Module
.GetInterfaceImplementationsOrThrow(searchTypeDef))
2122
var interfaceImpl =
Module
.MetadataReader.GetInterfaceImplementation(interfaceImplHandle);
2126
EnqueueTypeToken(typeDefsToSearch, typeSymbolsToSearch,
Module
.GetBaseTypeOfTypeOrThrow(searchTypeDef));
2268
TypeDefinitionHandle typeDef =
Module
.FindContainingTypeOrThrow((MethodDefinitionHandle)token);
2288
TypeDefinitionHandle typeDef =
Module
.FindContainingTypeOrThrow((FieldDefinitionHandle)token);
2308
this.
Module
.GetMethodSpecificationOrThrow((MethodSpecificationHandle)token, out method, out instantiation);
2338
EntityHandle container =
Module
.GetContainingTypeOrThrow(memberRef);
Microsoft.CodeAnalysis.CSharp (7)
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
197
=> _metadataDecoder.
Module
.HasStateMachineAttribute(methodHandle, out var typeName) ? _metadataDecoder.GetTypeSymbolForSerializedType(typeName) : null;
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (4)
128
memberName =
Module
.GetMemberRefNameOrThrow(memberRef);
129
signatureHandle =
Module
.GetSignatureOrThrow(memberRef);
134
memberName =
Module
.GetMethodDefNameOrThrow(methodDef);
135
signatureHandle =
Module
.GetMethodSignatureOrThrow(methodDef);
Symbols\Metadata\PE\MetadataDecoder.cs (2)
283
bool isInterface =
Module
.IsInterfaceOrThrow(typeDef);
288
EntityHandle baseToken =
Module
.GetBaseTypeOfTypeOrThrow(typeDef);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
CompilationExtensions.cs (1)
42
metadataDecoder.
Module
.HasStateMachineAttribute(candidateMethod.Handle, out var stateMachineTypeName) &&
CSharpEESymbolProvider.cs (1)
93
int index = _metadataDecoder.
Module
.GetAssemblyReferenceIndexOrThrow(handle);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CSharpTestBase.cs (1)
1900
var reader = _decoder.
Module
.GetMetadataReader();
Microsoft.CodeAnalysis.VisualBasic (7)
Emit\EditAndContinue\VisualBasicDefinitionMap.vb (1)
129
If _metadataDecoder.
Module
.HasStateMachineAttribute(methodHandle, typeName) Then
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (4)
106
memberName =
[Module]
.GetMemberRefNameOrThrow(memberRef)
107
signatureHandle =
[Module]
.GetSignatureOrThrow(memberRef)
111
memberName =
[Module]
.GetMethodDefNameOrThrow(methodDef)
112
signatureHandle =
[Module]
.GetMethodSignatureOrThrow(methodDef)
Symbols\Metadata\PE\MetadataDecoder.vb (2)
247
Dim isInterface As Boolean = Me.
Module
.IsInterfaceOrThrow(typeDef)
251
Dim baseToken As EntityHandle = Me.
Module
.GetBaseTypeOfTypeOrThrow(typeDef)
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (3)
CompilationExtensions.vb (1)
39
If metadataDecoder.
Module
.HasStateMachineAttribute(candidateMethod.Handle, stateMachineTypeName) AndAlso
EvaluationContext.vb (1)
535
Dim [module] = metadataDecoder.
Module
VisualBasicEESymbolProvider.vb (1)
70
Dim index As Integer = _metadataDecoder.
Module
.GetAssemblyReferenceIndexOrThrow(handle)