CompilationOptions.MetadataImportOptions Property
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.
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