mirror of
https://github.com/AssetRipper/AssetRipper.CIL.git
synced 2026-11-13 17:06:49 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c164acde5f | ||
|
|
8935137a6f |
No files matched your search
@@ -22,7 +22,7 @@ public static class CilInstructionCollectionExtensions
|
||||
{
|
||||
instructions.AddDefaultPrimitiveValue(corLibTypeSignature);
|
||||
}
|
||||
else if (type is ByReferenceTypeSignature)
|
||||
else if (type is ByReferenceTypeSignature or PointerTypeSignature)
|
||||
{
|
||||
instructions.AddNullRef();
|
||||
}
|
||||
@@ -43,7 +43,7 @@ public static class CilInstructionCollectionExtensions
|
||||
{
|
||||
instructions.InitializeDefaultPrimitiveValue(corLibTypeSignature, localVariable);
|
||||
}
|
||||
else if (type is ByReferenceTypeSignature)
|
||||
else if (type is ByReferenceTypeSignature or PointerTypeSignature)
|
||||
{
|
||||
instructions.AddNullRef();
|
||||
instructions.Add(CilOpCodes.Stloc, localVariable);
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
|
||||
<PolySharpIncludeRuntimeSupportedAttributes>true</PolySharpIncludeRuntimeSupportedAttributes>
|
||||
|
||||
<Version>1.1.4</Version>
|
||||
<Version>1.1.5</Version>
|
||||
<AssemblyVersion>$(Version)</AssemblyVersion>
|
||||
<Copyright>Copyright (c) 2024 ds5678</Copyright>
|
||||
<Copyright>Copyright (c) 2025 ds5678</Copyright>
|
||||
<Authors>ds5678</Authors>
|
||||
<Company>AssetRipper</Company>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
|
||||
Reference in new issue
Block a user