21 references to PropertyNameCSharp
System.Windows.Forms.Analyzers (1)
System\Windows\Forms\Analyzers\AppManifestAnalyzer.cs (1)
69ApplicationConfig.PropertyNameCSharp.HighDpiMode));
System.Windows.Forms.Analyzers.CSharp (6)
System\Windows\Forms\CSharp\Generators\ApplicationConfiguration\ProjectFileReader.cs (6)
18if (!TryReadBool(analyzerConfigOptions, PropertyNameCSharp.EnableVisualStyles, 21|| !TryReadBool(analyzerConfigOptions, PropertyNameCSharp.UseCompatibleTextRendering, 70if (!configOptions.GetMSBuildProperty(PropertyNameCSharp.DefaultFont, out string? rawValue) || 91PropertyNameCSharp.DefaultFont, 104if (!configOptions.GetMSBuildProperty(PropertyNameCSharp.HighDpiMode, out string? rawValue) || 116PropertyNameCSharp.HighDpiMode,
System.Windows.Forms.Analyzers.CSharp.Tests (13)
Generators\ApplicationConfigurationGenerator\ApplicationConfigurationGeneratorTests.cs (8)
141build_property.{PropertyNameCSharp.DefaultFont} = Microsoft Sans Serif, 8.25px 142build_property.{PropertyNameCSharp.EnableVisualStyles} = 143build_property.{PropertyNameCSharp.HighDpiMode} = {HighDpiMode.DpiUnawareGdiScaled} 144build_property.{PropertyNameCSharp.UseCompatibleTextRendering} = true 205build_property.{PropertyNameCSharp.DefaultFont} = Microsoft Sans Serif, 8.25px 206build_property.{PropertyNameCSharp.EnableVisualStyles} = 207build_property.{PropertyNameCSharp.HighDpiMode} = {HighDpiMode.DpiUnawareGdiScaled} 208build_property.{PropertyNameCSharp.UseCompatibleTextRendering} = true
ProjectFileReaderTests.cs (5)
110{ $"build_property.{PropertyNameCSharp.DefaultFont}", font } 147{ $"build_property.{PropertyNameCSharp.DefaultFont}", font } 169{ $"build_property.{PropertyNameCSharp.HighDpiMode}", value } 189{ $"build_property.{PropertyNameCSharp.HighDpiMode}", value.ToString() } 207{ $"build_property.{PropertyNameCSharp.HighDpiMode}", ((int)value).ToString() }
System.Windows.Forms.Analyzers.Tests (1)
Analyzers\AppManifestAnalyzer\AppManifestAnalyzerTests.cs (1)
98.WithArguments(manifestFilePath, ApplicationConfig.PropertyNameCSharp.HighDpiMode)