projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Test] Avoid MethodInfoTest.GetMethodBody failure when executed on a release (IL...
[mono.git]
/
mcs
/
class
/
corlib
/
System.Security.Principal
/
WindowsIdentity.cs
diff --git
a/mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs
b/mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs
index 14f07dd98c80a4dab5f53210e1baf956e00f9c5f..8c431515299405def6f815633129ca93eafda67a 100644
(file)
--- a/
mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs
+++ b/
mcs/class/corlib/System.Security.Principal/WindowsIdentity.cs
@@
-244,7
+244,7
@@
namespace System.Security.Principal {
else {
// validate token by getting name
_name = GetTokenName (_token);
- if (
(_name == String.Empty) || (_name == null)
)
+ if (
_name == null
)
throw new SerializationException ("Token doesn't match a user.");
}
_type = _info.GetString ("m_type");