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