Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TypeName"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 public TypeName(Identifier name) : base(name)
 {
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MethodDefinition"/> class.
 /// </summary>
 /// <param name="returntype">The returntype.</param>
 /// <param name="name">The name.</param>
 public MethodDefinition(TypeBase returntype, string name) : this()
 {
     ReturnType  = returntype;
     Name        = new Identifier(name);
     declaration = this;
 }