Model: Change CustomAttributeData.VirtualAddress to be non-nullable

This commit is contained in:
Katy Coe
2020-08-09 20:44:13 +02:00
parent 10b6d22edf
commit ea8a18353a
4 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ namespace Il2CppInspector.Reflection
// The type of the attribute
public TypeInfo AttributeType { get; set; }
public (ulong Start, ulong End)? VirtualAddress =>
public (ulong Start, ulong End) VirtualAddress =>
// The last one will be wrong but there is no way to calculate it
(Model.Package.CustomAttributeGenerators[Index], Model.Package.FunctionAddresses[Model.Package.CustomAttributeGenerators[Index]]);