33 references to KeyValuePairUtil
Microsoft.CodeAnalysis.CodeStyle (13)
BidirectionalMap.cs (1)
26_backwardMap = ImmutableDictionary.CreateRange<TValue, TKey>(pairs.Select(p => KeyValuePairUtil.Create(p.Value, p.Key)));
CodeStyleHelpers.cs (2)
159KeyValuePairUtil.Create("discard_variable", UnusedValuePreference.DiscardVariable), 160KeyValuePairUtil.Create("unused_local_variable", UnusedValuePreference.UnusedLocalVariable),
CodeStyleOptions2.cs (10)
164KeyValuePairUtil.Create("non_public", UnusedParametersPreference.NonPublicMethods), 165KeyValuePairUtil.Create("all", UnusedParametersPreference.AllMethods), 192KeyValuePairUtil.Create("never", CodeStyle.AccessibilityModifiersRequired.Never), 193KeyValuePairUtil.Create("always", CodeStyle.AccessibilityModifiersRequired.Always), 194KeyValuePairUtil.Create("for_non_interface_members", CodeStyle.AccessibilityModifiersRequired.ForNonInterfaceMembers), 195KeyValuePairUtil.Create("omit_if_default", CodeStyle.AccessibilityModifiersRequired.OmitIfDefault), 238KeyValuePairUtil.Create("always_for_clarity", ParenthesesPreference.AlwaysForClarity), 239KeyValuePairUtil.Create("never_if_unnecessary", ParenthesesPreference.NeverIfUnnecessary), 288KeyValuePairUtil.Create("always", ForEachExplicitCastInSourcePreference.Always), 289KeyValuePairUtil.Create("when_strongly_typed", ForEachExplicitCastInSourcePreference.WhenStronglyTyped),
Microsoft.CodeAnalysis.CSharp.CodeStyle (20)
CSharpFormattingOptions2.cs (20)
29KeyValuePairUtil.Create("expressions", SpacePlacementWithinParentheses.Expressions), 30KeyValuePairUtil.Create("type_casts", SpacePlacementWithinParentheses.TypeCasts), 31KeyValuePairUtil.Create("control_flow_statements", SpacePlacementWithinParentheses.ControlFlowStatements), 36KeyValuePairUtil.Create("ignore", BinaryOperatorSpacingOptions.Ignore), 37KeyValuePairUtil.Create("none", BinaryOperatorSpacingOptions.Remove), 38KeyValuePairUtil.Create("before_and_after", BinaryOperatorSpacingOptions.Single), 43KeyValuePairUtil.Create("flush_left", LabelPositionOptions.LeftMost), 44KeyValuePairUtil.Create("no_change", LabelPositionOptions.NoIndent), 45KeyValuePairUtil.Create("one_less_than_current", LabelPositionOptions.OneLess), 50KeyValuePairUtil.Create("object_collection_array_initalizers", NewLineBeforeOpenBracePlacement.ObjectCollectionArrayInitializers), 55KeyValuePairUtil.Create("all", NewLineBeforeOpenBracePlacement.All), 56KeyValuePairUtil.Create("accessors", NewLineBeforeOpenBracePlacement.Accessors), 57KeyValuePairUtil.Create("types", NewLineBeforeOpenBracePlacement.Types), 58KeyValuePairUtil.Create("methods", NewLineBeforeOpenBracePlacement.Methods), 59KeyValuePairUtil.Create("properties", NewLineBeforeOpenBracePlacement.Properties), 60KeyValuePairUtil.Create("anonymous_methods", NewLineBeforeOpenBracePlacement.AnonymousMethods), 61KeyValuePairUtil.Create("control_blocks", NewLineBeforeOpenBracePlacement.ControlBlocks), 62KeyValuePairUtil.Create("anonymous_types", NewLineBeforeOpenBracePlacement.AnonymousTypes), 63KeyValuePairUtil.Create("object_collection_array_initializers", NewLineBeforeOpenBracePlacement.ObjectCollectionArrayInitializers), 64KeyValuePairUtil.Create("lambdas", NewLineBeforeOpenBracePlacement.LambdaExpressionBody),