5 writes to _currentClass
System.CodeDom (5)
System\CodeDom\Compiler\CodeGenerator.cs (5)
53
_currentClass
= e;
89
_currentClass
= e;
119
_currentClass
= declaredType;
418
_currentClass
= dummyClass;
423
_currentClass
= null;
17 references to _currentClass
System.CodeDom (17)
System\CodeDom\Compiler\CodeGenerator.cs (17)
21
protected CodeTypeDeclaration CurrentClass =>
_currentClass
;
23
protected string CurrentTypeName =>
_currentClass
!= null ?
_currentClass
.Name : "<% unknown %>";
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;