19 implementations of GetTypeCode
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
LinkTagHelperTest.cs (1)
1222public TypeCode GetTypeCode()
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskBuilderTestTask.cs (1)
42public TypeCode GetTypeCode() => Value.GetTypeCode();
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\FormattableTestExtensions.cs (1)
30public readonly TypeCode GetTypeCode() => throw new NotSupportedException();
System.Private.CoreLib (16)
src\libraries\System.Private.CoreLib\src\System\Boolean.cs (1)
321public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Byte.cs (1)
177public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Char.cs (1)
512public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1974public TypeCode GetTypeCode() => TypeCode.DateTime;
src\libraries\System.Private.CoreLib\src\System\DBNull.cs (1)
37public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
1029public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
447public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
2160public TypeCode GetTypeCode() =>
src\libraries\System.Private.CoreLib\src\System\Int16.cs (1)
179public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Int32.cs (1)
195public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
192public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\SByte.cs (1)
182public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
442public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (1)
174public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\UInt32.cs (1)
190public TypeCode GetTypeCode()
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
189public TypeCode GetTypeCode()
71 references to GetTypeCode
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskBuilderTestTask.cs (1)
42public TypeCode GetTypeCode() => Value.GetTypeCode();
Microsoft.VisualBasic.Core (66)
Microsoft\VisualBasic\CompilerServices\BooleanType.vb (1)
60ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\ByteType.vb (1)
52ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\CharArrayType.vb (1)
41If (ValueInterface.GetTypeCode() = TypeCode.String) Then
Microsoft\VisualBasic\CompilerServices\CharType.vb (1)
37ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\Conversions.vb (18)
67ValueTypeCode = ValueInterface.GetTypeCode() 211ValueTypeCode = ValueInterface.GetTypeCode() 358ValueTypeCode = ValueInterface.GetTypeCode() 501ValueTypeCode = ValueInterface.GetTypeCode() 647ValueTypeCode = ValueInterface.GetTypeCode() 790ValueTypeCode = ValueInterface.GetTypeCode() 935ValueTypeCode = ValueInterface.GetTypeCode() 1081ValueTypeCode = ValueInterface.GetTypeCode() 1228ValueTypeCode = ValueInterface.GetTypeCode() 1387ValueTypeCode = ValueInterface.GetTypeCode() 1627ValueTypeCode = ValueInterface.GetTypeCode() 1772ValueTypeCode = ValueInterface.GetTypeCode() 1989ValueTypeCode = ValueInterface.GetTypeCode() 2061ValueTypeCode = ValueInterface.GetTypeCode() 2136If (ValueInterface.GetTypeCode() = TypeCode.String) Then 2258ValueTypeCode = ValueInterface.GetTypeCode() 2419Debug.Assert(iconv.GetTypeCode = GetTypeCode(TargetType), "expected types to match") 2421Select Case iconv.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\DateType.vb (1)
44ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\DecimalType.vb (1)
67valueTypeCode = valueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\DoubleType.vb (1)
60valueTypeCode = valueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\IntegerType.vb (1)
52ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\LikeOperator.vb (2)
211tc1 = conv1.GetTypeCode() 222tc2 = conv2.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\LongType.vb (1)
55ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (23)
383type1 = conv1.GetTypeCode() 395type2 = conv2.GetTypeCode() 431type1 = conv1.GetTypeCode() 461tc1 = conv1.GetTypeCode() 473tc2 = conv2.GetTypeCode() 890typ = conv.GetTypeCode() 945tc = conv.GetTypeCode() 1134TypeCode1 = iconv.GetTypeCode() 1508tc1 = conv1.GetTypeCode() 1520tc2 = conv2.GetTypeCode() 1838tc1 = conv1.GetTypeCode() 1850tc2 = conv2.GetTypeCode() 2135tc1 = conv1.GetTypeCode() 2147tc2 = conv2.GetTypeCode() 2440tc1 = conv1.GetTypeCode() 2452tc2 = conv2.GetTypeCode() 2729tc1 = conv1.GetTypeCode() 2739tc2 = conv2.GetTypeCode() 3079tc1 = conv1.GetTypeCode() 3092tc2 = conv2.GetTypeCode() 3353tc1 = conv1.GetTypeCode() 3390tc1 = conv1.GetTypeCode() 3635Select Case iconv.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\Operators.vb (2)
5131tc1 = conv1.GetTypeCode() 5142tc2 = conv2.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\ShortType.vb (1)
52ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\SingleType.vb (1)
66ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\StringType.vb (1)
111ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\CompilerServices\Versioned.vb (1)
55Select Case valueInterface.GetTypeCode()
Microsoft\VisualBasic\Conversion.vb (5)
130Select Case ValueInterface.GetTypeCode() 205Select Case ValueInterface.GetTypeCode() 295Select Case ValueInterface.GetTypeCode() 411Select Case ValueInterface.GetTypeCode() 489ValueTypeCode = ValueInterface.GetTypeCode()
Microsoft\VisualBasic\Information.vb (1)
364valueTypeCode = valueInterface.GetTypeCode()
Microsoft\VisualBasic\Strings.vb (2)
611Select Case ValueInterface.GetTypeCode() 1251tc = ConvertibleExpression.GetTypeCode()
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (2)
102return temp.GetTypeCode(); 112return value is IConvertible convertible ? convertible.GetTypeCode() == TypeCode.DBNull : false;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
1285TypeCode leftType = left.GetTypeCode(); 1286TypeCode rightType = right.GetTypeCode();