11 references to FromXElement
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
PreferBracesPreference.cs (2)
20/// <see cref="CodeStyleOption2{T}.FromXElement(XElement)"/>. Prior to the use of this enum, the serialized value 37/// <see cref="CodeStyleOption2{T}.FromXElement(XElement)"/>. Prior to the use of this enum, the serialized value
Microsoft.CodeAnalysis.Workspaces (2)
CodeStyle\CodeStyleOption.cs (1)
57=> new(CodeStyleOption2<T>.FromXElement(element));
CodeStyleOption2`1.cs (1)
182=> FromXElement(element);
Microsoft.CodeAnalysis.Workspaces.UnitTests (5)
Options\CodeStyleOptionTests.cs (5)
83var deserialized = CodeStyleOption2<ExpressionBodyPreference>.FromXElement(serialized); 89deserialized = CodeStyleOption2<ExpressionBodyPreference>.FromXElement(serialized); 102var deserialized = CodeStyleOption2<bool>.FromXElement(serialized); 108deserialized = CodeStyleOption2<bool>.FromXElement(serialized); 116deserialized = CodeStyleOption2<bool>.FromXElement(serialized);
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\AbstractAutomationObject.cs (2)
62var convertedValue = CodeStyleOption2<T>.FromXElement(XElement.Parse(value)); 68var convertedValue = CodeStyleOption2<T>.FromXElement(XElement.Parse(value));