12 references to CreateTruncating
System.Collections.Immutable (6)
System\Collections\Frozen\Integer\DenseIntegralFrozenDictionary.cs (6)
56
int min = int.
CreateTruncating
((TKeyUnderlying)(object)e.Current.Key);
60
int key = int.
CreateTruncating
((TKeyUnderlying)(object)e.Current.Key);
85
int index = int.
CreateTruncating
((TKeyUnderlying)(object)entry.Key);
105
optionalValues[int.
CreateTruncating
((TKeyUnderlying)(object)entry.Key) - min] = new(entry.Value, hasValue: true);
136
int index = int.
CreateTruncating
((TKeyUnderlying)(object)key);
169
int index = int.
CreateTruncating
((TKeyUnderlying)(object)key) - _minInclusive;
System.Linq (4)
System\Linq\Range.cs (1)
46
private int CountForDebugger => int.
CreateTruncating
(_endExclusive - _start);
System\Linq\Range.SpeedOpt.cs (2)
29
int count = int.
CreateTruncating
(end - start);
40
public int Count => int.
CreateTruncating
(_endExclusive - _start);
System\Linq\Select.SpeedOpt.cs (1)
268
private int Count => int.
CreateTruncating
(_end - _start);
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertTruncating.cs (1)
113
public static int Invoke(float x) => int.
CreateTruncating
(x);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Guid.cs (1)
868
int c = int.
CreateTruncating
(guidString[i]);