System.CodeDom.Compiler.CodeGenerator.GenerateTypeOfExpression C# (CSharp) Méthode

GenerateTypeOfExpression() protected méthode

protected GenerateTypeOfExpression ( CodeTypeOfExpression e ) : void
e CodeTypeOfExpression
Résultat void
        protected virtual void GenerateTypeOfExpression(CodeTypeOfExpression e)
        {
            Output.Write("typeof(");
            OutputType(e.Type);
            Output.Write(')');
        }

Usage Example

Exemple #1
0
 public void Visit(CodeTypeOfExpression o)
 {
     g.GenerateTypeOfExpression(o);
 }
CodeGenerator