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