1 write to PrimaryConstructor
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2989
this.
PrimaryConstructor
= primaryConstructor;
12 references to PrimaryConstructor
Microsoft.CodeAnalysis.CSharp (12)
Symbols\Source\SourceMemberContainerSymbol.cs (12)
1719
if (declared.NonTypeMembers.Contains(m => m == (object)member) || declared.
PrimaryConstructor
== (object)member)
3052
declaredMembers.
PrimaryConstructor
,
3063
Debug.Assert(declaredMembers.
PrimaryConstructor
is object);
3075
var compilation = declaredMembers.
PrimaryConstructor
.DeclaringCompilation;
3358
result = declared.
PrimaryConstructor
;
3379
primaryConstructor = declared.
PrimaryConstructor
;
3423
Debug.Assert(declared.
PrimaryConstructor
is not null);
3449
primaryConstructor = declared.
PrimaryConstructor
;
4175
if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.RecordStruct) && declaredMembersAndInitializers.
PrimaryConstructor
is null)
4186
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;
4197
Debug.Assert(declaredMembersAndInitializers.
PrimaryConstructor
?.GetBackingFields().Any() != true);
4236
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;