2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1110this.Data = data; 1119this.Data = data;
17 references to Data
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (1)
624? typeOrValue.Data.ValueExpression
Binder\Binder_Expressions.cs (1)
9717bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (8)
447bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext); 1841diagnostics.AddRange(typeOrValue.Data.TypeDiagnostics); 1843foreach (Diagnostic d in typeOrValue.Data.ValueDiagnostics.Diagnostics) 1848!(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. 1855return typeOrValue.Data.TypeExpression; 1859diagnostics.AddRange(typeOrValue.Data.ValueDiagnostics); 1860return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics); 1885return typeOrValueExpression.Data.ValueExpression;
Compilation\CSharpSemanticModel.cs (1)
3426BoundExpression valueExpression = ((BoundTypeOrValueExpression)boundNode).Data.ValueExpression;
FlowAnalysis\AbstractFlowPass.cs (1)
1652return this.Visit(node.Data.ValueExpression);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
251Visit(node.Data.ValueExpression);
Generated\BoundNodes.xml.Generated.cs (4)
1130if (data != this.Data || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10923return node.Update(node.Data, type); 12491BoundTypeOrValueExpression updatedNode = node.Update(node.Data, infoAndType.Type!); 15143new TreeDumperNode("data", node.Data, null),