5 references to new
Microsoft.CodeAnalysis.Workspaces (5)
CodeStyle\CodeStyleOption.cs (2)
25: this(new CodeStyleOption2<T>(value, new NotificationOption2(notification.Severity))) 57=> new(CodeStyleOption2<T>.FromXElement(element));
CodeStyleOption2`1.cs (1)
108ICodeStyleOption ICodeStyleOption.AsPublicCodeStyleOption() => new CodeStyleOption<T>(this);
PublicOptionFactory.cs (2)
91=> WithPublicOption(option, feature, name, static value => new CodeStyleOption<T>(value), static value => value.UnderlyingOption); 97=> WithPublicOption(option, feature, name, static value => new CodeStyleOption<T>(value), static value => value.UnderlyingOption);