public static string FilterNestedName (string name)
{
//
// SRE API does not handle namespaces and types separately but
// determine that from '.' in name. That's problematic because
// dot is valid character for type name. By replacing any '.'
// in name we avoid any ambiguities and never emit metadata
// namespace for nested types
//
return name.Replace ('.', '_');
}