You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 23:26:32 +09:00
Changed target framework to 4.5.1 for all projects
Changed some minor things after running .net portability analyzer Fixed a bunch of warnings (mostly CLS compliance)
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Lidgren.Network
|
||||
value = readMethod.Invoke(this, null);
|
||||
|
||||
// set the value
|
||||
var setMethod = fi.GetSetMethod((flags & BindingFlags.NonPublic) == BindingFlags.NonPublic);
|
||||
var setMethod = fi.SetMethod;
|
||||
if (setMethod != null)
|
||||
setMethod.Invoke(target, new object[] { value });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user