5 instantiations of Int16
PresentationCore (4)
PresentationFramework (1)
567 references to Int16
BuildActionTelemetryTable (1)
csc (2)
dotnet-svcutil-lib (59)
FrameworkFork\System.Runtime.Serialization\System\Xml\ArrayHelper.cs (6)
128internal class Int16ArrayHelperWithString : ArrayHelper<string, Int16>
132protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Int16[] array, int offset, int count)
137protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Int16[] array, int offset, int count)
143internal class Int16ArrayHelperWithDictionaryString : ArrayHelper<XmlDictionaryString, Int16>
147protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
152protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryReader.cs (5)
1149type = typeof(Int16);
1257private unsafe int ReadArray(Int16[] array, int offset, int count)
1261fixed (Int16* items = &array[offset])
1269public override int ReadArray(string localName, string namespaceUri, Int16[] array, int offset, int count)
1276public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriter.cs (4)
1326unsafe public override void WriteArray(string prefix, string localName, string namespaceUri, Int16[] array, int offset, int count)
1332fixed (Int16* items = &array[offset])
1345unsafe public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
1351fixed (Int16* items = &array[offset])
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryAsyncCheckWriter.cs (2)
420public override void WriteArray(string prefix, string localName, string namespaceUri, Int16[] array, int offset, int count)
426public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (7)
946public virtual Int16[] ReadInt16Array(string localName, string namespaceUri)
951public virtual Int16[] ReadInt16Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
956public virtual int ReadArray(string localName, string namespaceUri, Int16[] array, int offset, int count)
963if (i < Int16.MinValue || i > Int16.MaxValue)
965array[offset + actual] = (Int16)i;
971public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryWriter.cs (4)
260else if (type == typeof(Int16))
289else if (type == typeof(Int16))
435public virtual void WriteArray(string prefix, string localName, string namespaceUri, Int16[] array, int offset, int count)
446public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int16[] array, int offset, int count)
Microsoft.AspNetCore.Components (4)
Microsoft.AspNetCore.Components.Server (14)
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.Build (4)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Utilities.UnitTests (2)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Features (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.Debugging.Package (2)
Microsoft.CodeAnalysis.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (3)
Microsoft.CodeAnalysis.Workspaces.UnitTests (13)
Microsoft.Data.Analysis (14)
Microsoft.DotNet.SignTool (2)
Microsoft.Extensions.Diagnostics.Testing.Tests (1)
Microsoft.Maui (2)
Microsoft.Maui.Controls (2)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.Xaml (2)
Microsoft.ML.Core (2)
Microsoft.ML.Data (51)
Data\Conversion.cs (45)
21using I2 = Int16;
119AddStd<I1, I2>(Convert);
128AddStd<I2, I1>(Convert);
129AddStd<I2, I2>(Convert);
130AddStd<I2, I4>(Convert);
131AddStd<I2, I8>(Convert);
132AddStd<I2, R4>(Convert);
133AddStd<I2, R8>(Convert);
134AddAux<I2, SB>(Convert);
135AddStd<I2, BL>(Convert);
136AddStd<I2, TX>(Convert);
139AddStd<I4, I2>(Convert);
149AddStd<I8, I2>(Convert);
224AddStd<TX, I2>(Convert);
241AddStd<BL, I2>(Convert);
279AddIsDef<I2>(IsDefault);
301AddTryParse<I2>(TryParse);
777private bool IsDefault(in I2 src) => src == default(I2);
808public void Convert(in I2 src, ref I1 dst) => dst = (I1)src;
814public void Convert(in I1 src, ref I2 dst) => dst = src;
815public void Convert(in I2 src, ref I2 dst) => dst = src;
816public void Convert(in I4 src, ref I2 dst) => dst = (I2)src;
817public void Convert(in I8 src, ref I2 dst) => dst = (I2)src;
822public void Convert(in I2 src, ref I4 dst) => dst = src;
829public void Convert(in I2 src, ref I8 dst) => dst = src;
880public void Convert(in I2 src, ref R4 dst) => dst = (R4)src;
898public void Convert(in I2 src, ref R8 dst) => dst = (R8)src;
916public void Convert(in I2 src, ref SB dst) { ClearDst(ref dst); dst.Append(src); }
941public void Convert(in I2 src, ref TX dst) => dst = src.ToString().AsMemory();
961public void Convert(in I2 src, ref BL dst) => dst = System.Convert.ToBoolean(src);
1236public bool TryParse(in TX src, out I2 dst)
1239TryParseSigned(I2.MaxValue, in src, out long? res);
1246Contracts.Check((I2)res == res, "Overflow or underflow occurred while converting value in text to short.");
1247dst = (I2)res;
1459private I2 ParseI2(in TX src)
1461TryParseSigned(I2.MaxValue, in src, out long? res);
1463Contracts.Check((I2)res == res, "Overflow or underflow occurred while converting value in text to short.");
1464return (I2)res;
1653public void Convert(in TX span, ref I2 value)
1723public void Convert(in BL src, ref I2 dst) => dst = System.Convert.ToInt16(src);
Transforms\ValueMapping.cs (2)
1145CastInputTo<Int16>(ctx, out node, srcVariableName, opType, labelEncoderOutput, NumberDataViewType.Int64);
1147CastInputTo<Int16>(ctx, out node, srcVariableName, opType, labelEncoderOutput, TextDataViewType.Instance);
Microsoft.ML.OnnxTransformer (3)
Microsoft.ML.TensorFlow (4)
Microsoft.VisualBasic.Core (90)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (25)
93If TypeOf Value Is Int16 Then
94Return CBool(DirectCast(Value, Int16))
237If TypeOf Value Is Int16 Then
238Return CByte(DirectCast(Value, Int16))
384If TypeOf Value Is Int16 Then
385Return CSByte(DirectCast(Value, Int16))
527If TypeOf Value Is Int16 Then
528Return CShort(DirectCast(Value, Int16))
673If TypeOf Value Is Int16 Then
674Return CUShort(DirectCast(Value, Int16))
816If TypeOf Value Is Int16 Then
817Return CInt(DirectCast(Value, Int16))
961If TypeOf Value Is Int16 Then
962Return CUInt(DirectCast(Value, Int16))
1107If TypeOf Value Is Int16 Then
1108Return CLng(DirectCast(Value, Int16))
1254If TypeOf Value Is Int16 Then
1255Return CULng(DirectCast(Value, Int16))
1413If TypeOf Value Is Int16 Then
1414Return CDec(DirectCast(Value, Int16))
1653If TypeOf Value Is Int16 Then
1654Return CSng(DirectCast(Value, Int16))
1798If TypeOf Value Is Int16 Then
1799Return CDbl(DirectCast(Value, Int16))
2381Private Shared Function CastInt16Enum(ByVal Expression As Int16, ByVal TargetType As Type) As Object
Microsoft\VisualBasic\CompilerServices\Operators.vb (38)
976If TypeOf Operand Is Int16 Then
977Return NegateInt16(DirectCast(Operand, Int16))
1076Private Shared Function NegateInt16(ByVal operand As Int16) As Object
1077If operand = Int16.MinValue Then
1078Return -CInt(Int16.MinValue)
1210Private Shared Function NotInt16(ByVal operand As Int16, ByVal operandType As Type) As Object
1211Dim result As Int16 = Not operand
1606Private Shared Function AndInt16(ByVal left As Int16, ByVal right As Int16, Optional ByVal enumType As Type = Nothing) As Object
1607Dim result As Int16 = left And right
1978Private Shared Function OrInt16(ByVal left As Int16, ByVal right As Int16, Optional ByVal enumType As Type = Nothing) As Object
1979Dim result As Int16 = left Or right
2371Private Shared Function XorInt16(ByVal left As Int16, ByVal right As Int16, Optional ByVal enumType As Type = Nothing) As Object
2372Dim result As Int16 = left Xor right
2816Dim result As Int16 = CShort(left) + CShort(right)
2827Dim result As Int16 = CShort(left) + CShort(right)
2836Private Shared Function AddInt16(ByVal left As Int16, ByVal right As Int16) As Object
2840If result > Int16.MaxValue OrElse result < Int16.MinValue Then
3284Dim result As Int16 = CShort(left) - CShort(right)
3295Dim result As Int16 = CShort(left) - CShort(right)
3304Private Shared Function SubtractInt16(ByVal left As Int16, ByVal right As Int16) As Object
3308If result < Int16.MinValue OrElse result > Int16.MaxValue Then
3723If result > Int16.MaxValue Then
3735Dim result As Int16 = CShort(left) * CShort(right)
3744Private Shared Function MultiplyInt16(ByVal left As Int16, ByVal right As Int16) As Object
3748If result > Int16.MaxValue OrElse result < Int16.MinValue Then
4603Private Shared Function ModInt16(ByVal left As Int16, ByVal right As Int16) As Object
4991Private Shared Function IntDivideInt16(ByVal left As Int16, ByVal right As Int16) As Object
mscorlib (1)
netstandard (1)
PresentationBuildTasks (20)
PresentationCore (106)
System\Windows\Media\Animation\Generated\Int16Animation.cs (32)
32private Int16[] _keyValues;
47Type typeofProp = typeof(Int16?);
56new PropertyMetadata((Int16?)null, propCallback),
63new PropertyMetadata((Int16?)null, propCallback),
70new PropertyMetadata((Int16?)null, propCallback),
94public Int16Animation(Int16 toValue, Duration duration)
106public Int16Animation(Int16 toValue, Duration duration, FillBehavior fillBehavior)
119public Int16Animation(Int16 fromValue, Int16 toValue, Duration duration)
132public Int16Animation(Int16 fromValue, Int16 toValue, Duration duration, FillBehavior fillBehavior)
205protected override Int16 GetCurrentValueCore(Int16 defaultOriginValue, Int16 defaultDestinationValue, AnimationClock animationClock)
222Int16 from = new Int16();
223Int16 to = new Int16();
224Int16 accumulated = new Int16();
225Int16 foundation = new Int16();
339Int16 accumulator = AnimatedTypeHelpers.SubtractInt16(to, from);
364_keyValues = new Int16[2];
371_keyValues = new Int16[2];
378_keyValues = new Int16[1];
385_keyValues = new Int16[1];
391_keyValues = new Int16[1];
412Int16? typedValue = (Int16?)value;
432public Int16? From
436return (Int16?)GetValue(FromProperty);
452public Int16? To
456return (Int16?)GetValue(ToProperty);
472public Int16? By
476return (Int16?)GetValue(ByProperty);
PresentationFramework (117)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (30)
95internal const Int16 StaticExtensionTypeId = 602;
96internal const Int16 StaticResourceTypeId = 603;
97internal const Int16 DynamicResourceTypeId = 189;
98internal const Int16 TemplateBindingTypeId = 634;
99internal const Int16 TypeExtensionTypeId = 691;
118internal Assembly GetAssembly(Int16 assemblyId)
130internal String GetAssemblyName(Int16 assemblyId)
142internal Type GetClrType(Int16 typeId)
159internal XamlType GetXamlType(Int16 typeId)
176internal DependencyProperty GetDependencyProperty(Int16 propertyId)
189internal XamlMember GetProperty(Int16 propertyId, XamlType parentType)
228internal XamlMember GetProperty(Int16 propertyId, bool isAttached)
273internal XamlType GetPropertyDeclaringType(Int16 propertyId)
291internal String GetPropertyName(Int16 propertyId, bool fullName)
309internal string GetString(Int16 stringId)
332internal void AddAssembly(Int16 assemblyId, string assemblyName)
356internal void AddXamlType(Int16 typeId, Int16 assemblyId, string typeName, TypeInfoFlags flags)
383internal void AddProperty(Int16 propertyId, Int16 declaringTypeId, string propertyName)
407internal void AddString(Int16 stringId, string value)
541private XamlType ResolveBamlType(BamlType bamlType, Int16 typeId)
561private bool TryGetBamlAssembly(Int16 assemblyId, out BamlAssembly bamlAssembly)
583private bool TryGetBamlType(Int16 typeId, out BamlType bamlType, out XamlType xamlType)
614private bool TryGetBamlProperty(Int16 propertyId, out BamlProperty bamlProperty, out XamlMember xamlMember)
635Int16 typeId;
727public BamlType(Int16 assemblyId, string name)
736public Int16 AssemblyId;
746public BamlProperty(Int16 declaringTypeId, string name)
755public readonly Int16 DeclaringTypeId;
Replay (2)
Roslyn.Test.PdbUtilities (1)
System.Linq.Expressions (3)
System.Private.CoreLib (15)
System.Runtime (1)
vbc (2)
VBCSCompiler (2)