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