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