Share via


CompilationOptions.MetadataImportOptions Property

Definition

Specifies whether to import members with accessibility other than public or protected by default. Default value is Public. The value specified is not going to affect correctness of analysis performed by compilers because all members needed for correctness are going to be imported regardless. This setting can force compilation to import members that it normally doesn't.

public:  property Microsoft::CodeAnalysis::MetadataImportOptions MetadataImportOptions {  public:
Microsoft::CodeAnalysis::MetadataImportOptions get(); protected:
 void set(Microsoft::CodeAnalysis::MetadataImportOptions value); };
public Microsoft.CodeAnalysis.MetadataImportOptions MetadataImportOptions { get; protected set; }
member this.MetadataImportOptions : Microsoft.CodeAnalysis.MetadataImportOptions with get, set
Public Property MetadataImportOptions As MetadataImportOptions

Property Value

Applies to