コード例 #1
0
ファイル: PEModuleSymbol.cs プロジェクト: zygygy/roslyn
        internal TypeSymbol TryDecodeAttributeWithTypeArgument(EntityHandle handle, AttributeDescription attributeDescription)
        {
            string typeName;

            if (_module.HasStringValuedAttribute(handle, attributeDescription, out typeName))
            {
                return(new MetadataDecoder(this).GetTypeSymbolForSerializedType(typeName));
            }

            return(null);
        }