Base:
property
IsRecord
Microsoft.CodeAnalysis.CSharp.Symbols.TypeSymbol.IsRecord
12 references to IsRecord
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (1)
4398
sourceType.
IsRecord
&&
FlowAnalysis\DefiniteAssignment.cs (1)
1824
Diagnostics.Add((primaryCtor.ContainingType is {
IsRecord
: true } or { IsRecordStruct: true }) ?
Symbols\Source\SourceMemberContainerSymbol.cs (7)
307
if (!this.
IsRecord
)
1248
return (IsTupleType ||
IsRecord
|| IsRecordStruct) ? GetMembers().Select(m => m.Name) : this.declaration.MemberNames;
1438
=>
IsRecord
;
2470
if (
IsRecord
|| IsRecordStruct)
2516
if (this.
IsRecord
)
3276
if (this is {
IsRecord
: true } or { IsRecordStruct: true } ||
4537
if (!
IsRecord
||
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (2)
51
protected override bool AllowRefOrOut => !(ContainingType is {
IsRecord
: true } or { IsRecordStruct: true });
93
if (ContainingType is {
IsRecord
: true } or { IsRecordStruct: true } || ParameterCount == 0)
Symbols\Synthesized\Records\SynthesizedRecordObjectMethod.cs (1)
49
if (overridden is object && !(overridden.ContainingType is SourceMemberContainerTypeSymbol {
IsRecord
: true } && overridden.ContainingModule == overriding.ContainingModule))