Class LocalDeclarationKindExtensions
Reads a LocalDeclarationKind.
public static class LocalDeclarationKindExtensions
- Inheritance
-
LocalDeclarationKindExtensions
- Inherited Members
Methods
IsImplicit(LocalDeclarationKind)
Whether the variable was never actually declared — it came into being because something referred to it.
public static bool IsImplicit(this LocalDeclarationKind kind)
Parameters
kindLocalDeclarationKindHow the variable entered its procedure scope.
Returns
Remarks
Both implicit kinds are legal VBA and both are worth reporting: a reader cannot tell a deliberate implicit variable from a misspelling of a real one.