1 write to PrimaryConstructor
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3000
this.
PrimaryConstructor
= primaryConstructor;
12 references to PrimaryConstructor
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Source\SourceMemberContainerSymbol.cs (12)
1724
if (declared.NonTypeMembersWithPartialImplementations.Contains(m => m == (object)member) || declared.
PrimaryConstructor
== (object)member)
3073
declaredMembers.
PrimaryConstructor
,
3084
Debug.Assert(declaredMembers.
PrimaryConstructor
is object);
3096
var compilation = declaredMembers.
PrimaryConstructor
.DeclaringCompilation;
3417
result = declared.
PrimaryConstructor
;
3438
primaryConstructor = declared.
PrimaryConstructor
;
3482
Debug.Assert(declared.
PrimaryConstructor
is not null);
3508
primaryConstructor = declared.
PrimaryConstructor
;
4250
if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.RecordStruct) && declaredMembersAndInitializers.
PrimaryConstructor
is null)
4261
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;
4272
Debug.Assert(declaredMembersAndInitializers.
PrimaryConstructor
?.GetBackingFields().Any() != true);
4311
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;