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