5 writes to ElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (5)
Binder\ForEachLoopBinder.cs (5)
856builder.ElementTypeWithAnnotations = ((PropertySymbol)builder.CurrentPropertyGetter.AssociatedSymbol).TypeWithAnnotations; 898builder.ElementTypeWithAnnotations = collectionType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Single(); 988builder.ElementTypeWithAnnotations = builder.CurrentPropertyGetter?.ReturnTypeWithAnnotations ?? TypeWithAnnotations.Create(GetSpecialType(SpecialType.System_Object, diagnostics, errorLocationSyntax)); 1080builder.ElementTypeWithAnnotations = TypeWithAnnotations.Create( 1087builder.ElementTypeWithAnnotations = collectionExprType.SpecialType == SpecialType.System_String ?
3 references to ElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (3)
Binder\ForEachEnumeratorInfo.cs (2)
86public TypeSymbol ElementType => ElementTypeWithAnnotations.Type; 111ElementTypeWithAnnotations,
Binder\ForEachLoopBinder.cs (1)
639inferredType = builder.ElementTypeWithAnnotations;