5 instantiations of AnonymousTypeField
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_AnonymousTypes.cs (1)
92fields[i] = new AnonymousTypeField(
Binder\Binder_Expressions.cs (1)
10876fieldsBuilder.Add(new AnonymousTypeField(name: "", location, returnType, returnRefKind, ScopedKind.None));
Binder\Binder_Query.cs (1)
818new AnonymousTypeField(fieldName, fieldValue.Syntax.Location, TypeWithAnnotations.Create(TypeOrError(fieldValue)), RefKind.None, ScopedKind.None);
Compilation\CSharpCompilation.cs (1)
4191fields.Add(new AnonymousTypeField(name, location, TypeWithAnnotations.Create(type, nullableAnnotation), RefKind.None, ScopedKind.None));
Symbols\AnonymousTypes\AnonymousTypeField.cs (1)
58return new AnonymousTypeField(Name, Location, type, RefKind, Scope, DefaultValue, IsParams, HasUnscopedRefAttribute);
30 references to AnonymousTypeField
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_AnonymousTypes.cs (3)
32AnonymousTypeField[] fields = new AnonymousTypeField[fieldCount]; 118AnonymousTypeField field = fields[i];
Binder\Binder_Expressions.cs (1)
10861var fieldsBuilder = ArrayBuilder<AnonymousTypeField>.GetInstance(parameterTypes.Length + 1);
Binder\Binder_Query.cs (1)
817AnonymousTypeField createField(string fieldName, BoundExpression fieldValue) =>
Compilation\CSharpCompilation.cs (1)
4183var fields = ArrayBuilder<AnonymousTypeField>.GetInstance();
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (4)
21public readonly ImmutableArray<AnonymousTypeField> Fields; 32public AnonymousTypeDescriptor(ImmutableArray<AnonymousTypeField> fields, Location location) 55foreach (var field in this.Fields) 81static (x, y, comparison) => AnonymousTypeField.Equals(x, y, comparison));
Symbols\AnonymousTypes\AnonymousTypeField.cs (3)
56public AnonymousTypeField WithType(TypeWithAnnotations type) 61internal static bool Equals(in AnonymousTypeField x, in AnonymousTypeField y, TypeCompareKind comparison)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (5)
205var field = fields[i]; 311var returnParameter = fields[n - 1]; 315static bool hasDefaultScope(bool useUpdatedEscapeRules, AnonymousTypeField field) 329static bool isValidTypeArgument(bool useUpdatedEscapeRules, bool runtimeSupportsByRefLikeGenerics, AnonymousTypeField field, ref bool needsIndexedName) 354foreach (var field in typeDescr.Fields)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (2)
60var field = fields[i]; 64var returnField = fields.Last();
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (6)
119ImmutableArray<AnonymousTypeField> fields) 122var returnParameter = fields[^1]; 129var field = fields[i]; 193ImmutableArray<AnonymousTypeField> fields, 200var field = fields[i]; 205var returnParameter = fields[^1];
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.PropertySymbol.cs (3)
29internal AnonymousTypePropertySymbol(AnonymousTypeTemplateSymbol container, AnonymousTypeField field, TypeWithAnnotations fieldTypeWithAnnotations, int index) : 34internal AnonymousTypePropertySymbol(AnonymousTypePublicSymbol container, AnonymousTypeField field, int index) : 41AnonymousTypeField field,
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
55AnonymousTypeField field = typeDescr.Fields[fieldIndex];