17 references to CodeStyleResources
Microsoft.CodeAnalysis.CodeStyle (16)
EncodingExtensions.cs (1)
30
throw new IOException(
CodeStyleResources
.Stream_is_too_long);
FormattingOptions2.cs (3)
12
using WorkspacesResources = Microsoft.CodeAnalysis.
CodeStyleResources
;
81
public static readonly OptionGroup IndentationAndSpacing = new(name: "indentation_and_spacing", description:
WorkspacesResources
.Indentation_and_spacing, priority: 1, parent: FormattingOptionGroup);
82
public static readonly OptionGroup NewLine = new(name: "new_line", description:
WorkspacesResources
.New_line_preferences, priority: 2, parent: FormattingOptionGroup);
Microsoft.CodeAnalysis.CodeStyleResources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
CodeStyleResources
)));
ObjectReader.cs (4)
24
using Resources =
CodeStyleResources
;
691
throw new InvalidOperationException(String.Format(
Resources
.Deserialization_reader_for_0_read_incorrect_number_of_values, typeName));
696
return new InvalidOperationException(string.Format(
Resources
.The_type_0_is_not_understood_by_the_serialization_binder, typeName));
701
return new InvalidOperationException(string.Format(
Resources
.Cannot_serialize_type_0, typeName));
ObjectWriter.cs (5)
25
using Resources =
CodeStyleResources
;
260
throw new InvalidOperationException(
Resources
.Arrays_with_more_than_one_dimension_cannot_be_serialized);
469
throw new ArgumentException(
Resources
.Value_too_large_to_be_represented_as_a_30_bit_unsigned_integer);
910
return new InvalidOperationException(string.Format(
Resources
.The_type_0_is_not_understood_by_the_serialization_binder, typeName));
915
return new InvalidOperationException(string.Format(
Resources
.Cannot_serialize_type_0, typeName));
OptionKey2.cs (2)
10
using WorkspacesResources = Microsoft.CodeAnalysis.
CodeStyleResources
;
34
throw new ArgumentNullException(
WorkspacesResources
.A_language_name_must_be_specified_for_this_option);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpFormattingOptions2.cs (1)
13
using WorkspacesResources = Microsoft.CodeAnalysis.
CodeStyleResources
;