// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
InstanceReceiver:IConversionExpression(ConversionKind.Basic,Implicit)(OperationKind.ConversionExpression,Type:System.Collections.Generic.IEnumerable(OfSystem.Int32))(Syntax:'y In New Integer() {x}')
IOperation:(OperationKind.None)(Syntax:'y In New Integer() {x}')
InstanceReceiver:IConversionExpression(ConversionKind.Basic,Implicit)(OperationKind.ConversionExpression,Type:System.Collections.Generic.IEnumerable(OfSystem.String))(Syntax:'y In x')
Dimc=FromyInxGroupByw=x,z=yIntoCount()'BIND:"From y In x Group By w = x, z = y Into Count()"
EndSub
EndClass]]>.Value
DimexpectedOperationTree=<![CDATA[
IOperation:(OperationKind.None)(Syntax:'From y In x ... nto Count()')
Children(1):IOperation:(OperationKind.None)(Syntax:'Group By w ... nto Count()')
Children(1):IInvocationExpression(FunctionSystem.Collections.Generic.IEnumerable(OfSystem.String).GroupBy(Of<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String>,<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String,KeyCountAsSystem.Int32>)(keySelectorAsSystem.Func(OfSystem.String,<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String>),resultSelectorAsSystem.Func(Of<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String>,System.Collections.Generic.IEnumerable(OfSystem.String),<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String,KeyCountAsSystem.Int32>))AsSystem.Collections.Generic.IEnumerable(Of<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String,KeyCountAsSystem.Int32>))(OperationKind.InvocationExpression,Type:System.Collections.Generic.IEnumerable(Of<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String,KeyCountAsSystem.Int32>))(Syntax:'Group By w ... nto Count()')
InstanceReceiver:IConversionExpression(ConversionKind.Basic,Implicit)(OperationKind.ConversionExpression,Type:System.Collections.Generic.IEnumerable(OfSystem.String))(Syntax:'y In x')
IArgument(ArgumentKind.DefaultValue,MatchingParameter:resultSelector)(OperationKind.Argument)(Syntax:'Group By w ... nto Count()')
IConversionExpression(ConversionKind.Basic,Implicit)(OperationKind.ConversionExpression,Type:System.Func(Of<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String>,System.Collections.Generic.IEnumerable(OfSystem.String),<anonymoustype:KeywAsSystem.String(),KeyzAsSystem.String,KeyCountAsSystem.Int32>))(Syntax:'Group By w ... nto Count()')
IOperation:(OperationKind.None)(Syntax:'Group By w ... nto Count()')
Children(1):IOperation:(OperationKind.None)(Syntax:'Group By w ... nto Count()')
InstanceReceiver:IParameterReferenceExpression:$VB$ItAnonymous(OperationKind.ParameterReferenceExpression,Type:System.Collections.Generic.IEnumerable(OfSystem.String))(Syntax:'Group By w ... nto Count()')