Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. System.Runtime.CompilerServices
  3. RuntimeHelpers
  4. IsReferenceOrContainsReferences<T>()
  • RuntimeHelpers
    • CleanupCode
    • TryCode
    • OffsetToStringData
    • AllocateTypeAssociatedMemory(Type, Int32)
    • Box(Byte, RuntimeTypeHandle)
    • CreateSpan<T>(RuntimeFieldHandle)
    • EnsureSufficientExecutionStack()
    • Equals(Object, Object)
    • ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, Object)
    • GetHashCode(Object)
    • GetObjectValue(Object)
    • GetSubArray<T>(T[], Range)
    • GetUninitializedObject(Type)
    • InitializeArray(Array, RuntimeFieldHandle)
    • IsReferenceOrContainsReferences<T>()
    • PrepareConstrainedRegions()
    • PrepareConstrainedRegionsNoOP()
    • PrepareContractedDelegate(Delegate)
    • PrepareDelegate(Delegate)
    • PrepareMethod(RuntimeMethodHandle)
    • PrepareMethod(RuntimeMethodHandle, RuntimeTypeHandle[])
    • ProbeForSufficientStack()
    • RunClassConstructor(RuntimeTypeHandle)
    • RunModuleConstructor(ModuleHandle)
    • SizeOf(RuntimeTypeHandle)
    • TryEnsureSufficientExecutionStack()
netcoreapp2.2
namespace System.Runtime.CompilerServices
{
    public static class RuntimeHelpers
    {
        public static bool IsReferenceOrContainsReferences<T>();
    }
}
.NET
5.06.07.08.09.010.011.0
.NET Core
2.02.12.23.03.1
.NET Standard
2.1
Information specific to netcoreapp2.2
Assembly

System.Runtime , Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

10/19/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙