diff --git a/src/cswinrt/code_writers.h b/src/cswinrt/code_writers.h index d11cd89ad..44af6841c 100644 --- a/src/cswinrt/code_writers.h +++ b/src/cswinrt/code_writers.h @@ -5039,17 +5039,6 @@ R"( type.TypeNamespace(), type.TypeName()); } - void write_class_winrt_classname_attribute(writer& w, TypeDef const& type) - { - if (settings.reference_projection) - { - return; - } - - w.write("[WindowsRuntimeClassName(\"%\")]\n", - bind(type, typedef_name_type::NonProjected, true)); - } - void write_comwrapper_marshaller_attribute(writer& w, TypeDef const& type) { if (settings.reference_projection) @@ -9222,7 +9211,7 @@ return MarshalInspectable<%>.FromAbi(thisPtr); auto gc_pressure_amount = get_gc_pressure_amount(type); w.write(R"( -%%%%%% %class %% +%%%%% %class %% { % % @@ -9237,7 +9226,6 @@ return MarshalInspectable<%>.FromAbi(thisPtr); } )", bind(type), - bind(type), bind(type, true), bind(type), bind(type),