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)
654? typeOrValue.Data.ValueExpression
Binder\Binder_Expressions.cs (1)
10093bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (8)
448bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext); 1896diagnostics.AddRange(typeOrValue.Data.TypeDiagnostics); 1898foreach (Diagnostic d in typeOrValue.Data.ValueDiagnostics.Diagnostics) 1903!(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. 1910return typeOrValue.Data.TypeExpression; 1914diagnostics.AddRange(typeOrValue.Data.ValueDiagnostics); 1915return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics); 1940return typeOrValueExpression.Data.ValueExpression;
Compilation\CSharpSemanticModel.cs (1)
3435BoundExpression valueExpression = ((BoundTypeOrValueExpression)boundNode).Data.ValueExpression;
FlowAnalysis\AbstractFlowPass.cs (1)
1659return 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)) 10966return node.Update(node.Data, type); 12671BoundTypeOrValueExpression updatedNode = node.Update(node.Data, infoAndType.Type!); 15322new TreeDumperNode("data", node.Data, null),