22 overrides of HasInlineArrayAttribute
Microsoft.CodeAnalysis.CSharp (22)
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
305internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
341internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\ArrayTypeSymbol.cs (1)
493internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\DynamicTypeSymbol.cs (1)
258internal override bool HasInlineArrayAttribute(out int length)
Symbols\ErrorTypeSymbol.cs (1)
582internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
226internal override bool HasInlineArrayAttribute(out int length)
Symbols\FunctionTypeSymbol.cs (1)
199internal override bool HasInlineArrayAttribute(out int length)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
3110internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\NativeIntegerTypeSymbol.cs (1)
291internal override bool HasInlineArrayAttribute(out int length)
Symbols\PointerTypeSymbol.cs (1)
320internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
455internal override bool HasInlineArrayAttribute(out int length)
Symbols\Source\ImplicitNamedTypeSymbol.cs (1)
186internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Source\SourceNamedTypeSymbol.cs (1)
1718internal override bool HasInlineArrayAttribute(out int length)
Symbols\SubstitutedNamedTypeSymbol.cs (1)
492internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
268internal override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
992internal override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\SynthesizedContainer.cs (1)
223internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
220internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
164internal sealed override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
183internal override bool HasInlineArrayAttribute(out int length)
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
187internal override bool HasInlineArrayAttribute(out int length)
Symbols\TypeParameterSymbol.cs (1)
723internal sealed override bool HasInlineArrayAttribute(out int length)
24 references to HasInlineArrayAttribute
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_Expressions.cs (2)
5422_ = expression.Type.HasInlineArrayAttribute(out int length); 9671expr.Type.HasInlineArrayAttribute(out int length) && expr.Type.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField)
Binder\ForEachEnumeratorInfo.cs (1)
81(collectionType.HasInlineArrayAttribute(out _) && collectionType.TryGetInlineArrayElementField() is FieldSymbol elementField && elementType.Equals(elementField.TypeWithAnnotations, TypeCompareKind.ConsiderEverything)));
Binder\ForEachLoopBinder.cs (1)
839if (!isAsync && collectionExpr.Type?.HasInlineArrayAttribute(out _) == true && collectionExpr.Type.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField)
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1161source?.HasInlineArrayAttribute(out _) == true &&
FlowAnalysis\DefiniteAssignment.cs (4)
470if (parameterType.HasInlineArrayAttribute(out int length) && length > 1 && parameterType.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField) 1232if (!foundUnassignedField && containingType.HasInlineArrayAttribute(out int length) && length > 1 && containingType.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField) 1547if (elementAccess.Expression.Type.HasInlineArrayAttribute(out int length) && 1647if (structType.HasInlineArrayAttribute(out int length) && length > 1 && structType.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is object)
FlowAnalysis\FlowAnalysisPass.cs (1)
126if (containingType.HasInlineArrayAttribute(out int length) && length > 1 && containingType.TryGetPossiblyUnsupportedByLanguageInlineArrayElementField() is FieldSymbol elementField)
FlowAnalysis\NullableWalker.cs (1)
9099value.Type.HasInlineArrayAttribute(out _) == true &&
Lowering\AsyncRewriter\RuntimeAsyncRewriter.cs (1)
228(leftLocal.LocalSymbol.SynthesizedKind == SynthesizedLocalKind.ForEachArray && leftLocal.LocalSymbol.Type.HasInlineArrayAttribute(out _) && leftLocal.LocalSymbol.Type.TryGetInlineArrayElementField() is object));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
668Debug.Assert(inlineArrayType.HasInlineArrayAttribute(out int inlineArrayLength) && inlineArrayLength == arrayLength);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
618_ = rewrittenOperand.Type.HasInlineArrayAttribute(out int length);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (1)
794_ = boundArrayVar.Type.HasInlineArrayAttribute(out int length);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (1)
259_ = node.Expression.Type.HasInlineArrayAttribute(out int length);
Lowering\StateMachineRewriter\IteratorAndAsyncCaptureWalker.cs (1)
246refLocal.Type.HasInlineArrayAttribute(out _) &&
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
320(local.SynthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.HasInlineArrayAttribute(out _) && local.Type.TryGetInlineArrayElementField() is object)); 645(leftLocal.SynthesizedKind == SynthesizedLocalKind.ForEachArray && leftLocal.Type.HasInlineArrayAttribute(out _) && leftLocal.Type.TryGetInlineArrayElementField() is object));
Lowering\StateMachineRewriter\RefInitializationHoister.cs (1)
75(local.SynthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.HasInlineArrayAttribute(out _) && local.Type.TryGetInlineArrayElementField() is object));
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
179(synthesizedKind == SynthesizedLocalKind.ForEachArray && local.Type.HasInlineArrayAttribute(out _) && local.Type.TryGetInlineArrayElementField() is object));
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
457return _underlyingType.HasInlineArrayAttribute(out length);
Symbols\SubstitutedNamedTypeSymbol.cs (1)
494return _underlyingType.HasInlineArrayAttribute(out length);
Symbols\TypeSymbol.cs (1)
2552Debug.Assert(HasInlineArrayAttribute(out var length) && length > 0);