1 write to InlineArraySpanType
Microsoft.CodeAnalysis.CSharp (1)
Binder\ForEachEnumeratorInfo.cs (1)
79this.InlineArraySpanType = inlineArraySpanType;
10 references to InlineArraySpanType
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Expressions.cs (1)
5256if (enumeratorInfo is { InlineArraySpanType: not WellKnownType.Unknown })
Binder\RefSafetyAnalysis.cs (1)
1072if (node.EnumeratorInfoOpt is { InlineArraySpanType: not WellKnownType.Unknown and var spanType, InlineArrayUsedAsValue: false })
FlowAnalysis\NullableWalker.cs (1)
11058if (enumeratorInfoOpt is { InlineArraySpanType: not WellKnownType.Unknown and var wellKnownSpan })
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
1382else if (enumeratorInfo is { InlineArraySpanType: not WellKnownType.Unknown })
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (4)
56else if (node.EnumeratorInfoOpt is { InlineArraySpanType: not WellKnownType.Unknown }) 760collectionTempRefKind = enumeratorInfo.InlineArraySpanType == WellKnownType.System_Span_T ? RefKind.Ref : RefKindExtensions.StrictIn; 774if (enumeratorInfo.InlineArraySpanType == WellKnownType.System_Span_T) 780Debug.Assert(enumeratorInfo.InlineArraySpanType == WellKnownType.System_ReadOnlySpan_T);
Operations\CSharpOperationFactory.cs (2)
1906inlineArrayConversion: enumeratorInfoOpt.InlineArraySpanType is WellKnownType.Unknown ? null : Conversion.InlineArray, 1977IOperation collection = Create(boundForEachStatement.EnumeratorInfoOpt?.InlineArraySpanType is null or WellKnownType.Unknown ||