26 overrides of IsRecordStruct
Microsoft.CodeAnalysis.CSharp (26)
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
75internal override bool IsRecordStruct => false;
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
152internal override bool IsRecordStruct => false;
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
64internal override bool IsRecordStruct => false;
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
50internal override bool IsRecordStruct => false;
Lowering\LocalRewriter\DynamicSiteContainer.cs (1)
40internal override bool IsRecordStruct => false;
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
271internal sealed override bool IsRecordStruct => false;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
321internal sealed override bool IsRecordStruct => false;
Symbols\ArrayTypeSymbol.cs (1)
485internal override bool IsRecordStruct => false;
Symbols\DynamicTypeSymbol.cs (1)
250internal override bool IsRecordStruct => false;
Symbols\ErrorTypeSymbol.cs (1)
559internal override bool IsRecordStruct => false;
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
218internal override bool IsRecordStruct => false;
Symbols\FunctionTypeSymbol.cs (1)
128internal override bool IsRecordStruct => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
632internal override bool IsRecordStruct => false;
Symbols\NativeIntegerTypeSymbol.cs (1)
184internal sealed override bool IsRecordStruct => false;
Symbols\PointerTypeSymbol.cs (1)
312internal override bool IsRecordStruct => false;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
395internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Source\SourceFixedFieldSymbol.cs (1)
243internal override bool IsRecordStruct => false;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
939internal override bool IsRecordStruct
Symbols\SubstitutedNamedTypeSymbol.cs (1)
480internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
196internal override bool IsRecordStruct => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
873internal override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
172internal sealed override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
131internal sealed override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
127internal override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
110internal override bool IsRecordStruct => false;
Symbols\TypeParameterSymbol.cs (1)
715internal override bool IsRecordStruct => false;
16 references to IsRecordStruct
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (1)
2091primaryCtor.ContainingSymbol is NamedTypeSymbol { IsRecord: false, IsRecordStruct: false } ||
Symbols\PublicModel\TypeSymbol.cs (1)
175bool ITypeSymbol.IsRecord => UnderlyingTypeSymbol.IsRecord || UnderlyingTypeSymbol.IsRecordStruct;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
395internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\SubstitutedNamedTypeSymbol.cs (1)
480internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
65if (ContainingType.IsRecordStruct)
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
68var annotation = ContainingType.IsRecordStruct ? NullableAnnotation.Oblivious : NullableAnnotation.Annotated;
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (2)
36var annotation = ContainingType.IsRecordStruct ? NullableAnnotation.Oblivious : NullableAnnotation.Annotated; 58bool isRecordStruct = ContainingType.IsRecordStruct;
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
50if (ContainingType.IsRecordStruct)
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (2)
31var annotation = ContainingType.IsRecordStruct ? NullableAnnotation.Oblivious : NullableAnnotation.Annotated; 57if (ContainingType.IsRecordStruct)
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (4)
93var annotation = ContainingType.IsRecordStruct ? NullableAnnotation.Oblivious : NullableAnnotation.NotAnnotated; 132if (ContainingType.BaseTypeNoUseSiteDiagnostics.IsObjectType() || ContainingType.IsRecordStruct) 142if (!ContainingType.IsRecordStruct) 296return containingType.IsReadOnly || (containingType.IsRecordStruct && AreAllPrintablePropertyGettersReadOnly(userDefinedMembers));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
42var annotation = ContainingType.IsRecordStruct ? NullableAnnotation.Oblivious : NullableAnnotation.NotAnnotated;