6 writes to Value
Microsoft.CodeAnalysis.VisualBasic (6)
396 references to Value
ILLink.RoslynAnalyzer (2)
Microsoft.Analyzers.Extra (6)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers (5)
Microsoft.AspNetCore.Mvc.Api.Analyzers (2)
Microsoft.CodeAnalysis (7)
Microsoft.CodeAnalysis.CodeStyle (34)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\OptionalExtensions.cs (1)
12=> optional.Value;
Microsoft.CodeAnalysis.CodeStyle.Fixes (20)
Microsoft.CodeAnalysis.CSharp (16)
Microsoft.CodeAnalysis.CSharp.CodeStyle (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Features (18)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (12)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (41)
Compilation\SemanticModelAPITests.cs (26)
1439Assert.Equal("Hello", constantInfo.Value);
1477Assert.Equal((short)0, constantInfo.Value);
1525Assert.Equal((short)0, constantInfo.Value);
1613Assert.Equal((short)0, constantInfo.Value);
1698Assert.Equal("Hello", constantInfo.Value);
2787Assert.Equal(1, constantVal.Value);
3915Assert.Equal(0, (short)value0.Value);
4109Assert.Equal("Hello, world!", model.GetConstantValue(actual[0]).Value);
4146Assert.Equal("Number 3", model.GetConstantValue(actual[0]).Value);
4149Assert.Equal("Level 5 Number 3", model.GetConstantValue(actual[1]).Value);
4154Assert.Equal("Testing", model.GetConstantValue(actual[3]).Value);
4157Assert.Equal("ConstantInterpolatedString", model.GetConstantValue(actual[4]).Value);
4160Assert.Equal("Level 5", model.GetConstantValue(actual[5]).Value);
4163Assert.Equal("Radio Noise", model.GetConstantValue(actual[6]).Value);
4166Assert.Equal("Level 5", model.GetConstantValue(actual[7]).Value);
4189Assert.Equal("Hello, world!", model.GetConstantValue(actual[0]).Value);
4214Assert.Equal(0, model.GetConstantValue(actual[0]).Value);
4218Assert.Equal(true, model.GetConstantValue(actual[1]).Value);
4242Assert.Null(model.GetConstantValue(actual[0]).Value);
4279Assert.Equal("Number 3", model.GetConstantValue(actual[0]).Value);
4283Assert.Equal("Level 5 Number 3", model.GetConstantValue(actual[1]).Value);
4290Assert.Equal("Testing", model.GetConstantValue(actual[3]).Value);
4294Assert.Equal("ConstantInterpolatedString", model.GetConstantValue(actual[4]).Value);
4298Assert.Equal("Level 5", model.GetConstantValue(actual[5]).Value);
4302Assert.Equal("Radio Noise", model.GetConstantValue(actual[6]).Value);
4306Assert.Equal("Level 5", model.GetConstantValue(actual[7]).Value);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Microsoft.CodeAnalysis.Features (56)
Microsoft.CodeAnalysis.Test.Utilities (19)
Microsoft.CodeAnalysis.VisualBasic (4)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (7)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces (78)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\OptionalExtensions.cs (1)
12=> optional.Value;
Microsoft.Interop.ComInterfaceGenerator (2)
Microsoft.Interop.LibraryImportGenerator (2)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
Microsoft.Interop.SourceGeneration (10)
Microsoft.Maui.Controls.BindingSourceGen (1)
Microsoft.VisualStudio.LanguageServices (2)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
Roslyn.VisualStudio.Next.UnitTests (5)
System.Text.RegularExpressions.Generator (7)