src/Shared/EntityFramework/Core/Objects/ObjectParameterCollection.cs
// <summary>
// This method successfully returns only if the parameter collection is not considered 'locked';
// otherwise an <see cref="InvalidOperationException" /> is thrown.
// </summary>
This method successfully returns only if the parameter collection is not considered 'locked';
otherwise an  is thrown.
This method successfully returns only if the parameter collection is not considered ' locked ' ; otherwise an is thrown .
private void CheckUnlocked()
        {
            if (_locked)
            {
                throw new InvalidOperationException(Strings.ObjectParameterCollection_ParametersLocked);
            }
        }
private void CheckUnlocked ( ) { if ( _locked ) { throw new InvalidOperationException ( Strings . ObjectParameterCollection_ParametersLocked ) ; } }
This method successfully returns only if the parameter collection is not considered 'locked';
otherwise an  is thrown.
This method successfully returns only if the parameter collection is not considered ' locked ' ; otherwise an is thrown .