5 writes to ElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (5)
Binder\ForEachLoopBinder.cs (5)
1029
builder.
ElementTypeWithAnnotations
= ((PropertySymbol)builder.CurrentPropertyGetter.AssociatedSymbol).TypeWithAnnotations;
1077
builder.
ElementTypeWithAnnotations
= collectionType.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.Single();
1163
builder.
ElementTypeWithAnnotations
= builder.CurrentPropertyGetter?.ReturnTypeWithAnnotations ?? TypeWithAnnotations.Create(GetSpecialType(SpecialType.System_Object, diagnostics, errorLocationSyntax));
1285
builder.
ElementTypeWithAnnotations
= TypeWithAnnotations.Create(
1292
builder.
ElementTypeWithAnnotations
= collectionExprType.SpecialType == SpecialType.System_String ?
4 references to ElementTypeWithAnnotations
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachEnumeratorInfo.cs (2)
102
public TypeSymbol ElementType =>
ElementTypeWithAnnotations
.Type;
129
ElementTypeWithAnnotations
,
Binder\ForEachLoopBinder.cs (2)
692
inferredType = builder.
ElementTypeWithAnnotations
;
865
((result is EnumeratorResult.Succeeded && builder.
ElementTypeWithAnnotations
.Equals(elementField.TypeWithAnnotations, TypeCompareKind.AllIgnoreOptions) &&