27 overrides of IsRecordStruct
Microsoft.CodeAnalysis.CSharp (26)
Lowering\AsyncRewriter\AsyncStateMachine.cs (1)
75internal override bool IsRecordStruct => false;
Lowering\ClosureConversion\SynthesizedClosureEnvironment.cs (1)
153internal override bool IsRecordStruct => false;
Lowering\IteratorRewriter\IteratorStateMachine.cs (1)
64internal override bool IsRecordStruct => false;
Lowering\LocalRewriter\DelegateCacheContainer.cs (1)
56internal override bool IsRecordStruct => false;
Lowering\LocalRewriter\DynamicSiteContainer.cs (1)
51internal override bool IsRecordStruct => false;
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
282internal sealed override bool IsRecordStruct => false;
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (1)
332internal sealed override bool IsRecordStruct => false;
Symbols\ArrayTypeSymbol.cs (1)
488internal override bool IsRecordStruct => false;
Symbols\DynamicTypeSymbol.cs (1)
253internal override bool IsRecordStruct => false;
Symbols\ErrorTypeSymbol.cs (1)
570internal override bool IsRecordStruct => false;
Symbols\FunctionPointers\FunctionPointerTypeSymbol.cs (1)
220internal override bool IsRecordStruct => false;
Symbols\FunctionTypeSymbol.cs (1)
130internal override bool IsRecordStruct => throw ExceptionUtilities.Unreachable();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
857internal override bool IsRecordStruct => false;
Symbols\NativeIntegerTypeSymbol.cs (1)
185internal sealed override bool IsRecordStruct => false;
Symbols\PointerTypeSymbol.cs (1)
315internal override bool IsRecordStruct => false;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
428internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Source\SourceFixedFieldSymbol.cs (1)
244internal override bool IsRecordStruct => false;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
960internal override bool IsRecordStruct
Symbols\SubstitutedNamedTypeSymbol.cs (1)
485internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorTypeSymbol.cs (1)
207internal override bool IsRecordStruct => false;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
884internal override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedEmbeddedAttributeSymbol.cs (1)
183internal sealed override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedHotReloadExceptionSymbol.cs (1)
140internal sealed override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
138internal override bool IsRecordStruct => false;
Symbols\Synthesized\SynthesizedPrivateImplementationDetailsType.cs (1)
121internal override bool IsRecordStruct => false;
Symbols\TypeParameterSymbol.cs (1)
718internal override bool IsRecordStruct => false;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\MockNamedTypeSymbol.cs (1)
342internal override bool IsRecordStruct => false;
23 references to IsRecordStruct
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder_Expressions.cs (1)
2138primaryCtor.ContainingSymbol is NamedTypeSymbol { IsRecord: false, IsRecordStruct: false } ||
Symbols\PublicModel\TypeSymbol.cs (1)
193bool ITypeSymbol.IsRecord => UnderlyingTypeSymbol.IsRecord || UnderlyingTypeSymbol.IsRecordStruct;
Symbols\Retargeting\RetargetingNamedTypeSymbol.cs (1)
428internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Source\SourceMemberFieldSymbol.cs (1)
71else if (!this.IsStatic && (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer())
Symbols\Source\SourcePropertySymbolBase.cs (1)
1883if (!this.IsStatic && (ContainingType.IsRecord || ContainingType.IsRecordStruct) && type.IsPointerOrFunctionPointer())
Symbols\SubstitutedNamedTypeSymbol.cs (1)
485internal sealed override bool IsRecordStruct => _underlyingType.IsRecordStruct;
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
65if (ContainingType.IsRecordStruct)
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperatorBase.cs (1)
70var 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;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\RecordStructTests.cs (5)
401Assert.True(point.IsRecordStruct); 408Assert.False(point.IsRecordStruct); 491Assert.True(point.IsRecordStruct); 497Assert.False(point.IsRecordStruct); 515Assert.True(point.IsRecordStruct);