@ -138,8 +138,10 @@ void UmbrellaClassGenerator::WriteIntroduction(io::Printer* printer) {
" [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] \n " ) ;
WriteGeneratedCodeAttributes ( printer ) ;
printer - > Print (
" /// <summary>Holder for reflection information generated from $file_name$</summary> \n "
" $access_level$ static partial class $umbrella_class_name$ { \n "
" \n " ,
" file_name " , file_ - > name ( ) ,
" access_level " , class_access_level ( ) ,
" umbrella_class_name " , umbrellaClassname_ ) ;
printer - > Indent ( ) ;
@ -148,12 +150,14 @@ void UmbrellaClassGenerator::WriteIntroduction(io::Printer* printer) {
void UmbrellaClassGenerator : : WriteDescriptor ( io : : Printer * printer ) {
printer - > Print (
" #region Descriptor \n "
" /// <summary>File descriptor for $file_name$</summary> \n "
" public static pbr::FileDescriptor Descriptor { \n "
" get { return descriptor; } \n "
" } \n "
" private static pbr::FileDescriptor descriptor; \n "
" \n "
" static $umbrella_class_name$() { \n " ,
" file_name " , file_ - > name ( ) ,
" umbrella_class_name " , umbrellaClassname_ ) ;
printer - > Indent ( ) ;
printer - > Print (