3 writes to ExprType
Microsoft.ML.Transforms (3)
Expression\Node.cs (3)
328
ExprType
= kind;
339
ExprType
= kind;
513
ExprType
= kind;
66 references to ExprType
Microsoft.ML.Transforms (66)
Expression\CodeGen.cs (14)
184
switch (node.
ExprType
)
232
switch (node.
ExprType
)
297
switch (node.
ExprType
)
417
Contracts.Assert(node.Arg.
ExprType
== node.SrcKind);
799
Contracts.Assert(arg.
ExprType
== kind);
801
Contracts.Assert(arg.
ExprType
== kind);
870
Contracts.Assert(arg.
ExprType
== kind);
873
Contracts.Assert(arg.
ExprType
== kind);
882
Contracts.Assert(arg.
ExprType
== kind);
915
Contracts.Assert(arg.
ExprType
== kind);
924
Contracts.Assert(arg.
ExprType
== kind);
969
switch (node.
ExprType
)
1021
GenBrNaCore(node, node.
ExprType
, labNa, dup);
1368
using (var value = _meth.AcquireTemporary(ExprNode.ToSysType(local.Value.
ExprType
)))
Expression\LambdaBinder.cs (20)
64
switch (expr.
ExprType
)
263
switch (arg.
ExprType
)
320
BadArg(node, node.Left.
ExprType
);
409
if (!CanPromote(false, a.
ExprType
, b.
ExprType
, out kind))
413
kind = a.
ExprType
;
415
kind = b.
ExprType
;
826
if (!CanPromote(false, left.
ExprType
, right.
ExprType
, out kind))
831
kind = left.
ExprType
;
833
kind = right.
ExprType
;
835
kind = left.
ExprType
;
837
kind = right.
ExprType
;
1068
_host.Assert(arg.
ExprType
== kind);
1080
_host.Assert(arg.
ExprType
== kind);
1101
_host.Assert(arg.
ExprType
== kind);
1108
_host.Assert(arg2.
ExprType
== kind);
1300
var kinds = node.Args.Items.Select(item => item.AsExpr.
ExprType
).ToArray();
1647
_host.Assert(expr.
ExprType
!= 0);
1649
ExprTypeKind kind = expr.
ExprType
;
Expression\Node.cs (30)
279
Contracts.Assert(
ExprType
!= 0);
280
return
ExprType
== kind;
283
public bool HasType { get { return ExprTypeKind.Error <
ExprType
&&
ExprType
< ExprTypeKind._Lim; } }
284
public bool IsNone { get { return
ExprType
== ExprTypeKind.None; } }
285
public bool IsError { get { return
ExprType
== ExprTypeKind.Error; } }
311
if (SrcKind !=
ExprType
)
314
bool tmp = LambdaBinder.CanPromote(false, SrcKind,
ExprType
, out kind);
315
Contracts.Assert(tmp && kind ==
ExprType
);
318
return SrcKind !=
ExprType
;
326
Contracts.Assert(
ExprType
== 0 ||
ExprType
== kind);
327
Contracts.Assert(SrcKind ==
ExprType
);
337
Contracts.Assert(
ExprType
== 0 ||
ExprType
== kind);
338
Contracts.Assert(SrcKind ==
ExprType
);
385
Contracts.Assert(expr.
ExprType
!= 0);
386
SetType(expr.
ExprType
);
466
if (kind ==
ExprType
)
469
Contracts.Assert(SrcKind ==
ExprType
);
473
Contracts.Assert(
ExprType
== ExprTypeKind.I4);
481
Contracts.Assert(
ExprType
== ExprTypeKind.I4);
489
Contracts.Assert(
ExprType
== ExprTypeKind.I4 ||
ExprType
== ExprTypeKind.I8 ||
490
ExprType
== ExprTypeKind.R4);
493
if (
ExprType
== ExprTypeKind.I4)
498
else if (
ExprType
== ExprTypeKind.I8)
540
switch (
ExprType
)
556
switch (
ExprType
)
572
switch (
ExprType
)
Expression\Printer.cs (2)
218
switch (node.
ExprType
)
307
_wrt.Write(node.
ExprType
.ToString());