2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1091this.Data = data; 1100this.Data = data;
17 references to Data
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (1)
873? typeOrValue.Data.ValueExpression
Binder\Binder_Expressions.cs (1)
10087bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (8)
456bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext); 1974diagnostics.AddRange(typeOrValue.Data.TypeDiagnostics); 1976foreach (Diagnostic d in typeOrValue.Data.ValueDiagnostics.Diagnostics) 1981!(d.Arguments is [ParameterSymbol shadowedParameter] && shadowedParameter.Type.Equals(typeOrValue.Data.ValueExpression.Type, TypeCompareKind.AllIgnoreOptions))) // If the type and the name match, we would resolve to the same type rather than a value at the end. 1988return typeOrValue.Data.TypeExpression; 1992diagnostics.AddRange(typeOrValue.Data.ValueDiagnostics); 1993return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics); 2018return typeOrValueExpression.Data.ValueExpression;
Compilation\CSharpSemanticModel.cs (1)
3441BoundExpression valueExpression = ((BoundTypeOrValueExpression)boundNode).Data.ValueExpression;
FlowAnalysis\AbstractFlowPass.cs (1)
1659return this.Visit(node.Data.ValueExpression);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
249Visit(node.Data.ValueExpression);
Generated\BoundNodes.xml.Generated.cs (4)
1111if (data != this.Data || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10970return node.Update(node.Data, type); 12679BoundTypeOrValueExpression updatedNode = node.Update(node.Data, infoAndType.Type!); 15316new TreeDumperNode("data", node.Data, null),