src/Shared/EntityFramework/Core/Common/internal/materialization/CoordinatorFactory`.cs
// <summary>
// Returns the "default" record state (that is, the one we use for PreRead/PastEnd reader states
// </summary>
Returns the "default" record state (that is, the one we use for PreRead/PastEnd reader states
Returns the " default " record state ( that is the one we use for PreRead / PastEnd reader states
internal RecordState GetDefaultRecordState(Shaper<RecordState> shaper)
        {
            RecordState result = null;
            if (RecordStateFactories.Count > 0)
            {
                result = (RecordState)shaper.State[RecordStateFactories[0].StateSlotNumber];
                Debug.Assert(null != result, "did you initialize the record states?");
                result.ResetToDefaultState();
            }
            return result;
        }
internal RecordState GetDefaultRecordState ( Shaper < RecordState > shaper ) { RecordState result = null ; if ( RecordStateFactories . Count > 0 ) { result = ( RecordState ) shaper . State [ RecordStateFactories [ 0 ] . StateSlotNumber ] ; Debug . Assert ( null != result , " " ) ; result . ResetToDefaultState ( ) ; } return result ; }
Returns the "default" record state (that is, the one we use for PreRead/PastEnd reader states
Returns the " default " record state ( that is the one we use for PreRead / PastEnd reader states
// CONSIDER: We're relying upon having the default for polymorphic types be  // the first item in the list; that sounds kind of risky.
shaper
Shaper<RecordState>