2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7639this.Data = data; 7650this.Data = data;
35 references to Data
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder_Lambda.cs (1)
352var data = lambda.Data;
Binder\Binder_QueryErrors.cs (1)
223foreach (var t in unbound.Data.InferredReturnTypes())
BoundTree\UnboundLambda.cs (27)
165UnboundLambda.Data.CreateLambdaSymbol(delegateType, containingSymbol); 173=> UnboundLambda.Data.CreateLambdaSymbol( 411var functionType = FunctionTypeSymbol.CreateIfFeatureEnabled(syntax, binder, static (binder, expr) => ((UnboundLambda)expr).Data.InferDelegateType()); 428var data = Data.WithCaching(true); 436var data = Data.WithCaching(false); 437if ((object)data == Data) 447public MessageID MessageID { get { return Data.MessageID; } } 450=> SuppressIfNeeded(Data.Bind(delegateType, isExpressionTree)); 453=> SuppressIfNeeded(Data.BindForErrorRecovery()); 456=> SuppressIfNeeded(Data.BindForReturnTypeInference(delegateType)); 461public bool HasSignature { get { return Data.HasSignature; } } 463=> Data.HasExplicitReturnType(out refKind, out returnType); 465=> Data.GetWithParametersBinder(lambdaSymbol, binder); 466public bool HasExplicitlyTypedParameterList { get { return Data.HasExplicitlyTypedParameterList; } } 467public int ParameterCount { get { return Data.ParameterCount; } } 471public RefKind RefKind(int index) { return Data.RefKind(index); } 472public ScopedKind DeclaredScope(int index) { return Data.DeclaredScope(index); } 473public void GenerateAnonymousFunctionConversionError(BindingDiagnosticBag diagnostics, TypeSymbol targetType) { Data.GenerateAnonymousFunctionConversionError(diagnostics, targetType); } 474public bool GenerateSummaryErrors(BindingDiagnosticBag diagnostics) { return Data.GenerateSummaryErrors(diagnostics); } 475public bool IsAsync { get { return Data.IsAsync; } } 476public bool IsStatic => Data.IsStatic; 477public SyntaxList<AttributeListSyntax> ParameterAttributes(int index) { return Data.ParameterAttributes(index); } 478public TypeWithAnnotations ParameterTypeWithAnnotations(int index) { return Data.ParameterTypeWithAnnotations(index); } 480public ParameterSyntax? ParameterSyntax(int index) => Data.ParameterSyntax(index); 481public Location ParameterLocation(int index) { return Data.ParameterLocation(index); } 482public string ParameterName(int index) { return Data.ParameterName(index); } 483public bool ParameterIsDiscard(int index) { return Data.ParameterIsDiscard(index); }
Generated\BoundNodes.xml.Generated.cs (5)
7665if (data != this.Data || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(functionType, this.FunctionType) || withDependencies != this.WithDependencies) 11994return node.Update(node.Data, node.FunctionType, node.WithDependencies); 14567updatedNode = node.Update(node.Data, functionType, node.WithDependencies); 14572updatedNode = node.Update(node.Data, functionType, node.WithDependencies); 16814new TreeDumperNode("data", node.Data, null),
Symbols\Source\LambdaSymbol.cs (1)
57_messageID = unboundLambda.Data.MessageID;