mono fixes, tweaking service mode
This commit is contained in:
parent
59a86c7a7d
commit
0f73c81a6a
6 changed files with 53 additions and 32 deletions
|
|
@ -2535,12 +2535,14 @@ namespace Server.Commands
|
|||
*/
|
||||
public static bool DontLink( Type type )
|
||||
{
|
||||
// MONO: type.Namespace is null/empty for generic arguments
|
||||
|
||||
if ( type.Name == "T" || String.IsNullOrEmpty( type.Namespace ) || m_Namespaces == null )
|
||||
return true;
|
||||
|
||||
if( type.Namespace.StartsWith( "Server" ) )
|
||||
return false;
|
||||
|
||||
if( m_Namespaces == null )
|
||||
return false; //sanity
|
||||
|
||||
return !m_Namespaces.ContainsKey( type.Namespace );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue