1 write to Properties
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
73this.Properties = propertiesBuilder.ToImmutableAndFree();
16 references to Properties
Microsoft.CodeAnalysis.CSharp (16)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (10)
50Debug.Assert(anonymousType.Properties.Length == paramCount); 57F.Assignment(F.Field(F.This(), anonymousType.Properties[index].BackingField), F.Parameter(_parameters[index])); 131if (anonymousType.Properties.Length > 0) 133var fields = ArrayBuilder<FieldSymbol>.GetInstance(anonymousType.Properties.Length); 134foreach (var prop in anonymousType.Properties) 187foreach (var property in anonymousType.Properties) 204for (int index = 0; index < anonymousType.Properties.Length; index++) 207F.Field(F.This(), anonymousType.Properties[index].BackingField), 243int fieldCount = anonymousType.Properties.Length; 255AnonymousTypePropertySymbol property = anonymousType.Properties[i];
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (6)
76membersBuilder.Add(new AnonymousTypeConstructorSymbol(this, this.Properties)); 95var properties = Properties.SelectAsArray(p => new AnonymousTypeKeyField(p.Name, isKey: false, ignoreCase: false)); 182if (this.Properties.Length == 0) 192int displayCount = Math.Min(this.Properties.Length, 10); 196string fieldName = this.Properties[fieldIndex].Name; 209if (this.Properties.Length > displayCount)