ICSharpCode.NRefactory.MonoCSharp.TypeDefinition.FilterNestedName C# (CSharp) Method

FilterNestedName() public static method

public static FilterNestedName ( string name ) : string
name string
return string
		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 ('.', '_');
		}