4 instantiations of AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
11261
var typeDescr = new
AnonymousTypeDescriptor
(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
812
AnonymousTypeDescriptor typeDescriptor = new
AnonymousTypeDescriptor
(
Compilation\CSharpCompilation.cs (1)
4310
var descriptor = new
AnonymousTypeDescriptor
(fields.ToImmutableAndFree(), Location.None);
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (1)
108
return new
AnonymousTypeDescriptor
(newFields, this.Location);
29 references to AnonymousTypeDescriptor
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_AnonymousTypes.cs (1)
106
AnonymousTypeDescriptor
descriptor = new AnonymousTypeDescriptor(fields.AsImmutableOrNull(), node.NewKeyword.GetLocation());
Binder\Binder_Expressions.cs (1)
11261
var
typeDescr = new AnonymousTypeDescriptor(fieldsBuilder.ToImmutableAndFree(), location);
Binder\Binder_Query.cs (1)
812
AnonymousTypeDescriptor
typeDescriptor = new AnonymousTypeDescriptor(
Compilation\CSharpCompilation.cs (1)
4310
var
descriptor = new AnonymousTypeDescriptor(fields.ToImmutableAndFree(), Location.None);
Symbols\AnonymousTypes\AnonymousTypeDescriptor.cs (7)
16
internal readonly struct AnonymousTypeDescriptor : IEquatable<
AnonymousTypeDescriptor
>
62
public bool Equals(
AnonymousTypeDescriptor
desc)
70
internal bool Equals(
AnonymousTypeDescriptor
other, TypeCompareKind comparison)
90
return obj is
AnonymousTypeDescriptor
&& this.Equals((
AnonymousTypeDescriptor
)obj, TypeCompareKind.ConsiderEverything);
102
internal
AnonymousTypeDescriptor
WithNewFieldsTypes(ImmutableArray<TypeWithAnnotations> newFieldTypes)
111
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 (8)
42
internal readonly
AnonymousTypeDescriptor
TypeDescriptor;
51
public SynthesizedDelegateKey(
AnonymousTypeDescriptor
typeDescr)
181
var
typeDescr = anonymous.TypeDescriptor;
241
var
genericTypeDescr = typeDescr.WithNewFieldsTypes(genericFieldTypes);
293
static bool allValidTypeArguments(bool useUpdatedEscapeRules, bool runtimeSupportsByRefLikeGenerics,
AnonymousTypeDescriptor
typeDescr, out bool needsIndexedName)
333
static SynthesizedDelegateKey getTemplateKey(
AnonymousTypeDescriptor
typeDescr, ImmutableArray<TypeParameterSymbol> typeParameters)
345
private static ImmutableArray<TypeParameterSymbol> GetReferencedTypeParameters(
AnonymousTypeDescriptor
typeDescr)
426
AnonymousTypeDescriptor
typeDescr = anonymous.TypeDescriptor;
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (2)
22
internal readonly
AnonymousTypeDescriptor
TypeDescriptor;
24
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)
99
internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr)
159
internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr, ImmutableArray<TypeParameterSymbol> typeParametersToSubstitute)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
39
internal AnonymousTypeTemplateSymbol(AnonymousTypeManager manager,
AnonymousTypeDescriptor
typeDescr) :