Closed AdamSpeight2008 closed 8 years ago
Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes.DefaultValueWithoutOptional_02b Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes._Closure$__._Lambda$__64-0(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Emit\Emit\NoPiaEmbedTypes.vb:line 4396 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.RunValidators(CompilationVerifier verifier, Action`1 assemblyValidator, Action`1 symbolValidator) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 186 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Action`1 assemblyValidator, Action`1 symbolValidator, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 208 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, String expectedOutput, MetadataReference[] additionalRefs, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify, Boolean useLatestFramework) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes.DefaultValueWithoutOptional_02b() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Emit\Emit\NoPiaEmbedTypes.vb:line 4385 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes.DefaultValueWithoutOptional_01b Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes._Closure$__._Lambda$__61-0(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Emit\Emit\NoPiaEmbedTypes.vb:line 4251 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.RunValidators(CompilationVerifier verifier, Action`1 assemblyValidator, Action`1 symbolValidator) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 186 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Action`1 assemblyValidator, Action`1 symbolValidator, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 208 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, String expectedOutput, MetadataReference[] additionalRefs, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify, Boolean useLatestFramework) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.NoPiaEmbedTypes.DefaultValueWithoutOptional_01b() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Emit\Emit\NoPiaEmbedTypes.vb:line 4239 Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestCallerFilePath1 Exception Type: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException Message: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException : Execution failed for assembly 'C:\Users\Adam\AppData\Local\Temp\'. Expected: 1: 'C:\filename' 2: 'a\b\..\c\d' 3: '*' 4: ' ' Actual: 1: '' 2: '' 3: '' 4: '' at Microsoft.CodeAnalysis.Test.Utilities.HostedRuntimeEnvironment.Execute(String moduleName, String expectedOutput) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\HostedRuntimeEnvironment.cs:line 263 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompilationVerifier.Emit(String expectedOutput, IEnumerable`1 manifestResources, Boolean peVerify, SignatureDescription[] expectedSignatures) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.CompilationVerifier.cs:line 109 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Action`1 assemblyValidator, Action`1 symbolValidator, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 204 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 77 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestCallerFilePath1() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2004 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_String Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue._Closure$__45-0._Lambda$__1(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2384 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 124 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_String() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2459 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.OptionalWithNoDefaultValue Exception Type: Xunit.Sdk.TrueException Message: Should not have any diagnostics Expected: True Actual: False at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertNoDiagnostics(ImmutableArray`1 diags, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 722 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertNoDiagnostics(VisualBasicCompilation compilation, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 705 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.OptionalWithNoDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 919 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.OptionalWithIUnknownConstantAndIDispatchConstant Exception Type: Xunit.Sdk.TrueException Message: Should not have any diagnostics Expected: True Actual: False at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertNoDiagnostics(ImmutableArray`1 diags, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 722 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertNoDiagnostics(VisualBasicCompilation compilation, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 705 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.OptionalWithIUnknownConstantAndIDispatchConstant() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 705 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestEventWithOptionalInteger Exception Type: Xunit.Sdk.TrueException Message: Expected: Diagnostic(ERRID.ERR_OptionalIllegal1, "Optional").WithArguments("Event") Actual: Diagnostic(ERRID.ERR_OptionalIllegal1, "Optional").WithArguments("Event").WithLocation(2, 21), Diagnostic(ERRID.ERR_OmittedArgument2, "RaiseEvent E()").WithArguments("I", "Public Event E(I As Integer)").WithLocation(5, 17) Diff: ++> Diagnostic(ERRID.ERR_OptionalIllegal1, "Optional").WithArguments("Event").WithLocation(2, 21), ++> Diagnostic(ERRID.ERR_OmittedArgument2, "RaiseEvent E()").WithArguments("I", "Public Event E(I As Integer)").WithLocation(5, 17) --> Diagnostic(ERRID.ERR_OptionalIllegal1, "Optional").WithArguments("Event") Expected: True Actual: False at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 91 at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 46 at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(ImmutableArray`1 actual, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 61 at Microsoft.CodeAnalysis.VisualBasic.DiagnosticsExtensions.VerifyDiagnostics(VisualBasicCompilation c, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\DiagnosticExtensions.vb:line 16 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestEventWithOptionalInteger() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 272 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_Decimal Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue._Closure$__46-0._Lambda$__1(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2515 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 124 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_Decimal() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2624 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_DateTime Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue._Closure$__47-0._Lambda$__1(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2677 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 124 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_DateTime() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2766 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_UserDefinedStruct Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue._Closure$__44-0._Lambda$__1(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2294 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 124 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_UserDefinedStruct() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2338 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestCallerFilePath2 Exception Type: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException Message: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException : Execution failed for assembly 'C:\Users\Adam\AppData\Local\Temp\'. Expected: 1: '/X/filename' 2: '/X/A/B/a/c/d.vb' 3: '*' 4: '/X/abc' 5: ' ' Actual: 1: '' 2: '' 3: '' 4: '' 5: '' at Microsoft.CodeAnalysis.Test.Utilities.HostedRuntimeEnvironment.Execute(String moduleName, String expectedOutput) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\HostedRuntimeEnvironment.cs:line 263 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompilationVerifier.Emit(String expectedOutput, IEnumerable`1 manifestResources, Boolean peVerify, SignatureDescription[] expectedSignatures) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.CompilationVerifier.cs:line 109 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Action`1 assemblyValidator, Action`1 symbolValidator, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 204 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 77 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.TestCallerFilePath2() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2089 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_PrimitiveStruct Exception Type: System.InvalidOperationException Message: System.InvalidOperationException : Operation is not valid due to the current state of the object. at Microsoft.CodeAnalysis.VisualBasic.Symbols.ParameterSymbol.get_ExplicitDefaultValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Portable\Symbols\ParameterSymbol.vb:line 152 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue._Closure$__43-0._Lambda$__1(ModuleSymbol module) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2182 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase._Closure$__2-0._Lambda$__0(IModuleSymbol m) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 26 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 124 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(XElement source, IEnumerable`1 allReferences, String expectedOutput, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, VisualBasicCompilationOptions options, VisualBasicParseOptions parseOptions, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 164 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests_ImplicitDefaultValue.IsOptionalVsHasDefaultValue_PrimitiveStruct() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests_Implicit.vb:line 2251 Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.ConversionsTests Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.ConversionsTests.ConvertReferenceTypeToIntrinsicValueType Exception Type: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException Message: Microsoft.CodeAnalysis.Test.Utilities.ExecutionException : Execution failed for assembly 'C:\Users\Adam\AppData\Local\Temp\'. Exception: System.InvalidCastException: Conversion from string "5/23/2016" to type 'Date' is not valid. at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(Object Value) at Module1.TestDate(IComparable value3) at Module1.Main() ---- System.InvalidCastException : Conversion from string "5/23/2016" to type 'Date' is not valid. at Microsoft.CodeAnalysis.Test.Utilities.HostedRuntimeEnvironment.Execute(String moduleName, Int32 expectedOutputLength, String& processOutput) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\HostedRuntimeEnvironment.cs:line 250 at Microsoft.CodeAnalysis.Test.Utilities.HostedRuntimeEnvironment.Execute(String moduleName, String expectedOutput) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\HostedRuntimeEnvironment.cs:line 257 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompilationVerifier.Emit(String expectedOutput, IEnumerable`1 manifestResources, Boolean peVerify, SignatureDescription[] expectedSignatures) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.CompilationVerifier.cs:line 109 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.Emit(Compilation compilation, IEnumerable`1 dependencies, IEnumerable`1 manifestResources, SignatureDescription[] expectedSignatures, String expectedOutput, Action`1 assemblyValidator, Action`1 symbolValidator, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 204 at Microsoft.CodeAnalysis.Test.Utilities.CommonTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 assemblyValidator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Desktop\CommonTestBase.cs:line 129 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.BasicTestBase.CompileAndVerify(Compilation compilation, IEnumerable`1 manifestResources, IEnumerable`1 dependencies, Action`1 sourceSymbolValidator, Action`1 validator, Action`1 symbolValidator, SignatureDescription[] expectedSignatures, String expectedOutput, Boolean verify) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\BasicTestBase.vb:line 77 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.ConversionsTests.ConvertReferenceTypeToIntrinsicValueType() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\Conversions.vb:line 4855 ----- Inner Stack Trace ----- at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(String Value) at Microsoft.VisualBasic.CompilerServices.Conversions.ToDate(Object Value) at Module1.TestDate(IComparable value3) at Module1.Main() Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests.Bug578129 Exception Type: Xunit.Sdk.TrueException Message: MISSING ERROR MESSAGES: BC30812: Optional parameters must specify a default value. ~ BC30451: 'A' is not declared. It may be inaccessible due to its protection level. ~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ UNEXPECTED ERROR MESSAGES: BC30213: Comma or ')' expected. ~~~~~~ ~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ Expected: True Actual: False at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertTheseDiagnostics(ImmutableArray`1 errors, String expectedText, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 885 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertTheseDiagnostics(ImmutableArray`1 errors, XElement errs, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 841 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.CompilationUtils.AssertTheseDiagnostics(Compilation compilation, XElement errs, Boolean suppressInfos) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\CompilationTestUtils.vb:line 819 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.Semantics.OptionalArgumentTests.Bug578129() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Semantic\Semantics\OptionalArgumentTests.vb:line 1085 Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30812ERR_ObsoleteOptionalWithoutValue Exception Type: Xunit.Sdk.TrueException Message: Tree was expected to contain errors. Expected: True Actual: False at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, DiagnosticDescription[] expectedDiagnostics, Boolean errorCodesOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 83 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 40 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 45 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30812ERR_ObsoleteOptionalWithoutValue() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Syntax\Parser\ParseErrorTests.vb:line 2542 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30200ERR_InvalidNewInType Exception Type: Xunit.Sdk.TrueException Message: Expected: Diagnostic(ERRID.ERR_InvalidNewInType), Diagnostic(ERRID.ERR_ExpectedExpression), Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue) Actual: Diagnostic(ERRID.ERR_InvalidNewInType, "").WithLocation(3, 65) Diff: ++> Diagnostic(ERRID.ERR_InvalidNewInType, "").WithLocation(3, 65) --> Diagnostic(ERRID.ERR_InvalidNewInType), --> Diagnostic(ERRID.ERR_ExpectedExpression), --> Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue) Expected: True Actual: False at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 84 at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyErrorCodes(IEnumerable`1 actual, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 31 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, DiagnosticDescription[] expectedDiagnostics, Boolean errorCodesOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 85 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 40 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 45 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(XCData code, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 18 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30200ERR_InvalidNewInType() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Syntax\Parser\ParseErrorTests.vb:line 1440 Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30642ERR_MultipleOptionalParameterSpecifiers Exception Type: Xunit.Sdk.TrueException Message: Expected: Diagnostic(ERRID.ERR_MultipleOptionalParameterSpecifiers), Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue), Diagnostic(ERRID.ERR_ExpectedExpression) Actual: Diagnostic(ERRID.ERR_MultipleOptionalParameterSpecifiers, "optional").WithLocation(4, 66) Diff: ++> Diagnostic(ERRID.ERR_MultipleOptionalParameterSpecifiers, "optional").WithLocation(4, 66) --> Diagnostic(ERRID.ERR_MultipleOptionalParameterSpecifiers), --> Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue), --> Diagnostic(ERRID.ERR_ExpectedExpression) Expected: True Actual: False at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 84 at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyErrorCodes(IEnumerable`1 actual, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 31 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, DiagnosticDescription[] expectedDiagnostics, Boolean errorCodesOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 85 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 40 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 45 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(XCData code, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 18 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseErrorTests.BC30642ERR_MultipleOptionalParameterSpecifiers() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Syntax\Parser\ParseErrorTests.vb:line 2216 Collection: Test collection for Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseMethods Test: Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseMethods.Bug862505_a Exception Type: Xunit.Sdk.TrueException Message: Expected: Diagnostic(ERRID.ERR_ExpectedExpression), Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue), Diagnostic(ERRID.ERR_UnrecognizedTypeKeyword) Actual: Diagnostic(ERRID.ERR_UnrecognizedTypeKeyword, "").WithLocation(3, 50) Diff: ++> Diagnostic(ERRID.ERR_UnrecognizedTypeKeyword, "").WithLocation(3, 50) --> Diagnostic(ERRID.ERR_ExpectedExpression), --> Diagnostic(ERRID.ERR_ObsoleteOptionalWithoutValue), --> Diagnostic(ERRID.ERR_UnrecognizedTypeKeyword) Expected: True Actual: False at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 84 at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyErrorCodes(IEnumerable`1 actual, DiagnosticDescription[] expected) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Test\Utilities\Shared\Diagnostics\DiagnosticExtensions.cs:line 31 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, DiagnosticDescription[] expectedDiagnostics, Boolean errorCodesOnly) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 85 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParserTestUtilities.ParseAndVerify(String source, VisualBasicParseOptions options, XElement expectedErrors) in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\Test\Utilities\VisualBasic\ParserTestUtilities.vb:line 40 at Microsoft.CodeAnalysis.VisualBasic.UnitTests.ParseMethods.Bug862505_a() in C:\Users\Adam\Source\Repos\roslyn-AdamSpeight2008\src\Compilers\VisualBasic\Test\Syntax\Parser\ParseMethods.vb:line 352 Failure Count: 18