From 48e18732d29ed878a5c2b64595231fc24915494f Mon Sep 17 00:00:00 2001 From: Ricky Curtice Date: Sat, 11 Mar 2017 21:20:46 -0800 Subject: [PATCH] The UUID's Guid can't be readonly if it's assigned to from a method. At least not when I tried to compile on Linux. Switching to internal set should resolve that while still protecting from stupidity by consumers of the DLL. --- OpenMetaverseTypes/UUID.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenMetaverseTypes/UUID.cs b/OpenMetaverseTypes/UUID.cs index 4f4335bd..081ac4d1 100644 --- a/OpenMetaverseTypes/UUID.cs +++ b/OpenMetaverseTypes/UUID.cs @@ -37,7 +37,7 @@ namespace OpenMetaverse public struct UUID : IComparable, IEquatable { /// The System.Guid object this struct wraps around - public readonly Guid Guid; + public Guid Guid { get; internal set; } #region Constructors