49 references to AnonymousTypeManager
Microsoft.CodeAnalysis.CSharp (49)
Binder\Binder_AnonymousTypes.cs (1)
105AnonymousTypeManager manager = this.Compilation.AnonymousTypeManager;
Binder\Binder_Query.cs (1)
813AnonymousTypeManager manager = this.Compilation.AnonymousTypeManager;
Compilation\CSharpCompilation.cs (2)
97private AnonymousTypeManager? _lazyAnonymousTypeManager; 198internal AnonymousTypeManager AnonymousTypeManager
Compilation\MemberSemanticModel.cs (1)
1096return AnonymousTypeManager.GetAnonymousTypeProperty(anonymousType, index).GetPublicSymbol();
Compiler\AnonymousTypeMethodBodySynthesizer.cs (3)
100AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager; 162AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager; 225AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingType).Manager;
Compiler\MethodCompiler.cs (2)
581if (AnonymousTypeManager.IsAnonymousTypeTemplate(containingType)) 584foreach (var method in AnonymousTypeManager.GetAnonymousTypeHiddenMethods(containingType))
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
51internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out AnonymousTypeValue typeValue)
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (9)
86internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out AnonymousTypeValue typeValue) 331if (sourceType is AnonymousTypeManager.AnonymousTypeTemplateSymbol typeTemplate) 337else if (sourceType is AnonymousTypeManager.AnonymousDelegateTemplateSymbol delegateTemplate) 354return Visit(AnonymousTypeManager.TranslateAnonymousTypeSymbol(sourceType)); 466internal bool TryGetAnonymousDelegateValue(AnonymousTypeManager.AnonymousDelegateTemplateSymbol delegateSymbol, out SynthesizedDelegateValue otherDelegateSymbol) 474internal bool TryGetAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out AnonymousTypeValue otherType) 478if (template is AnonymousTypeManager.AnonymousTypeTemplateSymbol typeTemplate) 483var delegateTemplate = (AnonymousTypeManager.AnonymousDelegateTemplateSymbol)template; 896return this.Visit(AnonymousTypeManager.TranslateAnonymousTypeSymbol(type));
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
273internal override bool TryGetPreviousAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out AnonymousTypeValue typeValue)
Emitter\Model\PEModuleBuilder.cs (4)
528internal virtual bool TryGetPreviousAnonymousTypeValue(AnonymousTypeManager.AnonymousTypeOrDelegateTemplateSymbol template, out AnonymousTypeValue typeValue) 536internal virtual bool TryGetAnonymousDelegateValue(AnonymousTypeManager.AnonymousDelegateTemplateSymbol template, out SynthesizedDelegateValue delegateValue) 968namedTypeSymbol = AnonymousTypeManager.TranslateAnonymousTypeSymbol(namedTypeSymbol); 1256methodSymbol = AnonymousTypeManager.TranslateAnonymousTypeMethodSymbol(methodSymbol);
FlowAnalysis\NullableWalker.cs (4)
3588return AnonymousTypeManager.GetAnonymousTypeFieldTypes(type).Any(static t => canIgnoreAnyType(t.Type)); 4498anonymousType = AnonymousTypeManager.ConstructAnonymousTypeSymbol(anonymousType, argumentsWithAnnotations); 4505var property = AnonymousTypeManager.GetAnonymousTypeProperty(anonymousType, i); 8200return AnonymousTypeManager.GetAnonymousTypeProperty(containingType, memberIndex.GetValueOrDefault());
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (1)
1070membersBuilder.Add(_bound.MethodInfo(AnonymousTypeManager.GetAnonymousTypeProperty(anonType, i).GetMethod, _bound.WellKnownType(WellKnownType.System_Reflection_MethodInfo)));
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
164var anonymousType = (AnonymousTypeManager.AnonymousTypePublicSymbol)type; 199ImmutableArray<BoundExpression> getAnonymousTypeValues(BoundWithExpression withExpr, BoundExpression oldValue, AnonymousTypeManager.AnonymousTypePublicSymbol anonymousType,
Operations\CSharpOperationFactory_Methods.cs (1)
435PropertySymbol property = AnonymousTypeManager.GetAnonymousTypeProperty(type.GetSymbol<NamedTypeSymbol>(), i);
Symbols\AbstractTypeMap.cs (1)
51return ((AnonymousTypeManager.AnonymousTypeOrDelegatePublicSymbol)previous).SubstituteTypes(this);
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (2)
18internal readonly AnonymousTypeManager Manager; 23internal AnonymousTypeOrDelegatePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr)
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.DelegatePublicSymbol.cs (1)
19internal AnonymousDelegatePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :
Symbols\AnonymousTypes\PublicSymbols\AnonymousType.TypePublicSymbol.cs (1)
31internal AnonymousTypePublicSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.DelegateTemplateSymbol.cs (5)
31AnonymousTypeManager manager, 80typeParameters.Add(new AnonymousTypeManager.AnonymousTypeParameterSymbol(containingType, i, "T" + (i + 1), 86typeParameters.Add(new AnonymousTypeManager.AnonymousTypeParameterSymbol(containingType, parameterCount, "TResult", allowsRefLikeType: allowRefLikeTypes)); 98internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) 158internal AnonymousDelegateTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr, ImmutableArray<TypeParameterSymbol> typeParametersToSubstitute)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
150AnonymousTypeManager manager = ((AnonymousTypeTemplateSymbol)this.ContainingSymbol).Manager;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
176protected AnonymousTypeManager Manager
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (1)
39internal AnonymousTypeTemplateSymbol(AnonymousTypeManager manager, AnonymousTypeDescriptor typeDescr) :
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (2)
39internal readonly AnonymousTypeManager Manager; 41internal AnonymousTypeOrDelegateTemplateSymbol(AnonymousTypeManager manager, Location location)
Symbols\TypeSymbolExtensions.cs (1)
857var anonymous = (AnonymousTypeManager.AnonymousTypeOrDelegatePublicSymbol)current;