FieldInfoExtensions.IsReadOnly Method
Definition
Returns true if the field is readonly; false otherwise.
c#
public static bool IsReadOnly(this FieldInfo field);Parameters
| Name | Type | Description |
|---|---|---|
field | FieldInfo | The field. |
Returns
true if the field is readonly; false otherwise.
Remarks
Equivalent to IsInitOnly.