title: Is there any way to know the result of conversion to Method Call Syntax when writing Query Expression?
body: <p>There is a <strong>Method Call Syntax</strong> expressed as <code>GroupJoin()</code>.</p>
  <pre class="lang-cs prettyprint-override"><code>var query = people // outer
          .GroupJoin(pets, // inner
              person =&gt; person, // outerKeySelector
              pet =&gt; pet.Owner, // innerKeySelector
              (person, petCollection) =&gt; // resultSelector
                  new
                  {
                      OwnerName = person.Name,
                      Pets = petCollection.Select(pet =&gt; pet.Name)
                  });
  </code></pre>
  <p>I changed it to a <strong>Query Expression</strong> for better understanding.</p>
  <pre class="lang-cs prettyprint-override"><code>var query =
          from person in people
          join pet in pets on person equals pet.Owner
              into petCollection
          select
              new
              {
                  OwnerName = person.Name,
                  Pets =
                      from pet in petCollection
                      select pet.Name
              };
  </code></pre>
  <p><a href="https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.groupjoin?view=net-6.0#system-linq-enumerable-groupjoin-4(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-2))-system-func((-1-2))-system-func((-0-system-collections-generic-ienumerable((-1))-3)))" rel="nofollow noreferrer">The examples on MSDN</a> don't provide query expressions.</p>
  <p>The execution results of what I changed are identical to each other, but I can't be sure that I have changed them correctly. (Because I don't know much about this yet.)</p>
  <p>I know that the C# Compiler turns query expressions into method call syntax.</p>
  <p>So, is there any way to know the result of conversion to <strong>Method Call Syntax</strong> when writing <strong>Query Expression</strong>?</p>