1 write to PrimaryConstructor
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2975
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)
3038
declaredMembers.
PrimaryConstructor
,
3049
Debug.Assert(declaredMembers.
PrimaryConstructor
is object);
3061
var compilation = declaredMembers.
PrimaryConstructor
.DeclaringCompilation;
3344
result = declared.
PrimaryConstructor
;
3365
primaryConstructor = declared.
PrimaryConstructor
;
3409
Debug.Assert(declared.
PrimaryConstructor
is not null);
3435
primaryConstructor = declared.
PrimaryConstructor
;
4161
if (declaration.Kind is not (DeclarationKind.Record or DeclarationKind.RecordStruct) && declaredMembersAndInitializers.
PrimaryConstructor
is null)
4172
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;
4183
Debug.Assert(declaredMembersAndInitializers.
PrimaryConstructor
?.GetBackingFields().Any() != true);
4222
var ctor = declaredMembersAndInitializers.
PrimaryConstructor
;