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