1 instantiation of SourceConstructorSymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Source\SourceConstructorSymbol.cs (1)
27
return new
SourceConstructorSymbol
(containingType, syntax.Identifier.GetLocation(), syntax, methodKind, isNullableAnalysisEnabled, diagnostics);
23 references to SourceConstructorSymbol
Microsoft.CodeAnalysis.CSharp (23)
Symbols\MemberSymbolExtensions.cs (3)
801
or
SourceConstructorSymbol
{ IsPartial: true }
813
or
SourceConstructorSymbol
{ IsPartialImplementation: true }
825
or
SourceConstructorSymbol
{ IsPartialDefinition: true }
Symbols\Source\SourceConstructorSymbol.cs (8)
17
private
SourceConstructorSymbol
? _otherPartOfPartial;
20
public static
SourceConstructorSymbol
CreateConstructorSymbol(
291
private void PartialConstructorChecks(
SourceConstructorSymbol
implementation, BindingDiagnosticBag diagnostics)
349
internal
SourceConstructorSymbol
? OtherPartOfPartial => _otherPartOfPartial;
351
internal
SourceConstructorSymbol
? SourcePartialDefinitionPart => IsPartialImplementation ? OtherPartOfPartial : null;
353
internal
SourceConstructorSymbol
? SourcePartialImplementationPart => IsPartialDefinition ? OtherPartOfPartial : null;
359
internal static void InitializePartialConstructorParts(
SourceConstructorSymbol
definition,
SourceConstructorSymbol
implementation)
Symbols\Source\SourceMemberContainerSymbol.cs (12)
4157
case (
SourceConstructorSymbol
{ IsStatic: false } currentConstructor,
SourceConstructorSymbol
{ IsStatic: false } prevConstructor):
4215
case
SourceConstructorSymbol
constructor:
4334
static void mergePartialConstructors(ArrayBuilder<Symbol> nonTypeMembers,
SourceConstructorSymbol
currentConstructor,
SourceConstructorSymbol
prevConstructor, BindingDiagnosticBag diagnostics)
4440
private static void FixPartialConstructor(ArrayBuilder<Symbol> nonTypeMembers,
SourceConstructorSymbol
part1,
SourceConstructorSymbol
part2)
4442
SourceConstructorSymbol
definition;
4443
SourceConstructorSymbol
implementation;
4455
SourceConstructorSymbol
.InitializePartialConstructorParts(definition, implementation);
5824
var
constructor =
SourceConstructorSymbol
.CreateConstructorSymbol(this, constructorSyntax, isNullableEnabled, diagnostics);