8 references to TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
9021
expr.Type.HasInlineArrayAttribute(out int length) && expr.Type.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
Binder\ForEachLoopBinder.cs (1)
816
if (!isAsync && collectionExpr.Type?.HasInlineArrayAttribute(out _) == true && collectionExpr.Type.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
FlowAnalysis\DefiniteAssignment.cs (3)
510
if (parameterType.HasInlineArrayAttribute(out int length) && length > 1 && parameterType.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
1279
if (!foundUnassignedField && containingType.HasInlineArrayAttribute(out int length) && length > 1 && containingType.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
1694
if (structType.HasInlineArrayAttribute(out int length) && length > 1 && structType.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is object)
FlowAnalysis\FlowAnalysisPass.cs (1)
123
if (containingType.HasInlineArrayAttribute(out int length) && length > 1 && containingType.
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1830
if (
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is FieldSymbol elementField)
Symbols\TypeSymbol.cs (1)
2549
return
TryGetPossiblyUnsupportedByLanguageInlineArrayElementField
() is { } field && IsInlineArrayElementFieldSupported(field) ? field : null;