/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/VisualBasic/Impl/BasicVSResources.resx
224 строки
10 KB
copilot-swe-agent[bot]
Apply code review feedback: rename option, simplify code, consolidate resources
13 окт 2025, 23:39
13 окт 2025, 23:39
44eb19c
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <root> <!-- Microsoft ResX Schema Version 2.0 The primary goals of this format is to allow a simple XML format that is mostly human readable. The generation and parsing of the various data types are done through the TypeConverter classes associated with the data types. Example: ... ado.net/XML headers & schema ... <resheader name="resmimetype">text/microsoft-resx</resheader> <resheader name="version">2.0</resheader> <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> <value>[base64 mime encoded serialized .NET Framework object]</value> </data> <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> <comment>This is a comment</comment> </data> There are any number of "resheader" rows that contain simple name/value pairs. Each data row contains a name, and value. The row also contains a type or mimetype. Type corresponds to a .NET class that support text/value conversion through the TypeConverter architecture. Classes that don't support this are serialized and stored with the mimetype set. The mimetype is used for serialized objects, and tells the ResXResourceReader how to depersist the object. This is currently not extensible. For a given mimetype the value must be set accordingly: Note - application/x-microsoft.net.object.binary.base64 is the format that the ResXResourceWriter will generate, however the reader can read any of the formats listed below. mimetype: application/x-microsoft.net.object.binary.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.soap.base64 value : The object must be serialized with : System.Runtime.Serialization.Formatters.Soap.SoapFormatter : and then encoded with base64 encoding. mimetype: application/x-microsoft.net.object.bytearray.base64 value : The object must be serialized into a byte array : using a System.ComponentModel.TypeConverter : and then encoded with base64 encoding. --> <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> <xsd:element name="root" msdata:IsDataSet="true"> <xsd:complexType> <xsd:choice maxOccurs="unbounded"> <xsd:element name="metadata"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" /> </xsd:sequence> <xsd:attribute name="name" use="required" type="xsd:string" /> <xsd:attribute name="type" type="xsd:string" /> <xsd:attribute name="mimetype" type="xsd:string" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="assembly"> <xsd:complexType> <xsd:attribute name="alias" type="xsd:string" /> <xsd:attribute name="name" type="xsd:string" /> </xsd:complexType> </xsd:element> <xsd:element name="data"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> <xsd:attribute ref="xml:space" /> </xsd:complexType> </xsd:element> <xsd:element name="resheader"> <xsd:complexType> <xsd:sequence> <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> </xsd:sequence> <xsd:attribute name="name" type="xsd:string" use="required" /> </xsd:complexType> </xsd:element> </xsd:choice> </xsd:complexType> </xsd:element> </xsd:schema> <resheader name="resmimetype"> <value>text/microsoft-resx</value> </resheader> <resheader name="version"> <value>2.0</value> </resheader> <resheader name="reader"> <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <resheader name="writer"> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> </resheader> <data name="Microsoft_Visual_Basic" xml:space="preserve"> <value>Microsoft Visual Basic</value> </data> <data name="Automatic_insertion_of_Interface_and_MustOverride_members" xml:space="preserve"> <value>Automatic _insertion of Interface and MustOverride members</value> </data> <data name="A_utomatic_insertion_of_end_constructs" xml:space="preserve"> <value>A_utomatic insertion of end constructs</value> </data> <data name="Pretty_listing_reformatting_of_code" xml:space="preserve"> <value>_Pretty listing (reformatting) of code</value> </data> <data name="Enter_outlining_mode_when_files_open" xml:space="preserve"> <value>_Enter outlining mode when files open</value> </data> <data name="Generate_XML_documentation_comments_for" xml:space="preserve"> <value>_Generate XML documentation comments for '''</value> <comment>{Locked="'''"} "'''" is a VB keyword and should not be localized.</comment> </data> <data name="Navigate_to_Object_Browser_for_symbols_defined_in_metadata" xml:space="preserve"> <value>_Navigate to Object Browser for symbols defined in metadata</value> </data> <data name="Import_Directives" xml:space="preserve"> <value>Import Directives</value> </data> <data name="Suggest_imports_for_types_in_NuGet_packages" xml:space="preserve"> <value>Suggest imports for types in _NuGet packages</value> </data> <data name="Suggest_imports_for_types_in_reference_assemblies" xml:space="preserve"> <value>Suggest imports for types in _reference assemblies</value> </data> <data name="Place_System_directives_first_when_sorting_imports" xml:space="preserve"> <value>_Place 'System' directives first when sorting imports</value> </data> <data name="Qualify_event_access_with_Me" xml:space="preserve"> <value>Qualify event access with 'Me'</value> </data> <data name="Qualify_field_access_with_Me" xml:space="preserve"> <value>Qualify field access with 'Me'</value> </data> <data name="Qualify_method_access_with_Me" xml:space="preserve"> <value>Qualify method access with 'Me'</value> </data> <data name="Qualify_property_access_with_Me" xml:space="preserve"> <value>Qualify property access with 'Me'</value> </data> <data name="Do_not_prefer_Me" xml:space="preserve"> <value>Do not prefer 'Me.'</value> </data> <data name="Prefer_Me" xml:space="preserve"> <value>Prefer 'Me.'</value> </data> <data name="Me_preferences_colon" xml:space="preserve"> <value>'Me.' preferences:</value> </data> <data name="Predefined_type_preferences_colon" xml:space="preserve"> <value>Predefined type preferences:</value> </data> <data name="Completion_Lists" xml:space="preserve"> <value>Completion Lists</value> </data> <data name="nothing_checking_colon" xml:space="preserve"> <value>'nothing' checking:</value> </data> <data name="Fade_out_unused_imports" xml:space="preserve"> <value>Fade out unused imports</value> </data> <data name="Prefer_Is_Nothing_for_reference_equality_checks" xml:space="preserve"> <value>Prefer 'Is Nothing' for reference equality checks</value> </data> <data name="Report_invalid_placeholders_in_string_dot_format_calls" xml:space="preserve"> <value>Report invalid placeholders in 'String.Format' calls</value> </data> <data name="Separate_import_directive_groups" xml:space="preserve"> <value>Separate import directive groups</value> </data> <data name="In_arithmetic_binary_operators" xml:space="preserve"> <value>In arithmetic operators: ^ * / \ Mod + - & << >></value> </data> <data name="In_other_binary_operators" xml:space="preserve"> <value>In other binary operators: And AndAlso Or OrElse</value> </data> <data name="In_relational_binary_operators" xml:space="preserve"> <value>In relational operators: = <> < > <= >= Like Is</value> </data> <data name="Prefer_IsNot_expression" xml:space="preserve"> <value>Prefer 'IsNot' expression</value> </data> <data name="Insert_apostrophe_at_the_start_of_new_lines_when_writing_apostrophe_comments" xml:space="preserve"> <value>Insert ' at the start of new lines when writing ' comments</value> </data> <data name="Show_hints_for_New_expressions" xml:space="preserve"> <value>Show hints for 'New' expressions</value> </data> <data name="Add_missing_imports_on_paste" xml:space="preserve"> <value>Add missing imports on paste</value> <comment>'import' is a Visual Basic keyword and should not be localized</comment> </data> <data name="Prefer_simplified_object_creation" xml:space="preserve"> <value>Prefer simplified object creation</value> </data> <data name="Collapse_imports_on_file_open" xml:space="preserve"> <value>Collapse Imports on file open</value> </data> </root>