diff --git a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Constructors/RoDefinitionConstructor.cs b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Constructors/RoDefinitionConstructor.cs index db47928f2f4e4..0540422a9920e 100644 --- a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Constructors/RoDefinitionConstructor.cs +++ b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Constructors/RoDefinitionConstructor.cs @@ -13,7 +13,7 @@ namespace System.Reflection.TypeLoading internal sealed class RoDefinitionConstructor : RoConstructor where TMethodDecoder : IMethodDecoder { private readonly RoInstantiationProviderType _declaringType; - private readonly TMethodDecoder _decoder; + private TMethodDecoder _decoder; internal RoDefinitionConstructor(RoInstantiationProviderType declaringType, TMethodDecoder decoder) : base() diff --git a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Methods/RoDefinitionMethod.cs b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Methods/RoDefinitionMethod.cs index 3a2a82883f52f..a8589591cabf6 100644 --- a/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Methods/RoDefinitionMethod.cs +++ b/src/libraries/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Methods/RoDefinitionMethod.cs @@ -31,7 +31,7 @@ protected RoDefinitionMethod(Type reflectedType) internal sealed partial class RoDefinitionMethod : RoDefinitionMethod where TMethodDecoder : IMethodDecoder { private readonly RoInstantiationProviderType _declaringType; - private readonly TMethodDecoder _decoder; + private TMethodDecoder _decoder; internal RoDefinitionMethod(RoInstantiationProviderType declaringType, Type reflectedType, TMethodDecoder decoder) : base(reflectedType)