1 instantiation of AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Query.cs (1)
806AnonymousTypeDescriptor typeDescriptor = new AnonymousTypeDescriptor(
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)
10881var typeDescr = new AnonymousTypeDescriptor(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
806AnonymousTypeDescriptor typeDescriptor = new AnonymousTypeDescriptor(
Compilation\CSharpCompilation.cs (1)
4199var 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)
44internal readonly AnonymousTypeDescriptor TypeDescriptor; 53public SynthesizedDelegateKey(AnonymousTypeDescriptor typeDescr) 187var typeDescr = anonymous.TypeDescriptor; 247var genericTypeDescr = typeDescr.WithNewFieldsTypes(genericFieldTypes); 299static bool allValidTypeArguments(bool useUpdatedEscapeRules, bool runtimeSupportsByRefLikeGenerics, AnonymousTypeDescriptor typeDescr, out bool needsIndexedName) 339static SynthesizedDelegateKey getTemplateKey(AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters) 351private static ImmutableArray<TypeParameterSymbol> GetReferencedTypeParameters(AnonymousTypeDescriptor typeDescr) 432AnonymousTypeDescriptor typeDescr = anonymous.TypeDescriptor; 464var typeDescr = new AnonymousTypeDescriptor(fields, Location.None); 491var templateKey = AnonymousTypeDescriptor.ComputeKey(key.Fields, f => f.Name);
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (2)
21internal readonly AnonymousTypeDescriptor TypeDescriptor; 23internal 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)
98internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) 158internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParametersToSubstitute)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
39internal AnonymousTypeTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :