5 writes to _currentClass
System.CodeDom (5)
Microsoft\CSharp\CSharpCodeGenerator.cs (5)
312
_currentClass
= dummyClass;
317
_currentClass
= null;
1835
_currentClass
= e;
1874
_currentClass
= e;
1966
_currentClass
= declaredType;
16 references to _currentClass
System.CodeDom (16)
Microsoft\CSharp\CSharpCodeGenerator.cs (16)
69
private string CurrentTypeName =>
_currentClass
!= null ?
_currentClass
.Name : "<% unknown %>";
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;