PortableExecutableReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reference to metadata stored in the standard ECMA-335 metadata format.
public ref class PortableExecutableReference abstract : Microsoft::CodeAnalysis::MetadataReference
public abstract class PortableExecutableReference : Microsoft.CodeAnalysis.MetadataReference
type PortableExecutableReference = class
inherit MetadataReference
Public MustInherit Class PortableExecutableReference
Inherits MetadataReference
- Inheritance
Constructors
PortableExecutableReference(MetadataReferenceProperties, String, DocumentationProvider) |
Properties
Display |
Display string used in error messages to identity the reference. |
FilePath |
Path describing the location of the metadata, or null if the metadata have no location. |
Properties | (Inherited from MetadataReference) |
Methods
CreateDocumentationProvider() |
Create documentation provider for the reference. |
GetMetadata() |
Returns a copy of the Metadata object this PortableExecutableReference contains. This copy does not need to be Dispose()d. |
GetMetadataId() |
Returns the MetadataId for this reference's Metadata. This will be equivalent to calling GetMetadata().Id, but can be done more efficiently. |
GetMetadataImpl() |
Get metadata representation for the PE file. |
WithAliases(IEnumerable<String>) |
Returns an instance of the reference with specified aliases. |
WithAliases(ImmutableArray<String>) |
Returns an instance of the reference with specified aliases. |
WithEmbedInteropTypes(Boolean) |
Returns an instance of the reference with specified interop types embedding. |
WithProperties(MetadataReferenceProperties) |
Returns an instance of the reference with specified properties, or this instance if properties haven't changed. |
WithPropertiesImpl(MetadataReferenceProperties) |
Returns an instance of the reference with specified properties. |