2 types derived from CodeDirective
System.CodeDom (2)
System\CodeDom\CodeChecksumPragma.cs (1)
6
public class CodeChecksumPragma :
CodeDirective
System\CodeDom\CodeRegionDirective.cs (1)
6
public 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)
2507
CodeDirective
directive = directives[i];
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
2274
CodeDirective
directive = directives[i];
System\CodeDom\CodeDirectiveCollection.cs (10)
17
public CodeDirectiveCollection(
CodeDirective
[] value)
22
public
CodeDirective
this[int index]
24
get => (
CodeDirective
)List[index];
28
public int Add(
CodeDirective
value) => List.Add(value);
30
public void AddRange(
CodeDirective
[] value)
57
public bool Contains(
CodeDirective
value) => List.Contains(value);
59
public void CopyTo(
CodeDirective
[] array, int index) => List.CopyTo(array, index);
61
public int IndexOf(
CodeDirective
value) => List.IndexOf(value);
63
public void Insert(int index,
CodeDirective
value) => List.Insert(index, value);
65
public void Remove(
CodeDirective
value) => List.Remove(value);
System\CodeDom\Compiler\CodeValidator.cs (3)
52
else if (e is
CodeDirective
)
54
ValidateCodeDirective((
CodeDirective
)e);
938
private static void ValidateCodeDirective(
CodeDirective
e)