Mono.CSharp.CSharpCodeGenerator.CreateValidIdentifier C# (CSharp) Méthode

CreateValidIdentifier() protected méthode

protected CreateValidIdentifier ( string value ) : string
value string
Résultat 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