1 write to _metadataReaderOpt
Roslyn.Test.PdbUtilities (1)
Shared\DummyMetadataImport.cs (1)
26
_metadataReaderOpt
= metadataReaderOpt;
15 references to _metadataReaderOpt
Roslyn.Test.PdbUtilities (15)
Shared\DummyMetadataImport.cs (15)
58
if (
_metadataReaderOpt
== null)
63
var sig =
_metadataReaderOpt
.GetStandaloneSignature((StandaloneSignatureHandle)MetadataTokens.Handle(tkSignature));
64
var signature =
_metadataReaderOpt
.GetBlobBytes(sig.Signature);
84
if (
_metadataReaderOpt
== null)
90
var typeDef =
_metadataReaderOpt
.GetTypeDefinition(handle);
98
qualifiedName.Append(
_metadataReaderOpt
.GetString(typeDef.Namespace));
102
qualifiedName.Append(
_metadataReaderOpt
.GetString(typeDef.Name));
108
(typeDef.Namespace.IsNil ? 0 :
_metadataReaderOpt
.GetString(typeDef.Namespace).Length + 1) +
109
_metadataReaderOpt
.GetString(typeDef.Name).Length;
123
if (
_metadataReaderOpt
== null)
129
var typeRef =
_metadataReaderOpt
.GetTypeReference(handle);
137
qualifiedName.Append(
_metadataReaderOpt
.GetString(typeRef.Namespace));
141
qualifiedName.Append(
_metadataReaderOpt
.GetString(typeRef.Name));
147
(typeRef.Namespace.IsNil ? 0 :
_metadataReaderOpt
.GetString(typeRef.Namespace).Length + 1) +
148
_metadataReaderOpt
.GetString(typeRef.Name).Length;