65 references to TestExceptionUtilities
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
7768throw TestExceptionUtilities.UnexpectedValue(outputKind);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (4)
CodeGen\CodeGenDynamicTests.cs (3)
621throw TestExceptionUtilities.UnexpectedValue(container.Name); 708throw TestExceptionUtilities.UnexpectedValue(member.Kind); 856throw TestExceptionUtilities.UnexpectedValue(member.Name);
CodeGen\CodeGenLocalFunctionTests.cs (1)
5930_ => throw TestExceptionUtilities.UnexpectedValue(methodName)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (25)
Attributes\AttributeTests_Dynamic.cs (1)
1109throw TestExceptionUtilities.UnexpectedValue(attr.AttributeClass.Name);
Attributes\AttributeTests_StructLayout.cs (3)
382throw TestExceptionUtilities.UnexpectedValue(name); 430throw TestExceptionUtilities.UnexpectedValue(name); 674throw TestExceptionUtilities.UnexpectedValue(name);
Attributes\AttributeTests_Synthesized.cs (3)
332throw TestExceptionUtilities.UnexpectedValue(member.Name); 454throw TestExceptionUtilities.UnexpectedValue(member.Name); 509throw TestExceptionUtilities.UnexpectedValue(member.Name);
Attributes\AttributeTests_Tuples.cs (3)
912throw TestExceptionUtilities.UnexpectedValue(name); 1009throw TestExceptionUtilities.UnexpectedValue(name); 1033throw TestExceptionUtilities.UnexpectedValue(t.Name);
Attributes\AttributeTests_WellKnownAttributes.cs (15)
1123throw TestExceptionUtilities.UnexpectedValue(name); 1179throw TestExceptionUtilities.UnexpectedValue(completeName); 1208throw TestExceptionUtilities.UnexpectedValue(name); 2183throw TestExceptionUtilities.UnexpectedValue(name); 2349throw TestExceptionUtilities.UnexpectedValue(name); 2398throw TestExceptionUtilities.UnexpectedValue(name); 2661throw TestExceptionUtilities.UnexpectedValue(methodName); 2840throw TestExceptionUtilities.UnexpectedValue(entryPointName); 3097default: throw TestExceptionUtilities.UnexpectedValue(methodName); 3164default: throw TestExceptionUtilities.UnexpectedValue(methodName); 3327throw TestExceptionUtilities.UnexpectedValue(name); 3484throw TestExceptionUtilities.UnexpectedValue(name); 4730throw TestExceptionUtilities.UnexpectedValue(name); 4759throw TestExceptionUtilities.UnexpectedValue(name); 4844throw TestExceptionUtilities.UnexpectedValue(name);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IAttributeOperation.cs (1)
808_ => throw TestExceptionUtilities.UnexpectedValue(attributeTarget),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\TopLevelStatementsTests.cs (1)
6119_ => throw TestExceptionUtilities.UnexpectedValue(methodName)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\PartialPropertiesTests.cs (1)
858throw TestExceptionUtilities.UnexpectedValue(entryPointName);
Symbols\StaticAbstractMembersInInterfacesTests.cs (2)
10368throw TestExceptionUtilities.UnexpectedValue(op); 27781_ => throw TestExceptionUtilities.UnexpectedValue(op)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
155throw TestExceptionUtilities.UnexpectedValue(token.Kind);
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\CouldHaveMoreSpecificTypeAnalyzer.cs (1)
76throw TestExceptionUtilities.UnexpectedValue(operationContext.Operation);
Diagnostics\FieldCouldBeReadOnlyAnalyzer.cs (1)
64throw TestExceptionUtilities.UnexpectedValue(operationContext.Operation);
Diagnostics\LocalCouldBeConstAnalyzer.cs (1)
58throw TestExceptionUtilities.UnexpectedValue(operationContext.Operation);
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
CommandLineTests.vb (1)
6801Throw TestExceptionUtilities.UnexpectedValue(outputKind)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (22)
Attributes\AttributeTests_StructLayout.vb (2)
612Throw TestExceptionUtilities.UnexpectedValue(name) 781Throw TestExceptionUtilities.UnexpectedValue(name)
Attributes\AttributeTests_Synthesized.vb (3)
389Throw TestExceptionUtilities.UnexpectedValue(member.Name) 434Throw TestExceptionUtilities.UnexpectedValue(member.Name) 559Throw TestExceptionUtilities.UnexpectedValue(member.Name)
Attributes\AttributeTests_Tuples.vb (4)
747Throw TestExceptionUtilities.UnexpectedValue(name) 780Throw TestExceptionUtilities.UnexpectedValue(t.Name) 854Throw TestExceptionUtilities.UnexpectedValue(name) 885Throw TestExceptionUtilities.UnexpectedValue(t.Name)
Attributes\AttributeTests_WellKnownAttributes.vb (12)
1438Throw TestExceptionUtilities.UnexpectedValue(methodName) 2067Throw TestExceptionUtilities.UnexpectedValue(peReader.GetString(row.Name)) 2162Throw TestExceptionUtilities.UnexpectedValue(peReader.GetString(row.Name)) 2349Throw TestExceptionUtilities.UnexpectedValue(name) 2568Throw TestExceptionUtilities.UnexpectedValue(name) 2845Throw TestExceptionUtilities.UnexpectedValue(entryPointName) 2999Throw TestExceptionUtilities.UnexpectedValue(name) 3049Throw TestExceptionUtilities.UnexpectedValue(name) 3218Throw TestExceptionUtilities.UnexpectedValue(name) 3239Throw TestExceptionUtilities.UnexpectedValue(name) 3255Throw TestExceptionUtilities.UnexpectedValue(name) 3344Throw TestExceptionUtilities.UnexpectedValue(name)
Emit\CompilationEmitTests.vb (1)
2582Throw TestExceptionUtilities.UnexpectedValue(entry.ParentKind)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Semantics\FieldInitializerBindingTests.vb (1)
1565Throw TestExceptionUtilities.UnexpectedValue(boundFieldInit.MemberAccessExpressionOpt.Kind)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Source\ComClassTests.vb (1)
75Throw TestExceptionUtilities.UnexpectedValue(member.Kind)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (1)
IOperation\IOperationTests_IAttributeOperation.vb (1)
655Throw TestExceptionUtilities.UnexpectedValue(attributeTarget)