You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.176
Former-commit-id: 832f8d999f57cff48d1880b97be189dfed6c9dc2
This commit is contained in:
parent
64ac736ec5
commit
7aefecd37c
@@ -56,7 +56,7 @@ namespace System {
|
||||
if (field == null)
|
||||
throw new ArgumentException(Environment.GetResourceString("Argument_MustBeRuntimeFieldInfo"));
|
||||
|
||||
if (field.IsInitOnly || field.IsStatic)
|
||||
if (field.IsStatic)
|
||||
throw new ArgumentException(Environment.GetResourceString("Argument_TypedReferenceInvalidField"));
|
||||
|
||||
if (targetType != field.GetDeclaringTypeInternal() && !targetType.IsSubclassOf(field.GetDeclaringTypeInternal()))
|
||||
|
Reference in New Issue
Block a user