8 references to FontSize
System.Windows.Forms.Analyzers.CSharp (1)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.FontConverter.cs (1)
34
float fontSize = PropertyDefaultValue.
FontSize
;
System.Windows.Forms.Analyzers.CSharp.Tests (7)
FontConverterTests.cs (7)
36
testData.Add(culture, $"Courier New", "Courier New", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Regular);
41
testData.Add(culture, $"Courier New{s_separator} style=Bold", "Courier New", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Bold);
48
testData.Add(culture, $"Arial{s_separator}", "Arial", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Regular);
50
testData.Add(culture, $"Courier New{s_separator} Style=Bold", "Courier New", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Bold); // FullFramework style keyword is case sensitive.
54
testData.Add(culture, $"11px{s_separator} Style=Bold", $"11px", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Bold);
55
testData.Add(culture, $"11px", "11px", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Regular);
56
testData.Add(culture, $"Style=Bold", "Style=Bold", PropertyDefaultValue.
FontSize
, (int)GraphicsUnit.Point, (int)FontStyle.Regular);