Udostępnij za pośrednictwem


ISymbol.HasUnsupportedMetadata Property

Definition

Indicates that this symbol uses metadata that cannot be supported by the language.

Examples include:

  • Pointer types in VB
  • ByRef return type
  • Required custom modifiers

This is distinguished from, for example, references to metadata symbols defined in assemblies that weren't referenced. Symbols where this returns true can never be used successfully, and thus should never appear in any IDE feature.

This is set for metadata symbols, as follows:

  • Type - if a type is unsupported (for example, a pointer type)
  • Method - parameter or return type is unsupported
  • Field - type is unsupported
  • Event - type is unsupported
  • Property - type is unsupported
  • Parameter - type is unsupported

public:
 property bool HasUnsupportedMetadata { bool get(); };
public bool HasUnsupportedMetadata { get; }
member this.HasUnsupportedMetadata : bool
Public ReadOnly Property HasUnsupportedMetadata As Boolean

Property Value

Applies to