18 writes to Value
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
DocumentationComments\DocCommentTests.vb (2)
11931file.Value = String.Format(file.Value, obj) 11937xml.Value = String.Format(xml.Value, obj)
Microsoft.DotNet.Build.Tasks.Installers (2)
src\CreateWixCommandPackageDropBase.cs (2)
311field.Value = newRelativePath; 315field.Value = newRelativePath;
Microsoft.DotNet.XliffTasks (5)
Model\ResxDocument.cs (1)
70valueNodeOfFileRef.Value = string.Join(";", splitRelativePathAndSerializedType);
Model\TranslatableXmlDocument.cs (1)
39_element.Value = translation;
Model\XElementExtensions.cs (3)
39targetElement.Value = value; 99transUnitElement.Element(Source).Value = value; 126noteElement.Value = value;
Microsoft.Maui.Resizetizer (3)
GenerateTizenManifest.cs (3)
148 icon.Value = IconDefaultDpiType + "/" + appIconInfo.OutputName + defaultDpi.FileSuffix + IconImageExtension; 154 icon.Value = dpiValue + "/" + appIconInfo.OutputName + fileSuffix + IconImageExtension; 203 element.Value = value;
System.ComponentModel.TypeConverter (1)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
407_element.Value = (value as string)!;
System.Private.Xml.Linq (3)
System\Xml\Linq\XElement.cs (2)
1266e.Value = GetStringValue(value); 1292Value = GetStringValue(value);
System\Xml\Schema\XNodeValidator.cs (1)
314e.Value = GetDefaultValue(si.SchemaElement)!;
XmlFileLogger (2)
LogProcessNode.cs (1)
131propElement.Add(new XElement("Property", new XAttribute("Name", p.Key)) { Value = p.Value });
ObjectModel\Task.cs (1)
63task.Add(new XElement("CommandLineArguments") { Value = CommandLineArguments });
1467 references to Value
BuildBoss (6)
ProjectCheckerUtil.cs (1)
163return projectData.ProjectUtil.FindSingleProperty("AssemblyName")?.Value.Trim()
ProjectUtil.cs (5)
44OutputType = FindSingleProperty("OutputType")?.Value.Trim().ToLowerInvariant(); 69return new[] { targetFramework.Value.ToString() }; 75var all = targetFrameworks.Value.ToString().Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries); 120var referenceOutputAssemblyValue = r.Element(Namespace.GetName("ReferenceOutputAssembly"))?.Value ?? r.Attribute(XName.Get("ReferenceOutputAssembly"))?.Value; 133project = Guid.Parse(projectElement.Value.Trim());
ConfigurationSchemaGenerator (1)
ConfigSchemaEmitter.cs (1)
575return element.Value;
dotnet-svcutil-lib (8)
Shared\MSBuildProj.cs (8)
193var targetFramework = targetFrameworkElements.Last().Value.Trim(); 214var targetFrameworks = targetFrameworksElements.Last().Value; 248msbuildProj.RuntimeIdentifier = runtimeIdentifierElements.Last().Value.Trim(); 306fullPath = path.Value; 310fullPath = hintPath.Value; 432return ele.Value; 479return itemNameElement.Value; 612if (element.Value != value)
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
40return existingUserSecretsId.Value;
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\UserSecretsCreator.cs (1)
40return existingUserSecretsId.Value;
IIS.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (2)
159frebEvents.Add(new FrebLogItem(eventElementWithOpCode.Value, requestStatus?.Value));
IISExpress.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\FrebTests.cs (2)
159frebEvents.Add(new FrebLogItem(eventElementWithOpCode.Value, requestStatus?.Value));
Microsoft.AspNetCore.Authentication.Test (20)
CertificateTests.cs (20)
482Assert.Equal(Certificates.SelfSignedValidWithNoEku.Issuer, actual.First().Value); 486Assert.Equal(Certificates.SelfSignedValidWithNoEku.Thumbprint, actual.First().Value); 495Assert.Equal(Certificates.SelfSignedValidWithNoEku.SubjectName.Name, actual.First().Value); 505Assert.Equal(Certificates.SelfSignedValidWithNoEku.SerialNumber, actual.First().Value); 515Assert.Equal(Certificates.SelfSignedValidWithNoEku.GetNameInfo(X509NameType.DnsName, false), actual.First().Value); 525Assert.Equal(Certificates.SelfSignedValidWithNoEku.GetNameInfo(X509NameType.EmailName, false), actual.First().Value); 535Assert.Equal(Certificates.SelfSignedValidWithNoEku.GetNameInfo(X509NameType.SimpleName, false), actual.First().Value); 545Assert.Equal(Certificates.SelfSignedValidWithNoEku.GetNameInfo(X509NameType.UpnName, false), actual.First().Value); 555Assert.Equal(Certificates.SelfSignedValidWithNoEku.GetNameInfo(X509NameType.UrlName, false), actual.First().Value); 611Assert.Equal(Expected, name.First().Value); 614Assert.Equal("1", count.First().Value); 630Assert.Equal(Expected, name.First().Value); 634Assert.Equal(expected, count.First().Value); 681Assert.Equal(Expected, actual.First().Value); 738Assert.Equal(Expected, name.First().Value); 741Assert.Equal("1", count.First().Value); 757Assert.Equal(Expected, name.First().Value); 761Assert.Equal(expected, count.First().Value); 779Assert.Equal(Expected, name.First().Value); 784Assert.Equal(laterExpected, count.First().Value);
Microsoft.AspNetCore.DataProtection.Tests (1)
XmlEncryption\EncryptedXmlDecryptorTests.cs (1)
85Assert.Equal("Lorem ipsum", decrypted.Value);
Microsoft.AspNetCore.Mvc.FunctionalTests (17)
AsyncEnumerableTestBase.cs (1)
100return name.Value;
XmlDataContractSerializerFormattersWrappingTest.cs (8)
238Assert.Equal("404", root.Element(root.Name.Namespace.GetName("status"))?.Value); 239Assert.Equal("Not Found", root.Element(root.Name.Namespace.GetName("title"))?.Value); 240Assert.Equal("https://tools.ietf.org/html/rfc9110#section-15.5.5", root.Element(root.Name.Namespace.GetName("type"))?.Value); 242Assert.NotNull(root.Element(root.Name.Namespace.GetName("traceId"))?.Value); 281Assert.Equal("400", root.Element(root.Name.Namespace.GetName("status"))?.Value); 282Assert.Equal("One or more validation errors occurred.", root.Element(root.Name.Namespace.GetName("title"))?.Value); 285Assert.Equal("The State field is required.", mvcErrors.Element(root.Name.Namespace.GetName("State"))?.Value); 287Assert.NotNull(root.Element(root.Name.Namespace.GetName("traceId"))?.Value);
XmlSerializerFormattersWrappingTest.cs (8)
221Assert.Equal("404", root.Element(root.Name.Namespace.GetName("status"))?.Value); 222Assert.Equal("Not Found", root.Element(root.Name.Namespace.GetName("title"))?.Value); 223Assert.Equal("https://tools.ietf.org/html/rfc9110#section-15.5.5", root.Element(root.Name.Namespace.GetName("type"))?.Value); 225Assert.NotNull(root.Element(root.Name.Namespace.GetName("traceId"))?.Value); 263Assert.Equal("400", root.Element(root.Name.Namespace.GetName("status"))?.Value); 264Assert.Equal("One or more validation errors occurred.", root.Element(root.Name.Namespace.GetName("title"))?.Value); 267Assert.Equal("The State field is required.", mvcErrors.Element(root.Name.Namespace.GetName("State"))?.Value); 269Assert.NotNull(root.Element(root.Name.Namespace.GetName("traceId"))?.Value);
Microsoft.Build.BuildCheck.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.CommandLine.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.Engine.OM.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.Engine.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.Framework.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.Tasks.Core (4)
GenerateResource.cs (1)
3066string value = dataElem.Element("value").Value;
ResourceHandling\MSBuildResXReader.cs (2)
126value = elem.Value; 130value = valueElement.Value;
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
401taskInfo.SourceCode = codeElement.Value;
Microsoft.Build.Tasks.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.Build.Utilities.UnitTests (1)
TestAssemblyInfo.cs (1)
124string cliVersion = cliVersionElement.Value;
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403.Where(e => e.Name.LocalName == "SymbolKind" && e.Value == "Method").ToList();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (5)
315=> (Accessibility)Enum.Parse(typeof(Accessibility), accessibilityElement.Value); 426var symbolKind = (SymbolKind)Enum.Parse(typeof(SymbolKind), symbolKindElement.Value); 438=> new((TypeKind)Enum.Parse(typeof(TypeKind), typeKindElement.Value)); 441=> new((MethodKind)Enum.Parse(typeof(MethodKind), methodKindElement.Value)); 541=> new((ModifierKindEnum)Enum.Parse(typeof(ModifierKindEnum), modifierElement.Value));
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (108)
Diagnostics\AddImport\AddImportCrossLanguageTests.vb (8)
71</text>.Value.Trim() 111</text>.Value.Trim() 168</text>.Value.Trim() 221</text>.Value.Trim() 266</text>.Value.Trim() 354</text>.Value.Trim() 402</text>.Value.Trim() 447</text>.Value.Trim()
Diagnostics\GenerateEvent\GenerateEventCrossLanguageTests.vb (5)
47</text>.Value.Trim() 80}</text>.Value.Trim() 115</text>.Value.Trim() 153</Text>.Value.Trim()}, 159</Text>.Value.Trim()}
Diagnostics\GenerateFromUsage\GenerateConstructorCrossLanguageTests.vb (1)
55</text>.Value.Trim()
Diagnostics\GenerateFromUsage\GenerateMethodCrossLanguageTests.vb (27)
60</text>.Value.Trim() 97</text>.Value.Trim() 139</text>.Value.Trim() 173</text>.Value.Trim() 215</text>.Value.Trim() 251</text>.Value.Trim() 290</text>.Value.Trim() 331</text>.Value.Trim() 372</text>.Value.Trim() 417</text>.Value.Trim() 462</text>.Value.Trim() 516</text>.Value.Trim() 585</text>.Value.Trim() 654</text>.Value.Trim() 733</text>.Value.Trim() 822</text>.Value.Trim() 906</text>.Value.Trim() 997</text>.Value.Trim() 1069</text>.Value.Trim() 1121</Text>.Value.Trim()}, 1129</Text>.Value.Trim()} 1175</Text>.Value.Trim()}} 1219</Text>.Value.Trim()}} 1262</Text>.Value.Trim()}, 1269</Text>.Value.Trim()} 1309</Text>.Value.Trim()}} 1343</Text>.Value.Trim()}}
Diagnostics\GenerateFromUsage\GenerateVariableCrossLanguageTests.vb (1)
63</text>.Value.Trim()
Diagnostics\ImplementInterface\ImplementInterfaceCrossLanguageTests.vb (9)
59</text>.Value.Trim() 100</text>.Value.Trim() 146</text>.Value.Trim() 184</text>.Value.Trim() 222</text>.Value.Trim() 266</text>.Value.Trim() 302</text>.Value.Trim() 340</text>.Value.Trim() 380</text>.Value.Trim()
Diagnostics\UseAutoProperty\UseAutoPropertyTests.vb (8)
52</text>.Value.Trim()}, 59</text>.Value.Trim()} 91</text>.Value.Trim()}, 97</text>.Value.Trim()} 184</text>.Value.Trim()}, 194</text>.Value.Trim()} 234</text>.Value.Trim()}, 242</text>.Value.Trim()}
IntelliSense\CSharpCompletionCommandHandlerTests.vb (1)
3920}]]></Document>.Value.Replace(vbLf, vbCrLf)
IntelliSense\VisualBasicCompletionCommandHandlerTests.vb (1)
1776End Module</Document>.Value.Replace(vbLf, vbCrLf)
Rename\RenameEngineTests.CSharpConflicts.vb (25)
329Dim outputResult = <code>Outer((string y) => Inner(x => {</code>.Value + vbCrLf + 330<code> var z = 5;</code>.Value + vbCrLf + 331<code>z.L();</code>.Value + vbCrLf + 332<code>x.Ex();</code>.Value + vbCrLf + 333<code> }, y), 0);</code>.Value 379Dim outputResult = <code>Outer((string y) => Inner((x) => {</code>.Value + vbCrLf + 380<code> var z = 5;</code>.Value + vbCrLf + 381<code>z.L();</code>.Value + vbCrLf + 382<code>x.Ex();</code>.Value + vbCrLf + 383<code> }, y), 0);</code>.Value 429Dim outputResult = <code>Outer((y) => Inner((string x) => {</code>.Value + vbCrLf + 430<code> var z = 5;</code>.Value + vbCrLf + 431<code>z.Ex();</code>.Value + vbCrLf + 432<code>x.Ex();</code>.Value + vbCrLf + 433<code> }, y), 0);</code>.Value 479Dim outputResult = <code>Outer(y => Inner((string x) => {</code>.Value + vbCrLf + 480<code> var z = 5;</code>.Value + vbCrLf + 481<code>z.Ex();</code>.Value + vbCrLf + 482<code>x.Ex();</code>.Value + vbCrLf + 483<code> }, y), 0);</code>.Value 529Dim outputResult = <code>Outer(y => Inner((string x) => {</code>.Value + vbCrLf + 530<code> var z = 5;</code>.Value + vbCrLf + 531<code> z.Ex();</code>.Value + vbCrLf + 532<code> x.Ex();</code>.Value + vbCrLf + 533<code> }, y), 0);</code>.Value
Rename\RenameEngineTests.VisualBasicConflicts.vb (22)
252Dim outputResult = <Code>Outer(Sub(y As String)</Code>.Value + vbCrLf + 253<Code> Inner(Sub(x)</Code>.Value + vbCrLf + 254<Code> Console.WriteLine(x)</Code>.Value + vbCrLf + 255<Code> x.Ex()</Code>.Value + vbCrLf + 256<Code> End Sub, y)</Code>.Value + vbCrLf + 257<Code> End Sub, 0)</Code>.Value 315Dim outputResult = <Code>Outer(Sub(y As String)</Code>.Value + vbCrLf + 316<Code> Inner(Sub(x)</Code>.Value + vbCrLf + 317<Code> Console.WriteLine(x)</Code>.Value + vbCrLf + 318<Code> Dim z = 5</Code>.Value + vbCrLf + 319<Code> z.goo()</Code>.Value + vbCrLf + 320<Code> x.Ex()</Code>.Value + vbCrLf + 321<Code> End Sub, y)</Code>.Value + vbCrLf + 322<Code> End Sub, 0)</Code>.Value 381Dim outputResult = <Code>Outer(Sub(y)</Code>.Value + vbCrLf + 382<Code> Inner(Sub(x As String)</Code>.Value + vbCrLf + 383<Code> Console.WriteLine(x)</Code>.Value + vbCrLf + 384<Code> Dim z = 5</Code>.Value + vbCrLf + 385<Code> z.Ex()</Code>.Value + vbCrLf + 386<Code> x.Ex()</Code>.Value + vbCrLf + 387<Code> End Sub, y)</Code>.Value + vbCrLf + 388<Code> End Sub, 0)</Code>.Value
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\InlineCompletions\XmlSnippetParser.CodeSnippet.cs (4)
48_snippetTypes = snippetTypes.Elements().Select(e => e.Value.Trim()).ToArray(); 104return subElement == null ? string.Empty : subElement.Value.Trim(); 143_code = Regex.Replace(code.Value, "(?<!\r)\n", "\r\n"); 162SnippetFunctionService.TryGetSnippetFunctionInfo(functionElement?.Value, out var functionName, out var functionParam);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (47)
src\Analyzers\VisualBasic\Tests\GenerateConstructor\GenerateConstructorTests.vb (5)
1209</Text>.Value) 1256End Class</Text>.Value.Replace(vbLf, vbCrLf), 1267End Class</Text>.Value.Replace(vbLf, vbCrLf)) 1411End Class</Text>.Value.Replace(vbLf, vbCrLf), 1426End Class</Text>.Value.Replace(vbLf, vbCrLf))
src\Analyzers\VisualBasic\Tests\GenerateEnumMember\GenerateEnumMemberTests.vb (2)
510End Enum</Text>.Value.Replace(vbLf, vbCrLf) 522End Enum</Text>.Value.Replace(vbLf, vbCrLf)
src\Analyzers\VisualBasic\Tests\GenerateMethod\GenerateConversionTests.vb (16)
30</text>.Value.Replace(vbLf, vbCrLf), 44</text>.Value.Replace(vbLf, vbCrLf)) 58</text>.Value.Replace(vbLf, vbCrLf), 72</text>.Value.Replace(vbLf, vbCrLf)) 90</text>.Value.Replace(vbLf, vbCrLf), 106</text>.Value.Replace(vbLf, vbCrLf)) 129</text>.Value.Replace(vbLf, vbCrLf), 151</text>.Value.Replace(vbLf, vbCrLf)) 165</text>.Value.Replace(vbLf, vbCrLf), 179</text>.Value.Replace(vbLf, vbCrLf)) 193</text>.Value.Replace(vbLf, vbCrLf), 207</text>.Value.Replace(vbLf, vbCrLf)) 225</text>.Value.Replace(vbLf, vbCrLf), 241</text>.Value.Replace(vbLf, vbCrLf)) 264</text>.Value.Replace(vbLf, vbCrLf), 286</text>.Value.Replace(vbLf, vbCrLf))
src\Analyzers\VisualBasic\Tests\ImplementAbstractClass\ImplementAbstractClassTests.vb (2)
517</Text>.Value.Replace(vbLf, vbCrLf), 532</Text>.Value.Replace(vbLf, vbCrLf))
src\Analyzers\VisualBasic\Tests\ImplementInterface\ImplementInterfaceTests.vb (21)
1498End Class</Text>.Value.Replace(vbLf, vbCrLf), 1509End Class</Text>.Value.Replace(vbLf, vbCrLf)) 2011End Class</Text>.Value.Replace(vbLf, vbCrLf), 2077End Class</Text>.Value.Replace(vbLf, vbCrLf)) 2100End Class</Text>.Value.Replace(vbLf, vbCrLf), 2166End Class</Text>.Value.Replace(vbLf, vbCrLf)) 2192End Class]]></Text>.Value.Replace(vbLf, vbCrLf), 2221End Class]]></Text>.Value.Replace(vbLf, vbCrLf)) 2249End Class]]></Text>.Value.Replace(vbLf, vbCrLf), 2280End Class]]></Text>.Value.Replace(vbLf, vbCrLf)) 2747</Text>.Value.Replace(vbLf, vbCrLf), 2786</Text>.Value.Replace(vbLf, vbCrLf)) 3601</Text>.Value.Replace(vbLf, vbCrLf), 3615</Text>.Value.Replace(vbLf, vbCrLf)) 3690</Text>.Value.Replace(vbLf, vbCrLf), 3707</Text>.Value.Replace(vbLf, vbCrLf)) 3718</Text>.Value.Replace(vbLf, vbCrLf), 3739</Text>.Value.Replace(vbLf, vbCrLf), 3762</Text>.Value.Replace(vbLf, vbCrLf), 3773</Text>.Value.Replace(vbLf, vbCrLf)) 3807</Text>.Value.Replace(vbLf, vbCrLf),
src\Analyzers\VisualBasic\Tests\RemoveUnnecessaryCast\RemoveUnnecessaryCastTests.vb (1)
3057</Code>.Value)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (86)
CommandLineBreakingChanges.vb (9)
39</text>.Value.Trim().Replace(vbLf, vbCrLf), tempLog.ReadAllText().Trim().Replace(src, "SRC.VB")) 57</text>.Value).Path 75</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB")) 89</text>.Value).Path 107</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB")) 121</text>.Value).Path 139</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB")) 156</text>.Value).Path 174</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB"))
CommandLineTests.vb (71)
286</text>.Value).Path 332</text>.Value).Path 470</text>.Value).Path 511</text>.Value).Path 529</text>.Value).Path 547</text>.Value).Path 560</text>.Value.Replace(vbLf, vbCrLf).Trim, 588</text>.Value).Path 601</text>.Value.Replace(vbLf, vbCrLf).Trim, 621</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB")) 640</text>.Value.Trim().Replace(vbLf, vbCrLf), tempOut.ReadAllText().Trim().Replace(src, "SRC.VB")) 758</text>.Value).Path 780</text>.Value).Path 929/imports:System.Text</text>.Value).Path 3645Dim src = dir.CreateFile("a.vb").WriteAllText(source.Value) 4103</text>.Value.Replace(vbLf, vbCrLf)) 4131</text>.Value.Replace(vbLf, vbCrLf)) 4183</text>.Value.Replace(vbLf, vbCrLf)) 4221</text>.Value.Replace(vbLf, vbCrLf)) 4262</text>.Value.Replace(vbLf, vbCrLf)) 4281</text>.Value.Replace(vbLf, vbCrLf)) 4300</text>.Value.Replace(vbLf, vbCrLf)) 4319</text>.Value.Replace(vbLf, vbCrLf)) 4338</text>.Value.Replace(vbLf, vbCrLf)) 4357</text>.Value.Replace(vbLf, vbCrLf)) 5112</text>.Value.Replace(vbLf, vbCrLf)) 5179</text>.Value.Replace(vbLf, vbCrLf)) 5222</text>.Value.Replace(vbLf, vbCrLf)) 5290</text>.Value.Replace(vbLf, vbCrLf)) 5335</text>.Value.Replace(vbLf, vbCrLf)) 5957file.WriteAllText(source.Value) 6010file.WriteAllText(source.Value) 6097file.WriteAllText(source.Value) 6141file.WriteAllText(source.Value) 6189file.WriteAllText(source.Value) 6235file.WriteAllText(source.Value) 6277file.WriteAllText(source.Value) 6312file.WriteAllText(source.Value) 6344file.WriteAllText(source.Value) 6378file.WriteAllText(source.Value) 6412file.WriteAllText(source.Value) 6444file.WriteAllText(source.Value) 6480</result>.Value.Replace(vbLf, vbCrLf).Trim() 6494</text>.Value.Replace(vbLf, vbCrLf)) 6919</text>.Value).Path 6923</text>.Value).Path 6967</text>.Value).Path 6971</text>.Value).Path 7001</text>.Value).Path 7005</text>.Value).Path 7035</text>.Value).Path 7039</text>.Value).Path 7064</text>.Value).Path 7069</text>.Value).Path 7088</text>.Value).Path 7256</text>.Value).Path 7277</text>.Value).Path 7314</text>.Value).Path 7469</text>.Value).Path 7532</text>.Value.Replace(vbLf, vbCrLf)) 8670</text>.Value.Replace(vbLf, vbCrLf)) 8953</text>.Value).Path 9010</text>.Value).Path 9033</text>.Value).Path 9057</text>.Value).Path 9078</text>.Value).Path 9100</text>.Value).Path 9105</text>.Value).Path 9109</text>.Value).Path 9133</text>.Value.ToString(), 9567sourceFile.WriteAllText(source.Value)
SarifErrorLoggerTests.vb (4)
45</text>.Value 80</text>.Value 121</text>.Value 159</text>.Value
TouchedFileLoggingTests.vb (2)
30</text>.Value 106]]></text>.Value).Path
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (73)
Attributes\AttributeTests.vb (2)
1920{VisualBasicSyntaxTree.ParseText(library.Value)}, 1971{VisualBasicSyntaxTree.ParseText(library.Value)},
Attributes\AttributeTests_MarshalAs.vb (2)
386</text>.Value) 512</text>.Value)
Attributes\AttributeTests_WellKnownAttributes.vb (2)
1926</text>.Value) 3606{VisualBasicSyntaxTree.ParseText(library.Value)},
CodeGen\CodeGenScriptTests.vb (8)
25</text>.Value 44</text>.Value 69</text>.Value 89</text>.Value 110</text>.Value 127</text>.Value 157</text>.Value 171</text>.Value
CodeGen\CodeGenVBCore.vb (40)
124</expected>.Value) 150</expected>.Value) 186</expected>.Value 239</expected>.Value 306</expected>.Value) 360</expected>.Value) 417</expected>.Value) 475</expected>.Value) 518</expected>.Value) 569</expected>.Value) 628</expected>.Value) 688</expected>.Value) 739</expected>.Value) 802</expected>.Value) 866</expected>.Value) 930</expected>.Value) 996</expected>.Value) 1050</expected>.Value) 1102</expected>.Value) 1157</expected>.Value) 1213</expected>.Value) 1266</expected>.Value) 1321</expected>.Value) 1373</expected>.Value) 1437</expected>.Value) 1491</expected>.Value) 1546</expected>.Value) 1599</expected>.Value) 1654</expected>.Value) 1707</expected>.Value) 1741</expected>.Value) 1799</expected>.Value) 1857</expected>.Value) 1940</expected>.Value) 2015</expected>.Value) 2050</output>.Value.Replace(vbLf, Environment.NewLine), 2106</expected>.Value) 2145</expected>.Value) 2209</expected>.Value) 2493</expected>.Value)
Emit\EditAndContinue\EditAndContinueTestBase.vb (1)
44Return New SourceWithMarkedNodes(WithWindowsLineBreaks(source.Value), Function(s) Parse(s, fileName, options), Function(s) CInt(GetType(SyntaxKind).GetField(s).GetValue(Nothing)))
Emit\EmitCustomModifiers.vb (1)
42</text>.Value
Emit\EmitMetadata.vb (7)
90</text>.Value 240</text>.Value 265</text>.Value 300</text>.Value 373</text>.Value 450</text>.Value 559</text>.Value
Emit\EntryPointTests.vb (9)
138{VisualBasicSyntaxTree.ParseText(vbx.Value, options:=TestOptions.Script), 139VisualBasicSyntaxTree.ParseText(vb.Value, options:=VisualBasicParseOptions.Default)}, options:=TestOptions.ReleaseExe) 553{VisualBasicSyntaxTree.ParseText(vbx.Value, options:=TestOptions.Script)}, options:=TestOptions.ReleaseExe, references:=LatestVbReferences) 572{VisualBasicSyntaxTree.ParseText(vbx.Value, options:=TestOptions.Script), 573VisualBasicSyntaxTree.ParseText(vb.Value, options:=VisualBasicParseOptions.Default)}, options:=TestOptions.ReleaseExe, references:=LatestVbReferences) 599{VisualBasicSyntaxTree.ParseText(vbx.Value, options:=TestOptions.Script), 600VisualBasicSyntaxTree.ParseText(vb.Value, options:=VisualBasicParseOptions.Default)}, options:=TestOptions.ReleaseExe, references:=LatestVbReferences) 752{VisualBasicSyntaxTree.ParseText(vbx.Value, options:=TestOptions.Script), 753VisualBasicSyntaxTree.ParseText(vb.Value, options:=TestOptions.Regular)}, options:=TestOptions.ReleaseExe.WithMainTypeName("C"))
Emit\OptionalArgumentsTests.vb (1)
160Private ReadOnly _classLibrary As MetadataReference = CreateHelperLibrary(_librarySource.Value)
Microsoft.CodeAnalysis.VisualBasic.Features.UnitTests (177)
EditAndContinue\StatementEditingTests.vb (10)
5389</text>.Value 5393</text>.Value 5407</text>.Value 5411</text>.Value 5424</text>.Value 5429</text>.Value 5442</text>.Value 5446</text>.Value 5515</text>.Value 5519</text>.Value
EditAndContinue\StatementMatchingTests.vb (22)
28</text>.Value 40</text>.Value 153</text>.Value 157</text>.Value 190</text>.Value 196</text>.Value 239</text>.Value 243</text>.Value 273</text>.Value 277</text>.Value 302</text>.Value 305</text>.Value 327</text>.Value 331</text>.Value 365</text>.Value 371</text>.Value 932</text>.Value 942</text>.Value 1006</text>.Value 1013</text>.Value 1058</text>.Value 1074</text>.Value
EditAndContinue\TopLevelEditingTests.vb (2)
2801</text>.Value 2808End Class]@11</text>.Value,
ExtractMethod\ExtractMethodTests.vb (8)
139</Text>.Value.Replace(vbLf, vbCrLf), 153</Text>.Value.Replace(vbLf, vbCrLf)) 308</Text>.Value.Replace(vbLf, vbCrLf), 330</Text>.Value.Replace(vbLf, vbCrLf)) 352</Text>.Value.Replace(vbLf, vbCrLf), 377</Text>.Value.Replace(vbLf, vbCrLf)) 402</Text>.Value.Replace(vbLf, vbCrLf), 429</Text>.Value.Replace(vbLf, vbCrLf))
FullyQualify\FullyQualifyTests.vb (6)
783End Module</Text>.Value.Replace(vbLf, vbCrLf), 788End Module</Text>.Value.Replace(vbLf, vbCrLf), testHost:=testHost) 801End Module</Text>.Value.Replace(vbLf, vbCrLf), 808End Module</Text>.Value.Replace(vbLf, vbCrLf), testHost:=testHost) 831End Namespace</Text>.Value.Replace(vbLf, vbCrLf), 849End Namespace</Text>.Value.Replace(vbLf, vbCrLf), testHost:=testHost)
GenerateMethod\GenerateMethodTests.vb (65)
1053End Class</text>.Value.Replace(vbLf, vbCrLf), 1064End Class</text>.Value.Replace(vbLf, vbCrLf)) 1078End Class</text>.Value.Replace(vbLf, vbCrLf), 1091End Class</text>.Value.Replace(vbLf, vbCrLf)) 1442</Text>.Value.Replace(vbLf, vbCrLf), 1458</Text>.Value.Replace(vbLf, vbCrLf)) 1712</text>.Value) 1726</text>.Value.Replace(vbLf, vbCrLf), 1739</text>.Value.Replace(vbLf, vbCrLf)) 1757</text>.Value.Replace(vbLf, vbCrLf), 1775</text>.Value.Replace(vbLf, vbCrLf)) 1794</text>.Value.Replace(vbLf, vbCrLf), 1812</text>.Value.Replace(vbLf, vbCrLf)) 1834</text>.Value.Replace(vbLf, vbCrLf), 1855</text>.Value.Replace(vbLf, vbCrLf)) 2264</text>.Value.Replace(vbLf, vbCrLf), 2282</text>.Value.Replace(vbLf, vbCrLf)) 2302</text>.Value.Replace(vbLf, vbCrLf), 2320</text>.Value.Replace(vbLf, vbCrLf)) 2340</text>.Value.Replace(vbLf, vbCrLf), 2358</text>.Value.Replace(vbLf, vbCrLf)) 2375</text>.Value.Replace(vbLf, vbCrLf), 2392</text>.Value.Replace(vbLf, vbCrLf)) 2410</text>.Value.Replace(vbLf, vbCrLf), 2426</text>.Value.Replace(vbLf, vbCrLf)) 2448</text>.Value.Replace(vbLf, vbCrLf), 2468</text>.Value.Replace(vbLf, vbCrLf)) 2481</text>.Value.Replace(vbLf, vbCrLf), 2494</text>.Value.Replace(vbLf, vbCrLf)) 2508</text>.Value.Replace(vbLf, vbCrLf), 2523</text>.Value.Replace(vbLf, vbCrLf)) 2536</text>.Value.Replace(vbLf, vbCrLf), 2547</text>.Value.Replace(vbLf, vbCrLf)) 2573</text>.Value.Replace(vbLf, vbCrLf), 2599</text>.Value.Replace(vbLf, vbCrLf)) 2613</text>.Value.Replace(vbLf, vbCrLf), 2626</text>.Value.Replace(vbLf, vbCrLf)) 2642</text>.Value.Replace(vbLf, vbCrLf), 2658</text>.Value.Replace(vbLf, vbCrLf)) 2704</text>.Value.Replace(vbLf, vbCrLf), 2750</text>.Value.Replace(vbLf, vbCrLf)) 2785</text>.Value.Replace(vbLf, vbCrLf), 2820</text>.Value.Replace(vbLf, vbCrLf)) 2856</text>.Value.Replace(vbLf, vbCrLf), 2892</text>.Value.Replace(vbLf, vbCrLf)) 2926</text>.Value.Replace(vbLf, vbCrLf), 2960</text>.Value.Replace(vbLf, vbCrLf)) 2994</text>.Value.Replace(vbLf, vbCrLf), 3028</text>.Value.Replace(vbLf, vbCrLf)) 3062</text>.Value.Replace(vbLf, vbCrLf), 3096</text>.Value.Replace(vbLf, vbCrLf)) 3126</text>.Value.Replace(vbLf, vbCrLf), 3156</text>.Value.Replace(vbLf, vbCrLf)) 3171</text>.Value.Replace(vbLf, vbCrLf), 3184</text>.Value.Replace(vbLf, vbCrLf)) 3205</text>.Value.Replace(vbLf, vbCrLf), 3222</text>.Value.Replace(vbLf, vbCrLf)) 3234</text>.Value.Replace(vbLf, vbCrLf), 3247</text>.Value.Replace(vbLf, vbCrLf)) 3259</text>.Value.Replace(vbLf, vbCrLf), 3272</text>.Value.Replace(vbLf, vbCrLf)) 4048</text>.Value.Replace(vbLf, vbCrLf), 4062</text>.Value.Replace(vbLf, vbCrLf)) 4087</text>.Value.Replace(vbLf, vbCrLf), 4109</text>.Value.Replace(vbLf, vbCrLf))
GenerateVariable\GenerateVariableTests.vb (7)
1083</Text>.Value) 1333End Module</Text>.Value.Replace(vbLf, vbCrLf), 1341End Module</Text>.Value.Replace(vbLf, vbCrLf), 1349x = [|Goo|]</Text>.Value.Replace(vbLf, vbCrLf), 1352x = Goo</Text>.Value.Replace(vbLf, vbCrLf), 1359x = [|Goo|]</Text>.Value.Replace(vbLf, vbCrLf), 1362x = Goo</Text>.Value.Replace(vbLf, vbCrLf),
SimplifyTypeNames\SimplifyTypeNamesTests.vb (57)
91Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1051</Text>.Value.Replace(vbLf, vbCrLf), 1117</Text>.Value.Replace(vbLf, vbCrLf), 1598Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1617Await TestMissingInRegularAndScriptAsync(source.Value) 1663Await TestInRegularAndScriptAsync(source.Value.ReplaceLineEndings(endOfLine), expected.Value.ReplaceLineEndings(endOfLine)) 1712Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1751Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1796Await TestMissingInRegularAndScriptAsync(source.Value) 1823Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1825Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess)) 1871Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1873Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess)) 1876Assert.Equal(span.Start, expected.Value.ReplaceLineEndings(vbLf).IndexOf("new C", StringComparison.Ordinal) + 4) 1905Await TestInRegularAndScriptAsync(source.Value, expected.Value) 1907Using workspace = TestWorkspace.CreateVisualBasic(source.Value, composition:=GetComposition().WithTestHostParts(TestHost.OutOfProcess)) 1910Assert.Equal(span.Start, expected.Value.ReplaceLineEndings(vbLf).IndexOf("Console.WriteLine(""goo"")", StringComparison.Ordinal)) 1925Await TestMissingInRegularAndScriptAsync(source.Value) 1945Await TestMissingInRegularAndScriptAsync(source.Value) 1973Await TestInRegularAndScriptAsync(source.Value.ReplaceLineEndings(endOfLine), expected.Value.ReplaceLineEndings(endOfLine)) 1992Await TestMissingInRegularAndScriptAsync(source.Value) 2011Await TestMissingInRegularAndScriptAsync(source.Value) 2027Await TestMissingInRegularAndScriptAsync(source.Value) 2050Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicPredefinedTypeInDeclaration()) 2073Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicPredefinedTypeInDeclaration()) 2094Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess()) 2113Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess()) 2126Await TestMissingInRegularAndScriptAsync(source.Value, 2141Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, False, NotificationOption2.Error))) 2155Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, False, NotificationOption2.Error))) 2169Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInDeclaration, False, NotificationOption2.Error))) 2194Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess()) 2215Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess()) 2235Await TestMissingInRegularAndScriptAsync(source.Value) 2248Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, False, NotificationOption2.Error))) 2262Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, False, NotificationOption2.Error))) 2274Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, False, NotificationOption2.Error))) 2293Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess()) 2305Await TestMissingInRegularAndScriptAsync(source.Value, New TestParameters(options:=[Option](CodeStyleOptions2.PreferIntrinsicPredefinedTypeKeywordInMemberAccess, False, NotificationOption2.Error))) 2324Await TestInRegularAndScriptAsync(source.Value, expected.Value, options:=PreferIntrinsicTypeInMemberAccess())
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (68)
Binding\BindingCollectionInitializerTests.vb (6)
58VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 120VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 186VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 306VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 724VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 1691VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics)
Binding\BindingObjectInitializerTests.vb (4)
1077VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 1204VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 1345VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics) 1393VerifyOperationTreeAndDiagnosticsForTest(Of ObjectCreationExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics)
Binding\BindingScopeTests.vb (1)
19Dim expectedScopeText As String = expectedScope.Value.Replace(vbLf, vbCrLf)
Binding\LookupTests.vb (1)
950</text>.Value)},
Compilation\CompilationAPITests.vb (2)
647</text>.Value 2063</text>.Value
Compilation\ReferenceManagerTests.vb (10)
36Dim refV1 = CreateCompilationWithMscorlib40({refSource.Value}, {v1}) 37Dim refV2 = CreateCompilationWithMscorlib40({refSource.Value}, {v2}) 51Dim testRefV1 = CreateCompilationWithMscorlib40({testRefSource.Value}, New MetadataReference() {New VisualBasicCompilationReference(refV1), v2}, options:=TestOptions.ReleaseDll) 54Dim testRefV2 = CreateCompilationWithMscorlib40({testRefSource.Value}, New MetadataReference() {New VisualBasicCompilationReference(refV2), v1}, options:=TestOptions.ReleaseDll) 82Dim refV1 = CreateCompilationWithMscorlib40({refSource.Value}, {v1}) 83Dim refV2 = CreateCompilationWithMscorlib40({refSource.Value}, {v2}) 92Dim testRefV1 = CreateCompilationWithMscorlib40({refSource.Value}, New MetadataReference() {New VisualBasicCompilationReference(refV1), v2}, options:=TestOptions.ReleaseDll) 95Dim testRefV2 = CreateCompilationWithMscorlib40({refSource.Value}, New MetadataReference() {New VisualBasicCompilationReference(refV2), v1}, options:=TestOptions.ReleaseDll) 679</text>.Value 694</text>.Value
Compilation\SemanticModelAPITests.vb (2)
224</code>.Value 4121Dim position = source.Value.IndexOf("Me", StringComparison.Ordinal)
Compilation\SymbolSearchTests.vb (1)
184</text>.Value
Diagnostics\GetDiagnosticsTests.vb (4)
137</file>.Value 147</file>.Value 189</file>.Value 202</file>.Value
FlowAnalysis\IterationJumpYieldStatementTests.vb (1)
1340</file>.Value)
Semantics\Conversions.vb (5)
36Dim dummyTree = VisualBasicSyntaxTree.ParseText(dummyCode.Value) 221Dim dummyTree = VisualBasicSyntaxTree.ParseText(dummyCode.Value) 1072Dim dummyTree = VisualBasicSyntaxTree.ParseText(dummyCode.Value) 4067</text>.Value 4153</text>.Value
Semantics\OverloadResolution.vb (3)
85Dim optionStrictOnTree = VisualBasicSyntaxTree.ParseText(optionStrictOn.Value) 86Dim optionStrictOffTree = VisualBasicSyntaxTree.ParseText(optionStrictOff.Value) 3053Dim optionStrictOffTree = VisualBasicSyntaxTree.ParseText(optionStrictOff.Value, options:=TestOptions.RegularLatest)
Semantics\PartialMethodsTest.vb (27)
26</text>.Value.Trim() 36</text>.Value.Trim() 106</text>.Value.Trim() 116</text>.Value.Trim() 186</text>.Value.Trim() 196</text>.Value.Trim() 274</text>.Value.Trim() 297</text>.Value.Trim() 307</text>.Value.Trim() 317</text>.Value.Trim() 413</text>.Value.Trim() 424</text>.Value.Trim() 466</text>.Value.Trim() 476</text>.Value.Trim() 523</text>.Value.Trim() 533</text>.Value.Trim() 580</text>.Value.Trim() 591</text>.Value.Trim() 913</text>.Value.Trim() 920</text>.Value.Trim() 956</text>.Value.Trim() 991</text>.Value.Trim() 1022</text>.Value.Trim() 1034</text>.Value.Trim() 1078</text>.Value.Trim() 1090</text>.Value.Trim() 1133</text>.Value.Trim()
Semantics\UnaryOperators.vb (1)
425End Module</text>.Value
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (69)
DocumentationComments\DocCommentTests.vb (4)
10665Dim xmlFile = Temp.CreateFile(extension:=".xml").WriteAllText(xmlText.Value.ToString) 11931file.Value = String.Format(file.Value, obj) 11937xml.Value = String.Format(xml.Value, obj) 12194expectedDocXml.Value.Trim(),
SymbolDisplay\SymbolDisplayTests.vb (7)
3805text.Value.IndexOf("N1", StringComparison.Ordinal), { 3814text.Value.IndexOf("N2", StringComparison.Ordinal), { 3821text.Value.IndexOf("C1", StringComparison.Ordinal), 3826text.Value.IndexOf("C2", StringComparison.Ordinal), 3836text.Value.IndexOf("OUTER.INNER.GOO", StringComparison.Ordinal), 3848text.Value.IndexOf("Microsoft.VisualBasic.Collection", StringComparison.Ordinal), 4735</text>.Value
SymbolsTests\AnonymousTypes\AnonymousTypesEmittedSymbolsTests.vb (3)
277Dim expr1 = SyntaxFactory.ParseExpression(<text>New With { .aa = 1, .BB<%= i %> = "" }</text>.Value) 593Dim expr1 = SyntaxFactory.ParseExpression(<text>New With { .aa = 1, .BB = "", .CCC = new SSS() }</text>.Value) 598Dim expr2 = SyntaxFactory.ParseExpression(<text>New With { .aa = 1, Key .BB = "", .CCC = new SSS() }</text>.Value)
SymbolsTests\AnonymousTypes\AnonymousTypesSemanticsTests.vb (4)
99Dim text As String = compilationDef.Value.Replace(vbLf, vbCrLf) 221Dim text As String = compilationDef.Value.Replace(vbLf, vbCrLf) 294Dim text As String = compilationDef.Value.Replace(vbLf, vbCrLf) 363Dim text As String = compilationDef.Value.Replace(vbLf, vbCrLf)
SymbolsTests\CompilationCreationTests.vb (16)
127</text>.Value) 161</text>.Value) 231</text>.Value) 670</text>.Value}, {NetFramework.mscorlib}) 683</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib1_V1.ToMetadataReference()}) 716</text>.Value}, {NetFramework.mscorlib}) 737</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V2.ToMetadataReference()}) 790</text>.Value}, {NetFramework.mscorlib}) 822</text>.Value}, {NetFramework.mscorlib, varC_MTTestLib2.ToMetadataReference(), varC_MTTestLib1_V3.ToMetadataReference(), varC_MTTestLib3.ToMetadataReference()}) 1645{source1.Value}, 1653{source1.Value}, 1667{source4.Value}, 1675{source4.Value}, 1690{source7.Value}, 1764{source3.Value}, 1782{source5.Value},
SymbolsTests\CorLibrary\CorTypes.vb (3)
156Dim c1 = VisualBasicCompilation.Create("CorLib", syntaxTrees:={VisualBasicSyntaxTree.ParseText(source.Value)}) 226syntaxTrees:={VisualBasicSyntaxTree.ParseText(source1.Value)}, 240syntaxTrees:={VisualBasicSyntaxTree.ParseText(source2.Value)},
SymbolsTests\Metadata\PE\NoPia.vb (6)
266</text>.Value 274</text>.Value 766</text>.Value 813</text>.Value 827</text>.Value 843</text>.Value
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (22)
30</text>.Value 45</text>.Value 61</text>.Value 77</text>.Value 99</text>.Value 114</text>.Value 137</text>.Value 152</text>.Value 168</text>.Value 184</text>.Value 200</text>.Value 216</text>.Value 232</text>.Value 248</text>.Value 264</text>.Value 278end class</text>.Value 292end class</text>.Value 305end class</text>.Value 321</text>.Value 338</text>.Value 364</text>.Value 388</text>.Value
SymbolsTests\Metadata\WinMdEventTest.vb (2)
770CompileAndVerify(compilation, verify:=Verification.FailsILVerify).VerifyIL("abcdef.goo", expectedIL.Value()) 852CompileAndVerify(compilation, verify:=If(OSVersion.IsWin8, Verification.Passes, Verification.Skipped)).VerifyIL("abcdef.goo", expectedIL.Value())
SymbolsTests\MockSymbolTests.vb (1)
207}</expected>.Value.Replace(vbLf, Environment.NewLine).
SymbolsTests\Source\TypeTests.vb (1)
686</literal>.Value
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (86)
Parser\DeclarationTests.vb (3)
32</literal>.Value 45</literal>.Value 190</literal>.Value
Parser\ParseErrorTests.vb (3)
2911</text>.Value 2924</text>.Value 2937</text>.Value
Parser\ParseExpression.vb (4)
20Return ParseExpressionAsRhs(text.Value) 29</Module>.Value 42Return ParseExpression(text.Value) 2019Dim code = <String>*ERROR*</String>.Value
Parser\ParseStatements.vb (12)
1946</Q>.Value 1963</Q>.Value 1980</Q>.Value 1997</Q>.Value 2176</String>.Value 2215</String>.Value 2250</String>.Value 6048</source>.Value, 6056</source>.Value, FULLWIDTH_LESS_THAN_SIGN), 6068</source>.Value, 6081</source>.Value, 7848</source>.Value,
Parser\ParseXml.vb (3)
1136</root>.Value, 2354</source>.Value, FULLWIDTH_LESS_THAN_SIGN), 2651</source>.Value,
PreprocessorEETests.vb (2)
16Return ParseExpression(text.Value) 25</Module>.Value
Scanner\ScanConditionalTests.vb (4)
17</text>.Value 35boo</text>.Value 76#hi</text>.Value 116_</text>.Value
Scanner\ScannerTests.vb (13)
1276Dim Str = <text>"Q"c</text>.Value 1282Str = <text>""""c</text>.Value 1288Str = <text>""c</text>.Value 1294Str = <text>"""c</text>.Value 1301Str = <text>"QQ"c</text>.Value 1309""""c</text>.Value 1324Dim Str = <text>""</text>.Value 1330Str = <text>"Q"</text>.Value 1336Str = <text>""""</text>.Value 1342Str = <text>""""""""</text>.Value 1348Str = <text>"""" """"</text>.Value 1354"BB"</text>.Value 1892World!"</text>.Value
Syntax\ManualTests.vb (1)
224</code>.Value
Syntax\SyntaxNormalizerTests.vb (8)
122end Sub</code>.Value, _ 129</code>.Value) 147</code>.Value, 156</code>.Value) 303end module</code>.Value, _ 309</code>.Value) 735End Property</text>.Value.Replace(vbLf, vbCrLf) 744</text>.Value.Replace(vbLf, vbCrLf)
Syntax\SyntaxRewriterTests.vb (2)
512#End Region"</x>.Value 517#End Region"</x>.Value
TestSyntaxNodes.vb (31)
1373End If</x>.Value), MultiLineIfBlockSyntax) 1377</x>.Value) 1380</x>.Value) 1389End If</x>.Value, newBlock.ToFullString()) 1398End If</x>.Value, newBlock.ToFullString()) 1405End If</x>.Value, newBlock.ToFullString()) 1412End If</x>.Value, newBlock.ToFullString()) 1421End If</x>.Value), MultiLineIfBlockSyntax) 1425</x>.Value) 1428</x>.Value) 1438End If</x>.Value, newBlock.ToFullString()) 1448End If</x>.Value, newBlock.ToFullString()) 1458End If</x>.Value, newBlock.ToFullString()) 1468End If</x>.Value, newBlock.ToFullString()) 1493End Class</x>.Value) 1502End Class</x>.Value, cu1.ToFullString()) 1507End Class</x>.Value, cu2.ToFullString()) 1512End Class</x>.Value, cu3.ToFullString()) 1519End Class</x>.Value) 1537End Class</x>.Value) 1545End Class</x>.Value, cu1.ToFullString()) 1550End Class</x>.Value, cu2.ToFullString()) 1557End Class</x>.Value) 1687</x>.Value) 2253</code>.Value 2347End Class</code>.Value 3290Dim text = SourceText.Value 3364Dim text = SourceText.Value 3390Dim text = SourceText.Value 3414Dim text = SourceText.Value 3459Dim text = SourceText.Value
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
CompilationTestUtils.vb (3)
636Return VisualBasicSyntaxTree.ParseText(SourceText.From(FilterString(programElement.Value), Encoding.UTF8, SourceHashAlgorithms.Default), path:=If(programElement.@name, "")) 648Dim codeWithMarker As String = FilterString(programElement.Value) 871Dim expectedText = FilterString(errs.Value)
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (292)
CaseCorrection\CaseCorrectionTests.vb (2)
32Await AssertCaseCorrectAsync(code.Value, expected.Value)
Formatting\FormattingTests.vb (290)
32Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 47Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 64Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 83Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 106Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 125Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 140Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 155Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 180Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 213Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 234Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 255Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 276Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 297Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 326Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 365Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 400Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 421Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 442Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 463Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 478Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 501Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 524Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 549Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 570Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 599Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 618Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 665Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 678Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 695Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 712Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 731Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 760Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 793Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 832Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 990Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1015Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1034Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1053Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1076Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1099Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1122Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1162Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1177Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1474Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1493Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1511Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 1528Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 1557Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1574Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1593Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1612Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1629Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1646Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1703Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1724Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1741Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1758Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 1779Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2119Await AssertFormatLf2CrLfAsync(code.Value, expected.Value, optionSet) 2180Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2191Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2201Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2222Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2245Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2266Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2276Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2303Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2328Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2441Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2452Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2493Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2536Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2568Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2585Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2599Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2618Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2645Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2660Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2689Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2698Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2712Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 2736Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2771Await AssertFormatSpanAsync(code.Value.Replace(vbLf, vbCrLf), expected.Value.Replace(vbLf, vbCrLf)) 2803Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2831Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2865Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2885Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 2904Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3059Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3090Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3134Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3153Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3164Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 3175Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 3300Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3321Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3338Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3357Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3398Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3406Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3416Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3448Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3466Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 3485Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3504Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3511Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3535Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3559Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3573Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 3588Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3601Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3618Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3641Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3668Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3705Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3749End Class</text>.Value.Replace(vbLf, vbCrLf) 3772End Class</text>.Value.Replace(vbLf, vbCrLf) 3810Await AssertFormatLf2CrLfAsync(text.Value, text.Value) 3823Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 3848Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3867Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3892Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3940Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 3992Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4016Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4026Dim actual = CreateMethod(code.Value) 4042Await AssertFormatLf2CrLfAsync(code.Value, code.Value) 4072Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4102Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4144Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4184Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4202End Class</text>.Value) 4239Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4258Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4298Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4321Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4432Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4455Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4480Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4503Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4528Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4549Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4586Await AssertFormatLf2CrLfAsync(text.Value, expected.Value) 4636Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4653Await AssertFormatLf2CrLfAsync(code.Value, expected.Value) 4669Await AssertFormatLf2CrLfAsync(code.Value, code.Value)
Microsoft.CodeAnalysis.Workspaces (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\NamingStylePreferences.cs (1)
403.Where(e => e.Name.LocalName == "SymbolKind" && e.Value == "Method").ToList();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\NamingStyles\Serialization\SymbolSpecification.cs (5)
315=> (Accessibility)Enum.Parse(typeof(Accessibility), accessibilityElement.Value); 426var symbolKind = (SymbolKind)Enum.Parse(typeof(SymbolKind), symbolKindElement.Value); 438=> new((TypeKind)Enum.Parse(typeof(TypeKind), typeKindElement.Value)); 441=> new((MethodKind)Enum.Parse(typeof(MethodKind), methodKindElement.Value)); 541=> new((ModifierKindEnum)Enum.Parse(typeof(ModifierKindEnum), modifierElement.Value));
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (8)
Extensions\XElementExtensions.cs (1)
12=> element.Value.Replace("\n", "\r\n");
Workspaces\TestWorkspace_XmlConsumption.cs (6)
188? sourceGeneratedDocumentElement.Value 422.Select(x => GlobalImport.Parse(x.Value)).ToList(); 609? documentElement.Value 777compilation = compilation.AddSyntaxTrees(CreateSyntaxTree(parseOptions, documentElement.Value)); 811var content = File.ReadAllBytes(reference.Value); 812references.Add(MetadataReference.CreateFromImage(content, filePath: reference.Value));
Workspaces\TestWorkspace`1.cs (1)
686var toName = projectReference.Value;
Microsoft.DotNet.Arcade.Sdk (3)
src\GenerateResxSource.cs (1)
115string value = node.Elements("value").FirstOrDefault()?.Value.Trim();
src\SourceBuild\ReadSourceBuildIntermediateNupkgDependencies.cs (2)
83string dependencyUri = d.Element(CreateQualifiedName("Uri"))?.Value; 84string dependencySha = d.Element(CreateQualifiedName("Sha"))?.Value;
Microsoft.DotNet.Build.Tasks.Installers (2)
src\CreateWixCommandPackageDropBase.cs (2)
269id = field.Value; 273oldPath = field.Value;
Microsoft.DotNet.MacOsPkg (2)
Package.cs (2)
57List<XElement> componentPackages = xml.Elements("pkg-ref").Where(e => e.Value.Trim() != "").ToList(); 63string packageName = Path.Combine(dstPath, package.Value.Substring(1));
Microsoft.DotNet.NuGetRepack.Tasks (4)
src\NuGetVersionUpdater.cs (2)
155packageId = metadata.Element(XName.Get("id", nuspecXmlns))?.Value; 162string packageVersionStr = versionElement?.Value;
src\ReplacePackageParts.cs (2)
162packageId = metadata.Element(XName.Get("id", nuspecXmlns))?.Value; 170var versionStr = versionElement?.Value;
Microsoft.DotNet.SourceBuild.Tasks (3)
src\UsageReport\UsageData.cs (2)
46?.Value, 49.Select(x => x.Value)
src\UsageReport\WriteUsageReports.cs (1)
192?.Value;
Microsoft.DotNet.VersionTools (2)
Automation\NupkgInfoFactory.cs (2)
60return new PackageIdentity(GetSingleElement(metadataElement, "id").Value, GetSingleElement(metadataElement, "version").Value);
Microsoft.DotNet.XliffTasks (15)
Model\ResxDocument.cs (3)
28string value = valueElement?.Value; 29string comment = node.Element("comment")?.Value ?? ""; 64string[] splitRelativePathAndSerializedType = valueNodeOfFileRef.Value.Split(';');
Model\VsctDocument.cs (1)
45source: child.Value,
Model\XamlRuleDocument.cs (4)
37source: descendentDisplayName.Value, 47source: descendentDescription.Value, 64source: descendentValue.Value, 97source: descendentValue.Value,
Model\XDocumentExtensions.cs (1)
30if (element.Value.Length == 0)
Model\XElementExtensions.cs (4)
20transUnitElement.Element(Target)?.Value 21?? transUnitElement.Element(Source).Value; 91transUnitElement.Element(Source).Value; 107transUnitElement.Element(Note)?.Value;
Tasks\TransformTemplates.cs (2)
86string templateItemFullPath = Path.Combine(templateDirectory, templateItem.Value); 87string templateItemDestinationPath = Path.Combine(localizedTemplateDirectory, templateItem.Value);
Microsoft.DotNet.XliffTasks.Tests (2)
XElementExtensionsTests.cs (2)
62Assert.Equal(expected: "new target text", actual: transUnitElement.Element(Target).Value); 75Assert.Equal(expected: "new target text", actual: transUnitElement.Element(Target).Value);
Microsoft.Extensions.FileProviders.Embedded (2)
Manifest\ManifestParser.cs (2)
144return element.Value; 149$"a text value. '{element.Value}'");
Microsoft.Maui.Resizetizer (7)
GeneratePackageAppxManifest.cs (4)
137 if (xelem == null || string.IsNullOrEmpty(xelem.Value) || xelem.Value == DefaultPlaceholder) 146 if (xelem == null || string.IsNullOrEmpty(xelem.Value) || xelem.Value == PngPlaceholder)
GenerateTizenManifest.cs (3)
142 var iconPlaceholderElements = iconElements.Where(d => d.Value == AppIconPlaceholder); 201 if (string.IsNullOrEmpty(element.Value) || element.Value == placeholder)
Microsoft.VisualStudio.LanguageServices (2)
Snippets\SnippetExpansionClient.cs (2)
318if (codeNode.Value.IndexOf(string.Format("{0}end{0}", delimiter), StringComparison.OrdinalIgnoreCase) != -1) 1098var assemblyName = assemblyElement?.Value.Trim();
Microsoft.VisualStudio.LanguageServices.CSharp (1)
Snippets\CSharpSnippetExpansionLanguageHelper.cs (1)
123var namespaceToImport = namespaceElement.Value.Trim();
Microsoft.VisualStudio.LanguageServices.UnitTests (281)
AbstractTextViewFilterTests.vb (1)
45]]></text>.Value.Replace(vbLf, vbCrLf), {doc})
CodeModel\CSharp\FileCodeModelTests.vb (3)
1012<Document><%= changedCode.Value %></Document> 1199Dim codeBeforeOperation = codeBeforeOperationXml.Value.NormalizeLineEndings().Trim() 1200Dim codeAfterOperation = codeAfterOperationXml.Value.NormalizeLineEndings().Trim()
CodeModel\VisualBasic\FileCodeModelTests.vb (2)
1008<Document FilePath="File1.vb"><%= changedCodeRemoveFunction.Value %></Document> 1009<Document FilePath="File2.vb"><%= changedCodeSubFunction.Value %></Document>
Help\HelpTests.vb (179)
31Await TestAsync(text.Value, "vb.Friend") 42Await TestAsync(text.Value, "vb.Protected") 53Await TestAsync(text.Value, "vb.ProtectedFriend") 64Await TestAsync(text.Value, "vb.ProtectedFriend") 75Await TestAsync(text.Value, "vb.PrivateProtected") 86Await TestAsync(text.Value, "vb.PrivateProtected") 97Await TestAsync(text.Value, "vb.PrivateProtected") 108Await TestAsync(text.Value, "vb.PrivateProtected") 119Await TestAsync(text.Value, "vb.PrivateProtected") 129Await TestAsync(text.Value, "vb.PrivateProtected") 143Await TestAsync(text.Value, "vb.AddHandler") 157Await TestAsync(text.Value, "vb.AddHandler") 169Await TestAsync(text.Value, "vb.Array") 181Await TestAsync(text.Value, "vb.Array") 193Await TestAsync(text.Value, "vb.=") 208Await TestAsync(text.Value, HelpKeywords.Attributes) 220Await TestAsync(text.Value, HelpKeywords.ModuleAttribute) 232Await TestAsync(text.Value, HelpKeywords.AssemblyAttribute) 244Await TestAsync(text.Value, "vb.+") 256Await TestAsync(text.Value, "vb.Call") 274Await TestAsync(text.Value, "vb.Select") 292Await TestAsync(text.Value, "vb.Select") 308Await TestAsync(text.Value, "vb.As") 324Await TestAsync(text.Value, "vb.When") 342Await TestAsync(text.Value, "vb.Try") 355Await TestAsync(text.Value, HelpKeywords.CollectionInitializer) 368Await TestAsync(text.Value, HelpKeywords.CollectionInitializer) 379Await TestAsync(text.Value, HelpKeywords.Constructor) 394Await TestAsync(text.Value, HelpKeywords.QueryDistinct) 408Await TestAsync(text.Value, "vb.Do") 422Await TestAsync(text.Value, "vb.Do") 436Await TestAsync(text.Value, "vb.Do") 452Await TestAsync(text.Value, "vb.Then") 470Await TestAsync(text.Value, "vb.ElseIf") 488Await TestAsync(text.Value, "vb.Else") 504Await TestAsync(text.Value, "vb.If") 518Await TestAsync(text.Value, HelpKeywords.LambdaFunction) 527Await TestAsync(text.Value, "vb.Class") 547Await TestAsync(text.Value, "vb.AddHandler") 559Await TestAsync(text.Value, "vb.End") 569Await TestAsync(text.Value, "vb.Enum") 582Await TestAsync(text.Value, "vb.Erase") 595Await TestAsync(text.Value, "vb.Erase") 607Await TestAsync(text.Value, "vb.Error") 617Await TestAsync(text.Value, "vb.Event") 631Await TestAsync(text.Value, "vb.Exit") 646Await TestAsync(text.Value, "vb.Exit") 656Await TestAsync(text.Value, "vb.Protected") 666Await TestAsync(text.Value, "vb.ReadOnly") 676Await TestAsync(text.Value, "vb.Dim") 687Await TestAsync(text.Value, "vb.In") 698Await TestAsync(text.Value, "vb.Each") 709Await TestAsync(text.Value, HelpKeywords.ForEach) 720Await TestAsync(text.Value, "vb.Step") 731Await TestAsync(text.Value, "vb.To") 742Await TestAsync(text.Value, "vb.For") 752Await TestAsync(text.Value, HelpKeywords.QueryFrom) 762Await TestAsync(text.Value, HelpKeywords.VarianceOut) 774Await TestAsync(text.Value, "vb.GetType") 787Await TestAsync(text.Value, "vb.GoTo") 800Await TestAsync(text.Value, HelpKeywords.Colon) 812Await TestAsync(text.Value, HelpKeywords.IfOperator) 826Await TestAsync(text.Value, "vb.Implements") 840Await TestAsync(text.Value, "vb.Implements") 852Await TestAsync(text.Value, HelpKeywords.AnonymousType) 864Await TestAsync(text.Value, HelpKeywords.AnonymousType) 876Await TestAsync(text.Value, HelpKeywords.AnonymousKey) 888Await TestAsync(text.Value, HelpKeywords.AnonymousType) 900Await TestAsync(text.Value, HelpKeywords.AnonymousType) 913Await TestAsync(text.Value, "vb.TypeOf") 926Await TestAsync(text.Value, "vb.TypeOf") 941Await TestAsync(text.Value, "vb.Async") 956Await TestAsync(text.Value, HelpKeywords.LambdaFunction) 971Await TestAsync(text.Value, HelpKeywords.QueryLet) 982Await TestAsync(text.Value, HelpKeywords.PartialMethod) 993Await TestAsync(text.Value, HelpKeywords.Main) 1005Await TestAsync(text.Value, "vb.Me") 1017Await TestAsync(text.Value, "vb.Module") 1029Await TestAsync(text.Value, "vb.MyBase") 1041Await TestAsync(text.Value, "vb.MyBase") 1055Await TestAsync(text.Value, HelpKeywords.NewConstraint) 1068Await TestAsync(text.Value, HelpKeywords.ObjectInitializer) 1081Await TestAsync(text.Value, HelpKeywords.ObjectInitializer) 1093Await TestAsync(text.Value, HelpKeywords.Nullable) 1105Await TestAsync(text.Value, HelpKeywords.OnError) 1117Await TestAsync(text.Value, HelpKeywords.OptionCompare) 1129Await TestAsync(text.Value, HelpKeywords.OptionExplicit) 1141Await TestAsync(text.Value, HelpKeywords.OptionInfer) 1153Await TestAsync(text.Value, HelpKeywords.OptionStrict) 1165Await TestAsync(text.Value, "vb.Option") 1177Await TestAsync(text.Value, "vb.CInt") 1189Await TestAsync(text.Value, "vb.DirectCast") 1201Await TestAsync(text.Value, "vb.TryCast") 1213Await TestAsync(text.Value, HelpKeywords.PreprocessorConst) 1228Await TestAsync(text.Value, HelpKeywords.PreprocessorIf) 1243Await TestAsync(text.Value, HelpKeywords.PreprocessorIf) 1258Await TestAsync(text.Value, HelpKeywords.PreprocessorIf) 1273Await TestAsync(text.Value, HelpKeywords.PreprocessorIf) 1286Await TestAsync(text.Value, HelpKeywords.Region) 1299Await TestAsync(text.Value, HelpKeywords.Region) 1312Await TestAsync(text.Value, "vb.RaiseEvent") 1325Await TestAsync(text.Value, HelpKeywords.Redim) 1338Await TestAsync(text.Value, "vb.Is") 1354Await TestAsync(text.Value, "vb.RemoveHandler") 1366Await TestAsync(text.Value, "vb.Resume") 1378Await TestAsync(text.Value, "vb.Return") 1390Await TestAsync(text.Value, "vb.Stop") 1404Await TestAsync(text.Value, "vb.SyncLock") 1416Await TestAsync(text.Value, "vb.Throw") 1429Await TestAsync(text.Value, HelpKeywords.Negate) 1443Await TestAsync(text.Value, "vb.Using") 1455Await TestAsync(text.Value, "vb.Yield") 1477Await TestAsync(text.Value, "vb.Integer") 1489Await TestAsync(text.Value, "System.Console.WriteLine") 1501Await TestAsync(text.Value, "vb.Date") 1518End Module]]></a>.Value, HelpKeywords.XmlDocComment) 1527End Class]]></a>.Value, "vb.AnonymousType") 1543End Module]]></a>.Value, "vb.AnonymousType") 1556End Module]]></a>.Value, "vb.ByVal") 1569End Module]]></a>.Value, "vb.Of") 1583]]></a>.Value, "vb.+=") 1597End Module]]></a>.Value, "System.Collections.Generic.IEnumerable`1") 1610End Module]]></a>.Value, "vb.Sub") 1621]]></a>.Value, "vb.As") 1634]]></a>.Value, "vb.Await") 1641End Class]]></a>.Value, "vb.AutoImplementedProperty") 1650End Module]]></a>.Value, "System.Int32.MaxValue") 1668]]></a>.Value, "vb.Public") 1686]]></a>.Value, "vb.Public") 1696]]></a>.Value, "vb.=") 1705End Module]]></a>.Value, "vb.Rem") 1714End Module]]></a>.Value, HelpKeywords.TaskListUserComments) 1726]]></a>.Value, "vb.Call") 1731Await TestAsync(<a><![CDATA[Imports <xmln[||]s:ns="goo">]]></a>.Value, "vb.ImportsXmlns") 1744End Module]]></a>.Value, "System.String()") 1753End Module]]></a>.Value, "") 1766End Module]]></a>.Value, "System.Int32.Parse") 1780End Module]]></a>.Value, "vb.CType") 1794End Module]]></a>.Value, "vb.Nothing") 1807End Module]]></a>.Value, "vb.Nullable") 1823End Module]]></a>.Value, "vb.String") 1834End Module]]></a>.Value, "vb.UInteger") 1841]]></a>.Value, "vb.Structure") 1858]]></a>.Value, "vb.XmlLiteralDocument") 1875]]></a>.Value, "vb.XmlLiteralElement") 1892]]></a>.Value, "vb.XmlLiteralComment") 1905End Class]]></a>.Value, "vb.While") 1918]]></a>.Value, "vb.ImplementsClause") 1932]]></a>.Value, "vb.AddressOf") 1937Await TestAsync(<a><![CDATA[[|Shared|]]]></a>.Value, "vb.Shared") 1942Await TestAsync(<a><![CDATA[[|Widening|]]]></a>.Value, "vb.Widening") 1947Await TestAsync(<a><![CDATA[[|CType|]]]></a>.Value, "vb.CType") 1952Await TestAsync(<a><![CDATA[[|Narrowing|]]]></a>.Value, "vb.Narrowing") 1957Await TestAsync(<a><![CDATA[[|Operator|]]]></a>.Value, "vb.Operator") 1962Await TestAsync(<a><![CDATA[[|AddHandler|]]]></a>.Value, "vb.AddHandler") 1967Await TestAsync(<a><![CDATA[Declare [|Ansi|]]]></a>.Value, "vb.Ansi") 1972Await TestAsync(<a><![CDATA[Declare [|Auto|]]]></a>.Value, "vb.Auto") 1977Await TestAsync(<a><![CDATA[Declare [|Unicode|]]]></a>.Value, "vb.Unicode") 1982Await TestAsync(<a><![CDATA[[|Handles|]]]></a>.Value, "vb.Handles") 1994]]></a>.Value, "vb.IDisposable") 2004]]></a>.Value, "System.Exception") 2014End Class]]></a>.Value, "vb.Not") 2024End Class]]></a>.Value, "vb.Integer") 2047End Module]]></a>.Value, "vb.QueryGroupJoin") 2070End Module]]></a>.Value, "vb.QueryGroupJoinIn") 2093End Module]]></a>.Value, "vb.Equals") 2116End Module]]></a>.Value, "vb.QuerySelect") 2139End Module]]></a>.Value, "System.Linq.Enumerable.Count") 2148End Class]]></a>.Value, "vb.IsTrue") 2161End Module]]></a>.Value, "vb.AnonymousType") 2172End Class]]></a>.Value, "System.Object.GetType") 2185End Module]]></a>.Value, "System.Array.Length") 2194End Module]]></a>.Value, "System.String()") 2204End Module]]></a>.Value, "System.Int32") 2215End Module]]></a>.Value, "System.Linq.Enumerable") 2224End Module]]></a>.Value, "vb.String") 2237End Module]]></a>.Value, "System.Int32.ToString") 2250End Module]]></a>.Value, "System.Int32.ToString") 2259End Module]]></a>.Value, "vb.NameOf")
Preview\PreviewChangesTests.vb (2)
30}</text>.Value, composition:=s_composition) 130}</text>.Value, composition:=s_composition)
Snippets\CSharpSnippetCommandHandlerTests.vb (4)
99}]]></Markup>.Value 104}]]></Markup>.Value.Replace(vbLf, vbCrLf) 190]]></Markup>.Value 208]]></Markup>.Value
Snippets\SnippetCompletionProviderTests.vb (4)
66End Class</File>.Value 80End Class</File>.Value 96End Class</File>.Value 112End Class</File>.Value
Snippets\VisualBasicSnippetCommandHandlerTests.vb (23)
96]]></Markup>.Value 101]]></Markup>.Value.Replace(vbLf, vbCrLf) 119]]></Markup>.Value 124]]></Markup>.Value.Replace(vbLf, vbCrLf) 139]]></Markup>.Value 149]]></Code>.Value.Replace(vbLf, vbCrLf) 160]]></Markup>.Value 170]]></Code>.Value.Replace(vbLf, vbCrLf) 181]]></Markup>.Value 191]]></Code>.Value.Replace(vbLf, vbCrLf) 202]]></Markup>.Value 213]]></Code>.Value.Replace(vbLf, vbCrLf) 224]]></Markup>.Value 234]]></Code>.Value.Replace(vbLf, vbCrLf) 245]]></Markup>.Value 255]]></Code>.Value.Replace(vbLf, vbCrLf) 269]]></Markup>.Value 286]]></Markup>.Value 303]]></Markup>.Value 320]]></Markup>.Value 335]]></Markup>.Value 351]]></Markup>.Value 363Dim markup = <Markup>?$$</Markup>.Value
SolutionExplorer\RuleSetDocumentExtensionsTests.vb (7)
29Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 52Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 78Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 107Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 126Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 148Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value) 175Assert.Equal(expectedRuleSet.Value, document.Element("RuleSet").Value)
Venus\CSharpContainedLanguageSupportTests.vb (24)
160}</text>.Value 189}</text>.Value 215}</text>.Value 243}</text>.Value 274}</text>.Value 308}</text>.Value 344}</text>.Value 377}</text>.Value 416}</text>.Value 459}</text>.Value 487}</text>.Value 530}</text>.Value 627}</text>.Value 670}</text>.Value 694}</text>.Value 718}</text>.Value 743}</text>.Value 771}</text>.Value 796}</text>.Value 827}</text>.Value 854}</text>.Value 872Dim code As String = <text>public partial class Goo { }</text>.Value 890Dim code As String = <text>namespace Goo { }</text>.Value 923}</text>.Value
Venus\VisualBasicContainedLanguageSupportTests.vb (32)
74End Class</text>.Value 87End Class</text>.Value 103End Class</text>.Value 120End Class</text>.Value 139End Namespace</text>.Value 158End Namespace</text>.Value 176</text>.Value 198</text>.Value 226</text>.Value 252End Class</text>.Value 279End Class</text>.Value 308End Class</text>.Value 340End Class</text>.Value 370End Class</text>.Value 401End Class</text>.Value 436End Class</text>.Value 475End Class</text>.Value 505End Class</text>.Value 543End Class</text>.Value 674End Class</text>.Value 715End Class</text>.Value 737End Class</text>.Value 759End Class</text>.Value 782End Class</text>.Value 809</text>.Value 833End Class</text>.Value 862End Class</text>.Value 887End Class</text>.Value 907End Class</text>.Value 926End Namespace</text>.Value 956End Class</text>.Value 981</text>.Value
Microsoft.VisualStudio.LanguageServices.VisualBasic (4)
Options\StyleViewModel.vb (4)
115]]></a>.Value 126]]></a>.Value 137]]></a>.Value 148]]></a>.Value
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (3)
IOperation\IOperationTests_IAttributeOperation.vb (1)
354</expected>.Value
IOperation\IOperationTests_IAwaitExpression.vb (2)
283VerifyOperationTreeAndDiagnosticsForTest(Of AwaitExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics, useLatestFramework:=True) 321VerifyOperationTreeAndDiagnosticsForTest(Of AwaitExpressionSyntax)(source.Value, expectedOperationTree, expectedDiagnostics, useLatestFramework:=True)
System.ComponentModel.TypeConverter (1)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
399return _element.Value;
System.Private.Xml.Linq (30)
System\Xml\Linq\XElement.cs (28)
1210/// <see cref="Value"/> property of the attribute. 1250/// to the <see cref="Value"/> property of the child element. 1283/// and assigned to the <see cref="Value"/> property. 1344return element.Value; 1367return XmlConvert.ToBoolean(element.Value.ToLowerInvariant()); 1387return XmlConvert.ToBoolean(element.Value.ToLowerInvariant()); 1410return XmlConvert.ToInt32(element.Value); 1430return XmlConvert.ToInt32(element.Value); 1453return XmlConvert.ToUInt32(element.Value); 1473return XmlConvert.ToUInt32(element.Value); 1496return XmlConvert.ToInt64(element.Value); 1516return XmlConvert.ToInt64(element.Value); 1539return XmlConvert.ToUInt64(element.Value); 1559return XmlConvert.ToUInt64(element.Value); 1582return XmlConvert.ToSingle(element.Value); 1602return XmlConvert.ToSingle(element.Value); 1625return XmlConvert.ToDouble(element.Value); 1645return XmlConvert.ToDouble(element.Value); 1668return XmlConvert.ToDecimal(element.Value); 1688return XmlConvert.ToDecimal(element.Value); 1711return DateTime.Parse(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 1731return DateTime.Parse(element.Value, CultureInfo.InvariantCulture, System.Globalization.DateTimeStyles.RoundtripKind); 1754return XmlConvert.ToDateTimeOffset(element.Value); 1774return XmlConvert.ToDateTimeOffset(element.Value); 1797return XmlConvert.ToTimeSpan(element.Value); 1817return XmlConvert.ToTimeSpan(element.Value); 1840return XmlConvert.ToGuid(element.Value); 1860return XmlConvert.ToGuid(element.Value);
System\Xml\XPath\XNodeNavigator.cs (2)
275return ((XElement)_source).Value; 280return root != null ? root.Value : string.Empty;