1 type derived from ValueType
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
22
public abstract partial class Enum :
ValueType
, IComparable, ISpanFormattable, IConvertible
48 references to ValueType
dotnet-svcutil-lib (5)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (2)
817
else if (type == typeof(
ValueType
))
983
if (baseType != null && baseType != typeof(object) && baseType != typeof(
ValueType
))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\DataContract.cs (1)
930
else if (type == typeof(Enum) || type == typeof(
ValueType
))
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
80
s_typeOfValueType = typeof(
ValueType
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
1293
for (Type baseType = typedMessageType; baseType != null && baseType != typeof(object) && baseType != typeof(
ValueType
); baseType = baseType.BaseType())
Microsoft.CodeAnalysis (1)
SpecialType.cs (1)
51
/// Indicates that the type is <see cref="
ValueType
"/>.
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
src\Compilers\Core\Portable\SpecialType.cs (1)
51
/// Indicates that the type is <see cref="
ValueType
"/>.
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\PredefinedTypes.cs (1)
149
new PredefinedTypeInfo(PredefinedType.PT_VALUE, typeof(
ValueType
), "System.ValueType"),
Microsoft.Maui.Essentials (2)
Gyroscope\Gyroscope.shared.cs (1)
175
/// <inheritdoc cref="
ValueType
.GetHashCode"/>
OrientationSensor\OrientationSensor.shared.cs (1)
180
/// <inheritdoc cref="
ValueType
.GetHashCode"/>
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
692
if (!arg.IsCollection || value == null || !arg.ItemValueType.IsSubclassOf(typeof(System.
ValueType
)) ||
Microsoft.VisualBasic.Core (15)
Microsoft\VisualBasic\CompilerServices\StructUtils.vb (3)
24
Friend Shared Function EnumerateUDT(ByVal oStruct As
ValueType
, ByVal intfRecEnum As IRecordEnum, ByVal fGet As Boolean) As System.Object
55
Call EnumerateUDT(CType(obj,
ValueType
), intfRecEnum, fGet)
85
EnumerateUDT(CType(o,
ValueType
), intf, False)
Microsoft\VisualBasic\CompilerServices\VB6File.vb (4)
1357
Friend Sub PutRecord(ByVal RecordNumber As Long, ByVal o As
ValueType
)
1659
Friend Sub GetRecord(ByVal RecordNumber As Long, ByRef o As
ValueType
, Optional ByVal ContainedInVariant As Boolean = False)
2364
Friend Overridable Overloads Sub [Get](ByRef Value As
ValueType
, Optional ByVal RecordNumber As Long = 0)
2429
Friend Overridable Overloads Sub Put(ByVal Value As
ValueType
, Optional ByVal RecordNumber As Long = 0)
Microsoft\VisualBasic\CompilerServices\VB6RandomFile.vb (5)
273
Dim valType As
ValueType
274
valType = CType(Value,
ValueType
)
292
Friend Overloads Overrides Sub [Get](ByRef Value As
ValueType
, Optional ByVal RecordNumber As Long = 0)
500
PutRecord(RecordNumber, CType(Value,
ValueType
))
511
Friend Overloads Overrides Sub Put(ByVal Value As
ValueType
, Optional ByVal RecordNumber As Long = 0)
Microsoft\VisualBasic\FileSystem.vb (2)
585
Public Sub FileGet(ByVal FileNumber As Integer, ByRef Value As
ValueType
, Optional ByVal RecordNumber As Long = -1)
734
Public Sub FilePut(ByVal FileNumber As Integer, ByVal Value As
ValueType
, Optional ByVal RecordNumber As Long = -1)
Microsoft\VisualBasic\Strings.vb (1)
654
If TypeOf Expression Is
ValueType
Then
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1231
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ValueType
))]
netstandard (1)
netstandard.cs (1)
2242
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ValueType
))]
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
41
if (attributedPart is
ValueType
)
System.Linq.Expressions (3)
System\Dynamic\Utils\TypeUtils.cs (2)
254
if (AreReferenceAssignable(targetType, typeof(
ValueType
)))
860
source.IsValueType && (destination == typeof(object) || destination == typeof(
ValueType
)) || source.IsEnum && destination == typeof(Enum);
System\Linq\Expressions\Compiler\ILGen.cs (1)
572
typeFrom == typeof(System.
ValueType
) ||
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TupleElementNamesAttribute.cs (2)
23
/// construction, which <see cref="
ValueType
"/> occurrences are
28
/// instantiation of <see cref="
ValueType
"/> that contains
src\libraries\System.Private.CoreLib\src\System\Type.cs (1)
140
protected virtual bool IsValueTypeImpl() => IsSubclassOf(typeof(
ValueType
));
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (1)
491
valueClassType = m_module.DefineType(strValueClassName, typeAttributes, typeof(
ValueType
), PackingSize.Size1, size);
src\System\RuntimeType.CoreCLR.cs (2)
2405
internal static readonly RuntimeType ValueType = (RuntimeType)typeof(
ValueType
);
3424
return IsSubclassOf(typeof(
ValueType
));
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\DataContract.cs (2)
647
"ValueType" => typeof(
ValueType
),
733
else if (type == typeof(Enum) || type == typeof(
ValueType
))
System\Runtime\Serialization\Globals.cs (1)
40
s_typeOfValueType ??= typeof(
ValueType
);
System.Private.Xml (2)
System\Xml\Serialization\Types.cs (2)
785
else if (type == typeof(
ValueType
))
937
if (baseType != null && baseType != typeof(object) && baseType != typeof(
ValueType
))
System.Reflection.Emit (1)
System\Reflection\Emit\ModuleBuilderImpl.cs (1)
44
typeof(nint), typeof(nuint), typeof(TypedReference), typeof(
ValueType
) };
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
871
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.
ValueType
))]
System.Runtime.Serialization.Formatters (1)
System\Runtime\Serialization\ObjectManager.cs (1)
161
if (holder.ObjectValue != null && holder.ObjectValue is
ValueType
)
System.Text.Json (1)
System\Text\Json\Serialization\Metadata\DefaultJsonTypeInfoResolver.Helpers.cs (1)
111
currentType == typeof(
ValueType
))
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1650
!typeof(
ValueType
).IsAssignableFrom(FormattedValueType))