1 instantiation of AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Query.cs (1)
806
AnonymousTypeDescriptor typeDescriptor = new
AnonymousTypeDescriptor
(
31 references to AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_AnonymousTypes.cs (1)
106
AnonymousTypeDescriptor
descriptor = new AnonymousTypeDescriptor(fields.AsImmutableOrNull(), node.NewKeyword.GetLocation());
Binder\Binder_Expressions.cs (1)
10881
var
typeDescr = new AnonymousTypeDescriptor(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
806
AnonymousTypeDescriptor
typeDescriptor = new AnonymousTypeDescriptor(
Compilation\CSharpCompilation.cs (1)
4199
var
descriptor = new AnonymousTypeDescriptor(fields.ToImmutableAndFree(), Location.None);
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (7)
15
internal readonly struct AnonymousTypeDescriptor : IEquatable<
AnonymousTypeDescriptor
>
61
public bool Equals(
AnonymousTypeDescriptor
desc)
69
internal bool Equals(
AnonymousTypeDescriptor
other, TypeCompareKind comparison)
89
return obj is
AnonymousTypeDescriptor
&& this.Equals((
AnonymousTypeDescriptor
)obj, TypeCompareKind.ConsiderEverything);
101
internal
AnonymousTypeDescriptor
WithNewFieldsTypes(ImmutableArray<TypeWithAnnotations> newFieldTypes)
110
internal
AnonymousTypeDescriptor
SubstituteTypes(AbstractTypeMap map, out bool changed)
Symbols\AnonymousTypes\AnonymousTypeManager.cs (2)
31
public NamedTypeSymbol ConstructAnonymousTypeSymbol(
AnonymousTypeDescriptor
typeDescr)
36
public NamedTypeSymbol ConstructAnonymousDelegateSymbol(
AnonymousTypeDescriptor
typeDescr)
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (10)
44
internal readonly
AnonymousTypeDescriptor
TypeDescriptor;
53
public SynthesizedDelegateKey(
AnonymousTypeDescriptor
typeDescr)
187
var
typeDescr = anonymous.TypeDescriptor;
247
var
genericTypeDescr = typeDescr.WithNewFieldsTypes(genericFieldTypes);
299
static bool allValidTypeArguments(bool useUpdatedEscapeRules, bool runtimeSupportsByRefLikeGenerics,
AnonymousTypeDescriptor
typeDescr, out bool needsIndexedName)
339
static SynthesizedDelegateKey getTemplateKey(
AnonymousTypeDescriptor
typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters)
351
private static ImmutableArray<TypeParameterSymbol> GetReferencedTypeParameters(
AnonymousTypeDescriptor
typeDescr)
432
AnonymousTypeDescriptor
typeDescr = anonymous.TypeDescriptor;
464
var
typeDescr = new AnonymousTypeDescriptor(fields, Location.None);
491
var templateKey =
AnonymousTypeDescriptor
.ComputeKey(key.Fields, f => f.Name);
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (2)
21
internal readonly
AnonymousTypeDescriptor
TypeDescriptor;
23
internal AnonymousTypeOrDelegatePublicSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (2)
19
internal AnonymousDelegatePublicSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr) :
31
var
typeDescr = TypeDescriptor.SubstituteTypes(map, out bool changed);
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (1)
31
internal AnonymousTypePublicSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr) :
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (2)
98
internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr)
158
internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr, ImmutableArray<TypeParameterSymbol> typeParametersToSubstitute)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
39
internal AnonymousTypeTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr) :