# GetOrCreatePartiallyUnsafeWithSubHashCode<TContext>(uint, long)

> Creates a shared static data unsafely for the specified context and sub-context (usable from both C# and HPC#).

## Definition

* **Type:** Method
* **Namespace:** [Unity.Burst](/engine/6000.6/script-reference/unity/burst.md)
* **Assembly:** UnityEngine.BurstModule

## GetOrCreatePartiallyUnsafeWithSubHashCode\<T>(uint, long)

```csharp
public static SharedStatic<T> GetOrCreatePartiallyUnsafeWithSubHashCode<TContext>(uint alignment, long subHashCode)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): The alignment (specified in bytes).**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): The 64-bit sub-hashcode for the shared-static.

### Returns

| Type                                                                             | Description                                                                    |
| -------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| [SharedStatic\<T>](/engine/6000.6/script-reference/unity/burst/sharedstatic1.md) | A newly created or previously cached shared-static for the hashcodes provided. |
