6 writes to TypeBinding
System.Data.Linq (6)
SqlClient\Common\SqlNode.cs (1)
1367this.TypeBinding = typeBinding;
SqlClient\Common\SqlVisitor.cs (1)
520when.TypeBinding = this.VisitExpression(when.TypeBinding);
SqlClient\Query\SqlBinder.cs (2)
499when.TypeBinding = (SqlExpression)ApplyTreat(when.TypeBinding, type); 1325tc.Whens[i].TypeBinding = fetchedValue;
SqlClient\Query\SqlColumnizer.cs (1)
107tc.Whens[i].TypeBinding = this.VisitExpression(tc.Whens[i].TypeBinding);
SqlClient\Query\SqlMethodCallConverter.cs (1)
690when.TypeBinding = (SqlNew)values[i];
27 references to TypeBinding
System.Data.Linq (27)
SqlClient\Common\SqlVisitor.cs (1)
520when.TypeBinding = this.VisitExpression(when.TypeBinding);
SqlClient\Query\SqlBinder.cs (10)
499when.TypeBinding = (SqlExpression)ApplyTreat(when.TypeBinding, type); 500if (this.IsConstNull(when.TypeBinding)) { 507tc.Whens[0].TypeBinding.SetClrType(type); 508return tc.Whens[0].TypeBinding; // <-- Points to a SqlValue null. 638SqlUnary un = new SqlUnary(uo.NodeType, uo.ClrType, uo.SqlType, when.TypeBinding, when.TypeBinding.SourceExpression); 765SqlNew tb = tc.Whens[0].TypeBinding as SqlNew; 767if (when.TypeBinding.NodeType == SqlNodeType.New) { 768SqlNew sn = (SqlNew)when.TypeBinding; 1319SqlNode fetchedValue = ConvertToFetchedExpression(when.TypeBinding);
SqlClient\Query\SqlColumnizer.cs (1)
107tc.Whens[i].TypeBinding = this.VisitExpression(tc.Whens[i].TypeBinding);
SqlClient\Query\SqlComparer.cs (2)
140if (!AreEqual(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) {
SqlClient\Query\SqlDuplicator.cs (1)
116whens.Add(new SqlTypeCaseWhen(VisitExpression(when.Match), VisitExpression(when.TypeBinding)));
SqlClient\Query\SqlExpander.cs (1)
189scos.Add(when.TypeBinding);
SqlClient\Query\SqlFlattener.cs (1)
199this.FlattenGroupByExpression(exprs, when.TypeBinding);
SqlClient\Query\SqlFormatter.cs (2)
1193this.Visit(when.TypeBinding); 1199this.Visit(when.TypeBinding);
SqlClient\Query\SqlMethodCallConverter.cs (1)
681SqlExpression newNew = this.VisitExpression(when.TypeBinding);
SqlClient\Query\Translator.cs (3)
479if (when.TypeBinding.NodeType == SqlNodeType.New) { 480return when.TypeBinding; 483return tc.Whens[0].TypeBinding; // There were no SqlNews, take the first alternative
SqlClient\Reader\ObjectReaderCompiler.cs (4)
429if (!CanBeCompared(c1.Whens[i].TypeBinding)) { 591if (!AreSimilar(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) { 1963this.GenerateExpressionForType(when.TypeBinding, stc.ClrType);