20 instantiations of AnonymousTypeField
Microsoft.CodeAnalysis.VisualBasic (20)
Binding\Binder_AnonymousTypes.vb (1)
200Me._fields(fieldIndex) = New AnonymousTypeField(fieldName, fieldNode.GetLocation(), fieldIsKey)
Binding\Binder_Lambda.vb (2)
800parameterDescriptors(i) = New AnonymousTypeField( 810parameterDescriptors(i) = New AnonymousTypeField(returnParamName, returnType, source.Syntax.GetLocation(), False)
Binding\Binder_Query.vb (12)
258fields(i) = New AnonymousTypeField(rangeVar.Name, rangeVar.Type, rangeVar.Syntax.GetLocation(), isKeyOrByRef:=True) 2787fields(i) = New AnonymousTypeField( 3215fields(j) = New AnonymousTypeField(leftVar.Name, leftVar.Type, leftVar.Syntax.GetLocation(), isKeyOrByRef:=True) 3230fields(j) = New AnonymousTypeField(param.Name, param.Type, param.Syntax.GetLocation(), isKeyOrByRef:=True) 3236fields(lastIndex) = New AnonymousTypeField( 3350fields(i) = New AnonymousTypeField( 3807fields(0) = New AnonymousTypeField(GetQueryLambdaParameterName(keysRangeVariablesPart1), 3817fields(0) = New AnonymousTypeField(GetQueryLambdaParameterNameLeft(keysRangeVariablesPart1), 3823fields(1) = New AnonymousTypeField(GetQueryLambdaParameterNameRight(keysRangeVariablesPart2), 3837fields(i) = New AnonymousTypeField(rangeVar.Name, rangeVar.Type, rangeVar.Syntax.GetLocation(), isKeyOrByRef:=True) 3852fields(keys) = New AnonymousTypeField(rangeVar.Name, rangeVar.Type, rangeVar.Syntax.GetLocation(), isKeyOrByRef:=True) 3864fields(keys + i) = New AnonymousTypeField(
BoundTree\GroupTypeInferenceLambda.vb (1)
23ImmutableArray.Create(New AnonymousTypeField(GeneratedNameConstants.ItAnonymous,
Compilation\VisualBasicCompilation.vb (1)
2908fields.Add(New AnonymousTypeField(name, DirectCast(type, TypeSymbol), loc, isReadOnly))
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (2)
126newFields(i) = New AnonymousTypeField(current.Name, 193Me.New(name, Nothing, location, isKey)
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
165Dim names = key.Fields.SelectAsArray(Function(f) New AnonymousTypeField(f.Name, Location.None, f.IsKey))
32 references to AnonymousTypeField
Microsoft.CodeAnalysis.VisualBasic (32)
Binding\Binder_AnonymousTypes.vb (5)
30For Each field As AnonymousTypeField In typeDescr.Fields 76Private ReadOnly _fields() As AnonymousTypeField 139Me._fields = New AnonymousTypeField(initializersCount - 1) {} 327Friend Function TryGetField(name As String, <Out()> ByRef field As AnonymousTypeField, <Out()> ByRef fieldIndex As Integer) As Boolean 398Dim field As AnonymousTypeField = Nothing
Binding\Binder_Lambda.vb (1)
795Dim parameterDescriptors(parameters.Length) As AnonymousTypeField
Binding\Binder_Query.vb (10)
247Dim fields = New AnonymousTypeField(selectors.Length - 1) {} 2783Dim fields = New AnonymousTypeField(selectVariables.Count - 1) {} 3186Dim fields As AnonymousTypeField() 3210fields = New AnonymousTypeField(lastIndex) {} 3225fields = New AnonymousTypeField(lastIndex) {} 3347Dim fields(joinConditions.Count - 1) As AnonymousTypeField 3785Dim fields As AnonymousTypeField() 3804fields = New AnonymousTypeField(selectors.Length - 1) {} 3814fields = New AnonymousTypeField(selectors.Length - 1) {} 3833fields = New AnonymousTypeField(selectors.Length - 1) {}
Compilation\VisualBasicCompilation.vb (1)
2901Dim fields = ArrayBuilder(Of AnonymousTypeField).GetInstance()
Symbols\AnonymousTypes\AnonymousTypeDescriptor.vb (7)
28Public ReadOnly Fields As ImmutableArray(Of AnonymousTypeField) 43Public ReadOnly Property Parameters As ImmutableArray(Of AnonymousTypeField) 49Public Sub New(fields As ImmutableArray(Of AnonymousTypeField), location As Location, isImplicitlyDeclared As Boolean) 95Dim myFields As ImmutableArray(Of AnonymousTypeField) = Me.Fields 97Dim otherFields As ImmutableArray(Of AnonymousTypeField) = other.Fields 121Dim newFields(fieldCount - 1) As AnonymousTypeField 125Dim current As AnonymousTypeField = Me.Fields(i)
Symbols\AnonymousTypes\AnonymousTypeExtensions.vb (1)
12Friend Function IsSubDescription(fields As ImmutableArray(Of AnonymousTypeField)) As Boolean
Symbols\AnonymousTypes\AnonymousTypeManager_Templates.vb (1)
122Dim parameters As ImmutableArray(Of AnonymousTypeField) = delegateDescr.Parameters
Symbols\AnonymousTypes\PublicSymbols\AnonymousDelegate_TypePublicSymbol.vb (2)
31Dim parameterDescriptors As ImmutableArray(Of AnonymousTypeField) = typeDescr.Parameters 133Private Shared Function ParameterFromField(container As SynthesizedDelegateMethodSymbol, field As AnonymousTypeField, ordinal As Integer) As ParameterSymbol
Symbols\AnonymousTypes\PublicSymbols\AnonymousType_TypePublicSymbol.vb (1)
43Dim field As AnonymousTypeField = typeDescr.Fields(fieldIndex)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousDelegate_TemplateSymbol.vb (1)
38Dim parameterDescriptors As ImmutableArray(Of AnonymousTypeField) = typeDescr.Parameters
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_PropertySymbol.vb (1)
26Public Sub New(container As AnonymousTypeTemplateSymbol, field As AnonymousTypeField, index As Integer, typeSymbol As TypeSymbol)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType_TemplateSymbol.vb (1)
44Dim field As AnonymousTypeField = typeDescr.Fields(fieldIndex)