2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
7665this.Data = data; 7676this.Data = data;
35 references to Data
Microsoft.CodeAnalysis.CSharp (35)
Binder\Binder_Lambda.cs (1)
371var data = lambda.Data;
Binder\Binder_QueryErrors.cs (1)
223foreach (var t in unbound.Data.InferredReturnTypes())
BoundTree\UnboundLambda.cs (27)
175UnboundLambda.Data.CreateLambdaSymbol(delegateType, containingSymbol); 184=> UnboundLambda.Data.CreateLambdaSymbol( 428var functionType = FunctionTypeSymbol.CreateIfFeatureEnabled(syntax, binder, static (binder, expr) => ((UnboundLambda)expr).Data.InferDelegateType()); 446var data = Data.WithCaching(true); 454var data = Data.WithCaching(false); 455if ((object)data == Data) 465public MessageID MessageID { get { return Data.MessageID; } } 468=> SuppressIfNeeded(Data.Bind(delegateType, isExpressionTree)); 471=> SuppressIfNeeded(Data.BindForErrorRecovery()); 474=> SuppressIfNeeded(Data.BindForReturnTypeInference(delegateType)); 479public bool HasSignature { get { return Data.HasSignature; } } 481=> Data.HasExplicitReturnType(out refKind, out refCustomModifiers, out returnType); 483=> Data.GetWithParametersBinder(lambdaSymbol, binder); 499public bool HasExplicitlyTypedParameterList => Data.HasExplicitlyTypedParameterList; 501public int ParameterCount { get { return Data.ParameterCount; } } 505public RefKind RefKind(int index) { return Data.RefKind(index); } 506public ScopedKind DeclaredScope(int index) { return Data.DeclaredScope(index); } 507public void GenerateAnonymousFunctionConversionError(BindingDiagnosticBag diagnostics, TypeSymbol targetType) { Data.GenerateAnonymousFunctionConversionError(diagnostics, targetType); } 508public bool GenerateSummaryErrors(BindingDiagnosticBag diagnostics) { return Data.GenerateSummaryErrors(diagnostics); } 509public bool IsAsync { get { return Data.IsAsync; } } 510public bool IsStatic => Data.IsStatic; 511public SyntaxList<AttributeListSyntax> ParameterAttributes(int index) { return Data.ParameterAttributes(index); } 512public TypeWithAnnotations ParameterTypeWithAnnotations(int index) { return Data.ParameterTypeWithAnnotations(index); } 519public ParameterSyntax? ParameterSyntax(int index) => Data.ParameterSyntax(index); 520public Location ParameterLocation(int index) { return Data.ParameterLocation(index); } 521public string ParameterName(int index) { return Data.ParameterName(index); } 522public bool ParameterIsDiscard(int index) { return Data.ParameterIsDiscard(index); }
Generated\BoundNodes.xml.Generated.cs (5)
7691if (data != this.Data || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(functionType, this.FunctionType) || withDependencies != this.WithDependencies) 12196return node.Update(node.Data, functionType, node.WithDependencies); 14775updatedNode = node.Update(node.Data, functionType, node.WithDependencies); 14780updatedNode = node.Update(node.Data, functionType, node.WithDependencies); 17015new TreeDumperNode("data", node.Data, null),
Symbols\Source\LambdaSymbol.cs (1)
60_messageID = unboundLambda.Data.MessageID;