MethodBaseExtensions.IsPublic Method
Definition
Returns true if the method is public, that is, its Accessibility is Public; false otherwise.
c#
public static bool IsPublic(this MethodBase method);Parameters
| Name | Type | Description |
|---|---|---|
method | MethodBase | The method. |
Returns
true if the method is Public; false otherwise.
Remarks
Equivalent to IsPublic; included for completion.