6 instantiations of AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_AnonymousTypes.cs (1)
106AnonymousTypeDescriptor descriptor = new AnonymousTypeDescriptor(fields.AsImmutableOrNull(), node.NewKeyword.GetLocation());
Binder\Binder_Expressions.cs (1)
9271var typeDescr = new AnonymousTypeDescriptor(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
805AnonymousTypeDescriptor typeDescriptor = new AnonymousTypeDescriptor(
Compilation\CSharpCompilation.cs (1)
3905var descriptor = new AnonymousTypeDescriptor(fields.ToImmutableAndFree(), Location.None);
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
107return new AnonymousTypeDescriptor(newFields, this.Location);
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
458var typeDescr = new AnonymousTypeDescriptor(fields, Location.None);
31 references to AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_AnonymousTypes.cs (1)
106AnonymousTypeDescriptor descriptor = new AnonymousTypeDescriptor(fields.AsImmutableOrNull(), node.NewKeyword.GetLocation());
Binder\Binder_Expressions.cs (1)
9271var typeDescr = new AnonymousTypeDescriptor(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
805AnonymousTypeDescriptor typeDescriptor = new AnonymousTypeDescriptor(
Compilation\CSharpCompilation.cs (1)
3905var descriptor = new AnonymousTypeDescriptor(fields.ToImmutableAndFree(), Location.None);
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (7)
15internal readonly struct AnonymousTypeDescriptor : IEquatable<AnonymousTypeDescriptor> 61public bool Equals(AnonymousTypeDescriptor desc) 69internal bool Equals(AnonymousTypeDescriptor other, TypeCompareKind comparison) 89return obj is AnonymousTypeDescriptor && this.Equals((AnonymousTypeDescriptor)obj, TypeCompareKind.ConsiderEverything); 101internal AnonymousTypeDescriptor WithNewFieldsTypes(ImmutableArray<TypeWithAnnotations> newFieldTypes) 110internal AnonymousTypeDescriptor SubstituteTypes(AbstractTypeMap map, out bool changed)
Symbols\AnonymousTypes\AnonymousTypeManager.cs (2)
31public NamedTypeSymbol ConstructAnonymousTypeSymbol(AnonymousTypeDescriptor typeDescr) 36public NamedTypeSymbol ConstructAnonymousDelegateSymbol(AnonymousTypeDescriptor typeDescr)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (10)
43internal readonly AnonymousTypeDescriptor TypeDescriptor; 52public SynthesizedDelegateKey(AnonymousTypeDescriptor typeDescr) 186var typeDescr = anonymous.TypeDescriptor; 242var genericTypeDescr = typeDescr.WithNewFieldsTypes(genericFieldTypes); 294static bool allValidTypeArguments(bool useUpdatedEscapeRules, AnonymousTypeDescriptor typeDescr, out bool needsIndexedName) 333static SynthesizedDelegateKey getTemplateKey(AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters) 345private static ImmutableArray<TypeParameterSymbol> GetReferencedTypeParameters(AnonymousTypeDescriptor typeDescr) 426AnonymousTypeDescriptor typeDescr = anonymous.TypeDescriptor; 458var typeDescr = new AnonymousTypeDescriptor(fields, Location.None); 485var templateKey = AnonymousTypeDescriptor.ComputeKey(key.Fields, f => f.Name);
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (2)
20internal readonly AnonymousTypeDescriptor TypeDescriptor; 22internal AnonymousTypeOrDelegatePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (2)
19internal AnonymousDelegatePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) : 31var typeDescr = TypeDescriptor.SubstituteTypes(map, out bool changed);
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (1)
31internal AnonymousTypePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
95internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) 152internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParametersToSubstitute)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
39internal AnonymousTypeTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :