66 references to TestExceptionUtilities
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
7577throw 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.Emit2.UnitTests (25)
Attributes\AttributeTests_Dynamic.cs (1)
1112throw 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)
1122throw TestExceptionUtilities.UnexpectedValue(name); 1178throw TestExceptionUtilities.UnexpectedValue(completeName); 1207throw TestExceptionUtilities.UnexpectedValue(name); 2102throw TestExceptionUtilities.UnexpectedValue(name); 2268throw TestExceptionUtilities.UnexpectedValue(name); 2317throw TestExceptionUtilities.UnexpectedValue(name); 2580throw TestExceptionUtilities.UnexpectedValue(methodName); 2759throw TestExceptionUtilities.UnexpectedValue(entryPointName); 3016default: throw TestExceptionUtilities.UnexpectedValue(methodName); 3083default: throw TestExceptionUtilities.UnexpectedValue(methodName); 3246throw TestExceptionUtilities.UnexpectedValue(name); 3403throw TestExceptionUtilities.UnexpectedValue(name); 4649throw TestExceptionUtilities.UnexpectedValue(name); 4678throw TestExceptionUtilities.UnexpectedValue(name); 4759throw 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)
6107_ => throw TestExceptionUtilities.UnexpectedValue(methodName)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\StaticAbstractMembersInInterfacesTests.cs (2)
10368throw TestExceptionUtilities.UnexpectedValue(op); 27805_ => throw TestExceptionUtilities.UnexpectedValue(op)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
EmitMetadataTestBase.cs (1)
155throw TestExceptionUtilities.UnexpectedValue(token.Kind);
Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.UnitTests (2)
HoverTests.vb (2)
80Throw TestExceptionUtilities.UnexpectedValue(code) 158Throw TestExceptionUtilities.UnexpectedValue(code)
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)
6793Throw 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)
1171Throw TestExceptionUtilities.UnexpectedValue(methodName) 1800Throw TestExceptionUtilities.UnexpectedValue(peReader.GetString(row.Name)) 1895Throw TestExceptionUtilities.UnexpectedValue(peReader.GetString(row.Name)) 2082Throw TestExceptionUtilities.UnexpectedValue(name) 2301Throw TestExceptionUtilities.UnexpectedValue(name) 2578Throw TestExceptionUtilities.UnexpectedValue(entryPointName) 2732Throw TestExceptionUtilities.UnexpectedValue(name) 2782Throw TestExceptionUtilities.UnexpectedValue(name) 2951Throw TestExceptionUtilities.UnexpectedValue(name) 2972Throw TestExceptionUtilities.UnexpectedValue(name) 2988Throw TestExceptionUtilities.UnexpectedValue(name) 3077Throw TestExceptionUtilities.UnexpectedValue(name)
Emit\CompilationEmitTests.vb (1)
2581Throw 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)