AttributeTableBuilder.ValidateTable Method

Definition

Verifies that the attribute table that is being built contains valid attribute information.

public:
 void ValidateTable();
public void ValidateTable ();
member this.ValidateTable : unit -> unit
Public Sub ValidateTable ()

Exceptions

the state of the table is invalid.

Remarks

Some overrides of AddCustomAttributes cannot validate that values passed to their parameters represent valid members on classes. ValidateTable verifies that all custom attribute information corresponds to actual members. This method can take a long time to complete and is not recommended unless validation is explicitly needed.

Applies to