18 references to CodeTypeDelegate
System (1)
src\libraries\shims\System\ref\System.cs (1)
99
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.
CodeTypeDelegate
))]
System.CodeDom (17)
Microsoft\CSharp\CSharpCodeGenerator.cs (7)
77
private bool IsCurrentInterface => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsInterface : false;
79
private bool IsCurrentClass => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsClass : false;
81
private bool IsCurrentStruct => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsStruct : false;
83
private bool IsCurrentEnum => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsEnum : false;
85
private bool IsCurrentDelegate => _currentClass != null && _currentClass is
CodeTypeDelegate
;
1916
CodeTypeDelegate
del = (
CodeTypeDelegate
)e;
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
1959
CodeTypeDelegate
del = (
CodeTypeDelegate
)e;
System\CodeDom\Compiler\CodeGenerator.cs (5)
29
protected bool IsCurrentInterface => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsInterface : false;
31
protected bool IsCurrentClass => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsClass : false;
33
protected bool IsCurrentStruct => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsStruct : false;
35
protected bool IsCurrentEnum => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsEnum : false;
37
protected bool IsCurrentDelegate => _currentClass != null && _currentClass is
CodeTypeDelegate
;
System\CodeDom\Compiler\CodeValidator.cs (3)
379
if (e is
CodeTypeDelegate
del)
966
private bool IsCurrentInterface => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsInterface : false;
968
private bool IsCurrentEnum => _currentClass != null && !(_currentClass is
CodeTypeDelegate
) ? _currentClass.IsEnum : false;