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)
21protected CodeTypeDeclaration CurrentClass => _currentClass; 23protected string CurrentTypeName => _currentClass != null ? _currentClass.Name : "<% unknown %>"; 29protected bool IsCurrentInterface => _currentClass != null && !(_currentClass is CodeTypeDelegate) ? _currentClass.IsInterface : false; 31protected bool IsCurrentClass => _currentClass != null && !(_currentClass is CodeTypeDelegate) ? _currentClass.IsClass : false; 33protected bool IsCurrentStruct => _currentClass != null && !(_currentClass is CodeTypeDelegate) ? _currentClass.IsStruct : false; 35protected bool IsCurrentEnum => _currentClass != null && !(_currentClass is CodeTypeDelegate) ? _currentClass.IsEnum : false; 37protected bool IsCurrentDelegate => _currentClass != null && _currentClass is CodeTypeDelegate;