1 write to Constructor
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
6245
this.
Constructor
= constructor;
14 references to Constructor
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Attributes.cs (1)
285
var attributeConstructor = boundAttribute.
Constructor
;
BoundTree\BoundExpression.cs (1)
585
get { return this.
Constructor
; }
Compilation\CSharpSemanticModel.cs (2)
3610
AdjustSymbolsForObjectCreation(attribute, namedType, attribute.
Constructor
, binderOpt, ref resultKind, ref symbols, ref memberGroup);
3991
constructor = boundAttribute.
Constructor
;
FlowAnalysis\NullableWalker.cs (1)
12038
VisitArguments(node, node.ConstructorArguments, ImmutableArray<RefKind>.Empty, node.
Constructor
, argsToParamsOpt: node.ConstructorArgumentsToParamsOpt, defaultArguments: node.ConstructorDefaultArguments,
Generated\BoundNodes.xml.Generated.cs (4)
6270
if (!Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(constructor, this.
Constructor
) || constructorArguments != this.ConstructorArguments || constructorArgumentNamesOpt != this.ConstructorArgumentNamesOpt || constructorArgumentsToParamsOpt != this.ConstructorArgumentsToParamsOpt || constructorExpanded != this.ConstructorExpanded || constructorDefaultArguments != this.ConstructorDefaultArguments || namedArguments != this.NamedArguments || resultKind != this.ResultKind || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything))
11756
return node.Update(node.
Constructor
, constructorArguments, node.ConstructorArgumentNamesOpt, node.ConstructorArgumentsToParamsOpt, node.ConstructorExpanded, node.ConstructorDefaultArguments, namedArguments, node.ResultKind, type);
13969
MethodSymbol? constructor = GetUpdatedSymbol(node, node.
Constructor
);
16417
new TreeDumperNode("constructor", node.
Constructor
, null),
Operations\CSharpOperationFactory.cs (2)
502
if (boundAttribute.
Constructor
is null)
516
var objectCreationOperation = new ObjectCreationOperation(boundAttribute.
Constructor
.GetPublicSymbol(), initializer, DeriveArguments(boundAttribute), _semanticModel, boundAttribute.Syntax, boundAttribute.GetPublicTypeSymbol(), boundAttribute.ConstantValueOpt, isImplicit: true);
Operations\CSharpOperationFactory_Methods.cs (2)
227
Debug.Assert(attribute.
Constructor
is not null);
228
return DeriveArguments(attribute.
Constructor
,
Symbols\Symbol_Attributes.cs (1)
423
if (boundAttribute.
Constructor
is { } ctor)