22 overrides of HasInlineArrayAttribute
Microsoft.CodeAnalysis.CSharp (22)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
290
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
330
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\ArrayTypeSymbol.cs (1)
492
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\DynamicTypeSymbol.cs (1)
257
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\ErrorTypeSymbol.cs (1)
567
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
225
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\FunctionTypeSymbol.cs (1)
199
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2481
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\NativeIntegerTypeSymbol.cs (1)
279
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\PointerTypeSymbol.cs (1)
319
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
412
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
180
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1645
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
484
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
245
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
933
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\SynthesizedContainer.cs (1)
217
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
205
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
143
internal sealed override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
170
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
174
internal override bool
HasInlineArrayAttribute
(out int length)
Symbols\TypeParameterSymbol.cs (1)
722
internal sealed override bool
HasInlineArrayAttribute
(out int length)
23 references to HasInlineArrayAttribute
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Expressions.cs (2)
5258
_ = expression.Type.
HasInlineArrayAttribute
(out int length);
9021
expr.Type.
HasInlineArrayAttribute
(out int length) && expr.Type.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField)
Binder\ForEachEnumeratorInfo.cs (1)
75
(collectionType.
HasInlineArrayAttribute
(out _) && collectionType.TryGetInlineArrayElementField() is FieldSymbol elementField && elementType.Equals(elementField.TypeWithAnnotations, TypeCompareKind.ConsiderEverything)));
Binder\ForEachLoopBinder.cs (1)
816
if (!isAsync && collectionExpr.Type?.
HasInlineArrayAttribute
(out _) == true && collectionExpr.Type.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1146
source?.
HasInlineArrayAttribute
(out _) == true &&
FlowAnalysis\DefiniteAssignment.cs (4)
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)
1594
if (elementAccess.Expression.Type.
HasInlineArrayAttribute
(out int length) &&
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)
FlowAnalysis\NullableWalker.cs (1)
8196
value.Type.
HasInlineArrayAttribute
(out _) == true &&
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
572
Debug.Assert(inlineArrayType.
HasInlineArrayAttribute
(out int inlineArrayLength) && inlineArrayLength == arrayLength);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
612
_ = rewrittenOperand.Type.
HasInlineArrayAttribute
(out int length);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
795
_ = boundArrayVar.Type.
HasInlineArrayAttribute
(out int length);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
219
_ = node.Expression.Type.
HasInlineArrayAttribute
(out int length);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
227
refLocal.Type.
HasInlineArrayAttribute
(out _) &&
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (3)
316
(local.SynthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.
HasInlineArrayAttribute
(out _) && local.Type.TryGetInlineArrayElementField() is object));
511
(local.SynthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.
HasInlineArrayAttribute
(out _) && local.Type.TryGetInlineArrayElementField() is object));
854
(leftLocal.SynthesizedKind == SynthesizedLocalKind.ForEachArray && leftLocal.Type.
HasInlineArrayAttribute
(out _) && leftLocal.Type.TryGetInlineArrayElementField() is object));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
175
(synthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.
HasInlineArrayAttribute
(out _) && local.Type.TryGetInlineArrayElementField() is object));
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
414
return _underlyingType.
HasInlineArrayAttribute
(out length);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
486
return _underlyingType.
HasInlineArrayAttribute
(out length);
Symbols\TypeSymbol.cs (1)
2517
Debug.Assert(
HasInlineArrayAttribute
(out var length) && length > 0);