2 types derived from CodeDirective
System.CodeDom (2)
System\CodeDom\CodeChecksumPragma.cs (1)
6public class CodeChecksumPragma : CodeDirective
System\CodeDom\CodeRegionDirective.cs (1)
6public class CodeRegionDirective : CodeDirective
16 references to CodeDirective
System (1)
src\libraries\shims\System\ref\System.cs (1)
53[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeDirective))]
System.CodeDom (15)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2507CodeDirective directive = directives[i];
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2274CodeDirective directive = directives[i];
System\CodeDom\CodeDirectiveCollection.cs (10)
17public CodeDirectiveCollection(CodeDirective[] value) 22public CodeDirective this[int index] 24get => (CodeDirective)List[index]; 28public int Add(CodeDirective value) => List.Add(value); 30public void AddRange(CodeDirective[] value) 57public bool Contains(CodeDirective value) => List.Contains(value); 59public void CopyTo(CodeDirective[] array, int index) => List.CopyTo(array, index); 61public int IndexOf(CodeDirective value) => List.IndexOf(value); 63public void Insert(int index, CodeDirective value) => List.Insert(index, value); 65public void Remove(CodeDirective value) => List.Remove(value);
System\CodeDom\Compiler\CodeValidator.cs (3)
52else if (e is CodeDirective) 54ValidateCodeDirective((CodeDirective)e); 938private static void ValidateCodeDirective(CodeDirective e)