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