6 references to AsImmutableOrNull
Microsoft.CodeAnalysis (6)
MetadataReader\MetadataDecoder.cs (1)
1479
return CreateArrayTypedConstant(arrayType, values.
AsImmutableOrNull
());
MetadataReader\PEModule.cs (3)
2266
value = stringArray.
AsImmutableOrNull
();
2271
value = stringArray.
AsImmutableOrNull
();
3669
return MetadataReader.GetBlobBytes(blob).
AsImmutableOrNull
();
MetadataReference\AssemblyIdentityUtils.cs (1)
37
? metadataReader.GetBlobBytes(publicKeyHandle).
AsImmutableOrNull
()
StrongName\DesktopStrongNameProvider.cs (1)
221
return pubKey.
AsImmutableOrNull
();