1 write to Fields
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
34this.Fields = fields;
23 references to Fields
Microsoft.CodeAnalysis.CSharp (23)
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (7)
53Debug.Assert(!this.Fields.IsDefault); 55foreach (var field in this.Fields) 78return Fields.SequenceEqual( 79other.Fields, 104Debug.Assert(newFieldTypes.Length == this.Fields.Length); 106var newFields = Fields.ZipAsArray(newFieldTypes, static (field, type) => field.WithType(type)); 112var oldFieldTypes = Fields.SelectAsArray(f => f.TypeWithAnnotations);
Symbols\AnonymousTypes\AnonymousTypeManager.cs (1)
60var fields = anonymous.TypeDescriptor.Fields;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (4)
197var fields = typeDescr.Fields; 302var fields = typeDescr.Fields; 354foreach (var field in typeDescr.Fields) 456var typeArguments = typeDescr.Fields.SelectAsArray(f => f.Type);
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (1)
55var fields = TypeDescriptor.Fields;
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (2)
36var fields = typeDescr.Fields; 71var oldFieldTypes = TypeDescriptor.Fields.SelectAsArray(f => f.TypeWithAnnotations);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (5)
108parameterCount: typeDescr.Fields.Length - 1, 109returnsVoid: typeDescr.Fields[^1].Type.IsVoidType(), 110hasParamsArray: typeDescr.Fields is [.., { IsParams: true }, _]); 114var invokeMethod = createInvokeMethod(this, typeDescr.Fields); 188var invokeMethod = createInvokeMethod(this, typeDescr.Fields, typeMap);
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (2)
44int fieldsCount = typeDescr.Fields.Length; 55AnonymousTypeField field = typeDescr.Fields[fieldIndex];
Symbols\TypeSymbolExtensions.cs (1)
858var fields = anonymous.TypeDescriptor.Fields;