24 references to InstanceConstructors
Microsoft.CodeAnalysis.CSharp (24)
Binder\Binder_AnonymousTypes.cs (1)
144
anonymousType.
InstanceConstructors
[0],
Binder\Binder_Crefs.cs (2)
442
ImmutableArray<MethodSymbol> instanceConstructors = constructorType.
InstanceConstructors
;
745
candidates.AddRange(constructedCandidateType.
InstanceConstructors
);
Binder\Binder_Expressions.cs (3)
5409
return new BoundBadExpression(node, LookupResultKind.NotInvocable, StaticCast<Symbol>.From(type.
InstanceConstructors
), ImmutableArray.Create(argument), type);
5456
return new BoundBadExpression(node, LookupResultKind.OverloadResolutionFailure, StaticCast<Symbol>.From(type.
InstanceConstructors
), childNodes, type);
7241
allInstanceConstructors = type.
InstanceConstructors
;
Binder\Binder_Statements.cs (1)
3919
foreach (MethodSymbol ctor in baseType.
InstanceConstructors
)
Compilation\CSharpSemanticModel.cs (2)
4038
typeSymbolOpt.ComImportCoClass.
InstanceConstructors
:
4039
typeSymbolOpt.
InstanceConstructors
;
Compiler\ClsComplianceChecker.cs (1)
275
foreach (MethodSymbol constructor in attributeType.
InstanceConstructors
)
Compiler\MethodBodySynthesizer.cs (1)
47
method: objectType.
InstanceConstructors
[0],
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
210
F.New(frameType.
InstanceConstructors
[0])));
Lowering\SyntheticBoundNodeFactory.cs (3)
733
var ctor = type.
InstanceConstructors
.Single(c => c.ParameterCount == args.Length);
742
var ctor = type.
InstanceConstructors
.Single(c => c.ParameterCount == args.Length);
1188
var ctor = baseType.
InstanceConstructors
.Single(c => c.ParameterCount == 0);
Symbols\ConstraintsHelper.cs (1)
1492
foreach (var constructor in type.
InstanceConstructors
)
Symbols\MemberSymbolExtensions.cs (1)
415
foreach (var constructor in type.
InstanceConstructors
)
Symbols\NamedTypeSymbol.cs (1)
444
return (SynthesizedInstanceConstructor)
InstanceConstructors
.Single();
Symbols\PublicModel\NamedTypeSymbol.cs (1)
36
return UnderlyingNamedTypeSymbol.
InstanceConstructors
.GetPublicSymbols();
Symbols\SymbolExtensions.cs (1)
195
return type.IsScriptClass ? type.
InstanceConstructors
.Single().ThisParameter : null;
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
29
var baseConstructor = ContainingType.BaseTypeNoUseSiteDiagnostics.
InstanceConstructors
.Single();
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
29
var baseConstructor = ContainingType.BaseTypeNoUseSiteDiagnostics.
InstanceConstructors
.Single();
Symbols\Synthesized\Records\SynthesizedRecordClone.cs (1)
120
var members = ContainingType.
InstanceConstructors
;
Symbols\Synthesized\Records\SynthesizedRecordCopyCtor.cs (1)
93
foreach (var member in containingType.
InstanceConstructors
)