There are two or more symbols in the current context with the same name. This exception is a special case of BadSyntaxException.
Parent Class
Type | Name | Signature |
---|---|---|
constructor | DuplicateSymbolException | public DuplicateSymbolException(string) |
public DuplicateSymbolException(string msg)
Create a new instance of DuplicateSymbolException with given message. While entirely legal, it's not recommended for a user to create such instances.
Parameters