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