diff options
Diffstat (limited to 'src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs')
-rw-r--r-- | src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs b/src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs index 4f095421c..4452e8d6e 100644 --- a/src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs +++ b/src/Common/src/TypeSystem/Common/FieldDesc.FieldLayout.cs @@ -33,16 +33,13 @@ namespace Internal.TypeSystem } /// <summary> - /// For static fields, represents whether or not the field is held in the GC or non GC statics region - /// Does not apply to thread static fields. + /// For static fields, represents whether or not the field is held in the GC or non GC statics region. /// </summary> public bool HasGCStaticBase { get { - // If this assert fires then make sure the caller checks the IsThreadStatic attribute - // of FieldDesc before checking its HasGCStaticBase property. - Debug.Assert(IsStatic && !IsThreadStatic); + Debug.Assert(IsStatic); return Context.ComputeHasGCStaticBase(this); } } |