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