private static Expression GetValidEntryExistsTest(DictionaryEntryVariablePair dictionaryVariables) { if (dictionaryVariables.UseDirectValueAccess) { return(null); } var valueVariableAssignment = dictionaryVariables.GetEntryValueAssignment(); var valueNonNull = valueVariableAssignment.GetIsNotDefaultComparison(); return(valueNonNull); }