3 writes to OptimizationLevel
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.VisualBasic (1)
84 references to OptimizationLevel
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (2)
Microsoft.CodeAnalysis (6)
Microsoft.CodeAnalysis.CSharp (20)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (13)
Attributes\AttributeTests_Synthesized.cs (13)
295if (options.OptimizationLevel == OptimizationLevel.Debug)
486AssertEx.SetEqual(options.OptimizationLevel == OptimizationLevel.Debug ?
996VerifyDebuggableAttribute(attributes[2], options.OptimizationLevel, isSynthesized: true);
1030VerifyDebuggableAttribute(attributes[1], options.OptimizationLevel, isSynthesized: true);
1065VerifyDebuggableAttribute(attributes[1], options.OptimizationLevel, isSynthesized: true);
1101VerifyDebuggableAttribute(attributes[2], options.OptimizationLevel, isSynthesized: false);
1140VerifyDebuggableAttribute(attributes[2], options.OptimizationLevel, isSynthesized: false);
1174VerifyDebuggableAttribute(attributes[0], options.OptimizationLevel, isSynthesized: true);
1214VerifyDebuggableAttribute(assemblyAttributes[2], options.OptimizationLevel, isSynthesized: true);
1238VerifyDebuggableAttribute(module.GetAttributes().Single(), options.OptimizationLevel, isSynthesized: false);
1252VerifyDebuggableAttribute(assemblyAttributes[2], options.OptimizationLevel, isSynthesized: true);
1546VerifyDebuggableAttribute(attributes[1], options.OptimizationLevel, isSynthesized: true);
1587VerifyDebuggableAttribute(attributes[1], options.OptimizationLevel, isSynthesized: true);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Microsoft.CodeAnalysis.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.CodeAnalysis.VisualBasic (15)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (5)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (2)