zoukankan      html  css  js  c++  java
  • CompilerResults,CompilerErrorCollection,

    namespace System.CodeDom.Compiler
    {
        //
        // 摘要:
        //     表示从编译器返回的编译结果。
        public class CompilerResults
        {
            //
            // 摘要:
            //     初始化使用指定临时文件的 System.CodeDom.Compiler.CompilerResults 类的新实例。
            //
            // 参数:
            //   tempFiles:
            //     一个 System.CodeDom.Compiler.TempFileCollection,用它管理并存储对编译期间生成的中间文件的引用。
            public CompilerResults(TempFileCollection tempFiles);
    
            //
            // 摘要:
            //     获取或设置已编译的程序集。
            //
            // 返回结果:
            //     System.Reflection.Assembly,指示已编译的程序集。
            public Assembly CompiledAssembly { get; set; }
            //
            // 摘要:
            //     获取编译器错误和警告的集合。
            //
            // 返回结果:
            //     System.CodeDom.Compiler.CompilerErrorCollection,指示由编译产生的错误和警告(如果有)。
            public CompilerErrorCollection Errors { get; }
            //
            // 摘要:
            //     指示证据对象,该对象表示编译的程序集的安全策略权限。
            //
            // 返回结果:
            //     表示编译的程序集的安全策略权限的 System.Security.Policy.Evidence 对象。
            public Evidence Evidence { get; set; }
            //
            // 摘要:
            //     获取或设置编译器的返回值。
            //
            // 返回结果:
            //     编译器的返回值。
            public int NativeCompilerReturnValue { get; set; }
            //
            // 摘要:
            //     获取编译器输出消息。
            //
            // 返回结果:
            //     包含输出消息的 System.Collections.Specialized.StringCollection。
            public StringCollection Output { get; }
            //
            // 摘要:
            //     获取或设置已编译程序集的路径。
            //
            // 返回结果:
            //     程序集的路径;如果程序集是在内存中生成的,则为 null。
            public string PathToAssembly { get; set; }
            //
            // 摘要:
            //     获取或设置要使用的临时文件集合。
            //
            // 返回结果:
            //     一个 System.CodeDom.Compiler.TempFileCollection,用它管理并存储对编译期间生成的中间文件的引用。
            public TempFileCollection TempFiles { get; set; }
        }
    }
    namespace System.CodeDom.Compiler
    {
        //
        // 摘要:
        //     表示 System.CodeDom.Compiler.CompilerError 对象的集合。
        [DefaultMember("Item")]
        public class CompilerErrorCollection : CollectionBase
        {
            //
            // 摘要:
            //     初始化 System.CodeDom.Compiler.CompilerErrorCollection 类的新实例。
            public CompilerErrorCollection();
            //
            // 摘要:
            //     初始化 System.CodeDom.Compiler.CompilerErrorCollection 类的新实例,该实例包含指定 System.CodeDom.Compiler.CompilerErrorCollection
            //     的内容。
            //
            // 参数:
            //   value:
            //     一个 System.CodeDom.Compiler.CompilerErrorCollection 对象,用来初始化集合。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     value 为 <languageKeyword>null</languageKeyword>。
            public CompilerErrorCollection(CompilerErrorCollection value);
            //
            // 摘要:
            //     初始化包含指定的 System.CodeDom.Compiler.CompilerError 对象数组的 System.CodeDom.Compiler.CompilerErrorCollection
            //     新实例。
            //
            // 参数:
            //   value:
            //     用来初始化集合的 System.CodeDom.Compiler.CompilerError 对象数组。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     value 为 null。
            public CompilerErrorCollection(CompilerError[] value);
    
            //
            // 摘要:
            //     获取或设置指定索引处的 System.CodeDom.Compiler.CompilerError。
            //
            // 参数:
            //   index:
            //     要在集合中定位的项的从零开始的索引。
            //
            // 返回结果:
            //     每个有效索引位置的 System.CodeDom.Compiler.CompilerError。
            //
            // 异常:
            //   T:System.ArgumentOutOfRangeException:
            //     index 参数指示的索引值不在集合的有效索引范围内。
            public CompilerError this[int index] { get; set; }
    
            //
            // 摘要:
            //     获取一个值,该值指示集合是否包含错误。
            //
            // 返回结果:
            //     如果集合包含错误,则为 true;否则为 false。
            public bool HasErrors { get; }
            //
            // 摘要:
            //     获取一个值,该值指示集合是否包含警告。
            //
            // 返回结果:
            //     如果集合包含警告,则为 true;否则为 false。
            public bool HasWarnings { get; }
    
            //
            // 摘要:
            //     将指定的 System.CodeDom.Compiler.CompilerError 对象添加到错误集合中。
            //
            // 参数:
            //   value:
            //     要添加的 System.CodeDom.Compiler.CompilerError 对象。
            //
            // 返回结果:
            //     新元素位置处插入的索引。
            public int Add(CompilerError value);
            //
            // 摘要:
            //     将数组元素复制到错误集合的末尾。
            //
            // 参数:
            //   value:
            //     System.CodeDom.Compiler.CompilerError 类型的数组,其中包含要添加到集合中的对象。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     value 为 <languageKeyword>null</languageKeyword>。
            public void AddRange(CompilerError[] value);
            //
            // 摘要:
            //     将指定编译器的错误集合内容添加到错误集合的末尾。
            //
            // 参数:
            //   value:
            //     一个 System.CodeDom.Compiler.CompilerErrorCollection 对象,其中包含要添加到集合中的对象。
            //
            // 异常:
            //   T:System.ArgumentNullException:
            //     value 为 <languageKeyword>null</languageKeyword>。
            public void AddRange(CompilerErrorCollection value);
            //
            // 摘要:
            //     获取一个值,该值指示集合是否包含指定的 System.CodeDom.Compiler.CompilerError 对象。
            //
            // 参数:
            //   value:
            //     要定位的 System.CodeDom.Compiler.CompilerError。
            //
            // 返回结果:
            //     如果集合中包含 System.CodeDom.Compiler.CompilerError,则为 true;否则为 false。
            public bool Contains(CompilerError value);
            //
            // 摘要:
            //     将集合的值复制到一维 System.Array 实例的指定索引位置。
            //
            // 参数:
            //   array:
            //     一维 System.Array,是从 System.CodeDom.Compiler.CompilerErrorCollection 复制的值的目标。
            //
            //   index:
            //     数组中复制起始处的索引。
            //
            // 异常:
            //   T:System.ArgumentException:
            //     array 参数指示的数组是多维的。- 或 - System.CodeDom.Compiler.CompilerErrorCollection 中的元素数目大于
            //     array 参数指示的数组中的 arrayIndex 参数索引值和 array 参数指示的数组末尾之间的可用空间。
            //
            //   T:System.ArgumentNullException:
            //     array 参数为 null。
            //
            //   T:System.ArgumentOutOfRangeException:
            //     index 参数小于 array 参数指示的数组下限。
            public void CopyTo(CompilerError[] array, int index);
            //
            // 摘要:
            //     获取指定的 System.CodeDom.Compiler.CompilerError 对象在集合中的索引(如果它已存在于该集合中)。
            //
            // 参数:
            //   value:
            //     要定位的 System.CodeDom.Compiler.CompilerError。
            //
            // 返回结果:
            //     如果 System.CodeDom.Compiler.CompilerErrorCollection 中存在指定 System.CodeDom.Compiler.CompilerError
            //     的索引,则为该索引;否则为 -1。
            public int IndexOf(CompilerError value);
            //
            // 摘要:
            //     将指定的 System.CodeDom.Compiler.CompilerError 插入集合中的指定索引处。
            //
            // 参数:
            //   index:
            //     从零开始的索引,应在此处插入编译器错误。
            //
            //   value:
            //     要插入的 System.CodeDom.Compiler.CompilerError。
            public void Insert(int index, CompilerError value);
            //
            // 摘要:
            //     从集合中移除特定的 System.CodeDom.Compiler.CompilerError。
            //
            // 参数:
            //   value:
            //     要从 System.CodeDom.Compiler.CompilerErrorCollection 移除的 System.CodeDom.Compiler.CompilerError。
            //
            // 异常:
            //   T:System.ArgumentException:
            //     未在集合中找到指定的对象。
            public void Remove(CompilerError value);
        }
    }
    #region 程序集 System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    // C:WindowsMicrosoft.NETFrameworkv2.0.50727System.dll
    #endregion
    
    namespace System.CodeDom.Compiler
    {
        //
        // 摘要:
        //     表示编译器错误或警告。
        public class CompilerError
        {
            //
            // 摘要:
            //     初始化 System.CodeDom.Compiler.CompilerError 类的新实例。
            public CompilerError();
            //
            // 摘要:
            //     使用指定的文件名、行、列、错误号和错误文本初始化 System.CodeDom.Compiler.CompilerError 类的新实例。
            //
            // 参数:
            //   fileName:
            //     编译器遇到错误时正在编译的文件的文件名。
            //
            //   line:
            //     错误源所在的行。
            //
            //   column:
            //     错误源所在的列。
            //
            //   errorNumber:
            //     错误的错误号。
            //
            //   errorText:
            //     错误信息文本。
            public CompilerError(string fileName, int line, int column, string errorNumber, string errorText);
    
            //
            // 摘要:
            //     获取或设置错误源所在的列号。
            //
            // 返回结果:
            //     编译器遇到错误时所在的源文件列号。
            public int Column { get; set; }
            //
            // 摘要:
            //     获取或设置错误号。
            //
            // 返回结果:
            //     字符串形式的错误号。
            public string ErrorNumber { get; set; }
            //
            // 摘要:
            //     获取或设置错误信息的文本。
            //
            // 返回结果:
            //     错误信息的文本。
            public string ErrorText { get; set; }
            //
            // 摘要:
            //     获取或设置包含导致错误的代码的源文件的文件名。
            //
            // 返回结果:
            //     包含导致错误的代码的源文件的文件名。
            public string FileName { get; set; }
            //
            // 摘要:
            //     获取或设置一个值,该值指示错误是否是警告。
            //
            // 返回结果:
            //     如果错误是警告,则为 true;否则为 false。
            public bool IsWarning { get; set; }
            //
            // 摘要:
            //     获取或设置错误源所在的行号。
            //
            // 返回结果:
            //     编译器遇到错误时所在的源文件行号。
            public int Line { get; set; }
    
            //
            // 摘要:
            //     提供对象的 System.Object.ToString 方法的实现。
            //
            // 返回结果:
            //     编译器错误的字符串表示形式。
            public override string ToString();
        }
    }
  • 相关阅读:
    HDU 2236 无题II
    P2220 [HAOI2012]容易题
    UVA11383 Golden Tiger Claw
    AT2272 [ARC066B] Xor Sum
    CentOS7 静默安装oracle12c
    SNAT与DNAT
    Linux下离线安装Docker
    TJOI2017 DNA 和 BJOI2015 隐身术
    LOJ6169 相似序列
    BJOI2019 删数
  • 原文地址:https://www.cnblogs.com/swtool/p/7115065.html
Copyright © 2011-2022 走看看