Mono.CSharp.CSharpCodeGenerator.CreateValidIdentifier C# (CSharp) Method

CreateValidIdentifier() protected method

protected CreateValidIdentifier ( string value ) : string
value string
return string
		protected override string CreateValidIdentifier (string value)
		{
			if (value == null)
				throw new NullReferenceException ();

			if (keywordsTable == null)
				FillKeywordTable ();

			if (keywordsTable.Contains (value))
				return "_" + value;
			else
				return value;
		}
    
CSharpCodeGenerator