6 instantiations of MethodBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (6)
Generated\Syntax.xml.Internal.Generated.vb (1)
4556
Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.
MethodBlockSyntax
(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (4)
2006
Return New
MethodBlockSyntax
(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newSubOrFunctionStatement, newStatements.Node, newEndSubOrFunctionStatement)
8303
Return New
MethodBlockSyntax
(SyntaxKind.SubBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement)
8364
Return New
MethodBlockSyntax
(SyntaxKind.FunctionBlock, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement)
8428
Return New
MethodBlockSyntax
(kind, Nothing, Nothing, subOrFunctionStatement, statements.Node, endSubOrFunctionStatement)
Generated\Syntax.xml.Syntax.Generated.vb (1)
5377
Me.
New
(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.MethodBlockSyntax(kind, errors, annotations, DirectCast(subOrFunctionStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.MethodStatementSyntax), if(statements IsNot Nothing, statements.Green, Nothing), DirectCast(endSubOrFunctionStatement.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.EndBlockStatementSyntax)), Nothing, 0)
772 references to MethodBlockSyntax
Microsoft.CodeAnalysis.VisualBasic (28)
Binding\Binder_Expressions.vb (1)
1095
Dim functionBlock = DirectCast(classBlock.Members(0),
MethodBlockSyntax
)
Binding\BinderFactory.BinderFactoryVisitor.vb (1)
221
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As Binder
Binding\LocalBinderBuilder.vb (1)
94
Public Overrides Sub VisitMethodBlock(node As
MethodBlockSyntax
)
Binding\MethodBodyBinder.vb (1)
60
Dim begin As MethodStatementSyntax = DirectCast(methodBlock,
MethodBlockSyntax
).SubOrFunctionStatement
Compilation\DocumentationComments\UnprocessedDocumentationCommentFinder.vb (1)
54
Public Overrides Sub VisitMethodBlock(node As
MethodBlockSyntax
)
Generated\Syntax.xml.Main.Generated.vb (11)
101
Public Overridable Function VisitMethodBlock(ByVal node As
MethodBlockSyntax
) As TResult
836
Public Overridable Sub VisitMethodBlock(ByVal node As
MethodBlockSyntax
)
1995
Public Overrides Function VisitMethodBlock(ByVal node As
MethodBlockSyntax
) As SyntaxNode
8284
Public Shared Function SubBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As
MethodBlockSyntax
8317
Public Shared Function SubBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax)) As
MethodBlockSyntax
8329
Public Shared Function SubBlock(subOrFunctionStatement As MethodStatementSyntax) As
MethodBlockSyntax
8347
Public Shared Function FunctionBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As
MethodBlockSyntax
8378
Public Shared Function FunctionBlock(subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax)) As
MethodBlockSyntax
8390
Public Shared Function FunctionBlock(subOrFunctionStatement As MethodStatementSyntax) As
MethodBlockSyntax
8412
Public Shared Function MethodBlock(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As
MethodBlockSyntax
8466
Public Shared Function MethodBlock(ByVal kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, endSubOrFunctionStatement As EndBlockStatementSyntax) As
MethodBlockSyntax
Generated\Syntax.xml.Syntax.Generated.vb (5)
5394
Public Shadows Function WithSubOrFunctionStatement(subOrFunctionStatement as MethodStatementSyntax) As
MethodBlockSyntax
5424
Public Shadows Function WithStatements(statements as SyntaxList(Of StatementSyntax)) As
MethodBlockSyntax
5428
Public Shadows Function AddStatements(ParamArray items As StatementSyntax()) As
MethodBlockSyntax
5450
Public Shadows Function WithEndSubOrFunctionStatement(endSubOrFunctionStatement as EndBlockStatementSyntax) As
MethodBlockSyntax
5505
Public Function Update(kind As SyntaxKind, subOrFunctionStatement As MethodStatementSyntax, statements As SyntaxList(of StatementSyntax), endSubOrFunctionStatement As EndBlockStatementSyntax) As
MethodBlockSyntax
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.vb (2)
197
Dim block As
MethodBlockSyntax
= TryCast(body.Syntax,
MethodBlockSyntax
)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
523
Dim methodSyntax As MethodStatementSyntax = DirectCast(syntax,
MethodBlockSyntax
).SubOrFunctionStatement
Semantics\StatementSyntaxWalker.vb (1)
76
Public Overrides Sub VisitMethodBlock(ByVal node As
MethodBlockSyntax
)
Syntax\MethodBlockBaseSyntax.vb (2)
210
Public Shadows Function WithBegin(begin As MethodStatementSyntax) As
MethodBlockSyntax
216
Public Shadows Function WithEnd([end] As EndBlockStatementSyntax) As
MethodBlockSyntax
Syntax\SyntaxNormalizer.vb (1)
928
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As SyntaxNode
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (11)
ElasticTriviaFormattingRule.vb (1)
303
If IsBeginStatement(Of MethodStatementSyntax,
MethodBlockSyntax
)(currentStatement) OrElse
StatementSyntaxExtensions.vb (5)
263
Dim methodBlock = DirectCast(member,
MethodBlockSyntax
)
333
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).Identifier
371
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).DeclarationKeyword
410
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).TypeParameterList
467
Return DirectCast(member,
MethodBlockSyntax
).SubOrFunctionStatement.AsClause
SyntaxNodeExtensions.vb (2)
612
Function(x As
MethodBlockSyntax
) x.WithStatements(statements),
1139
Return DirectCast(declaration,
MethodBlockSyntax
).BlockStatement.ParameterList
SyntaxTreeExtensions.vb (1)
168
Dim block = token.GetAncestor(Of
MethodBlockSyntax
)
VisualBasicAccessibilityFacts.vb (1)
132
Return DirectCast(declaration,
MethodBlockSyntax
).BlockStatement.Modifiers
VisualBasicSyntaxFacts.vb (1)
786
TypeOf node Is
MethodBlockSyntax
OrElse
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (13)
VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (4)
53
Private Shared Async Function GetMethodFromExpressionAsync(oldNode As SyntaxNode, semanticModel As SemanticModel, cancellationToken As CancellationToken) As Task(Of Tuple(Of SyntaxNode,
MethodBlockSyntax
))
79
Dim methodBlock = methodDeclaration.GetAncestor(Of
MethodBlockSyntax
)
87
Private Shared Function ConvertToAsyncFunction(methodBlock As
MethodBlockSyntax
) As
MethodBlockSyntax
VisualBasicMakeMethodAsynchronousCodeFixProvider.vb (4)
76
Return FixSubBlock(keepVoid, DirectCast(node,
MethodBlockSyntax
), knownTypes.TaskType)
79
methodSymbolOpt, DirectCast(node,
MethodBlockSyntax
), knownTypes)
83
Private Shared Function FixFunctionBlock(methodSymbol As IMethodSymbol, node As
MethodBlockSyntax
, knownTypes As KnownTypes) As SyntaxNode
98
keepVoid As Boolean, node As
MethodBlockSyntax
, taskType As INamedTypeSymbol) As SyntaxNode
VisualBasicMakeMethodSynchronousCodeFixProvider.vb (4)
48
Return FixSubBlock(DirectCast(node,
MethodBlockSyntax
))
50
Return FixFunctionBlock(methodSymbolOpt, DirectCast(node,
MethodBlockSyntax
), knownTypes)
54
Private Shared Function FixFunctionBlock(methodSymbol As IMethodSymbol, node As
MethodBlockSyntax
, knownTypes As KnownTypes) As SyntaxNode
91
Private Shared Function FixSubBlock(node As
MethodBlockSyntax
) As SyntaxNode
VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
35
Dim methodBlock = TryCast(methodLikeNode,
MethodBlockSyntax
)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
EndConstructGeneration\EndConstructStatementVisitor.vb (1)
132
Dim blockToClose = node.GetAncestor(Of
MethodBlockSyntax
)()
LineCommit\ContainingStatementInfo.MatchingStatementsVisitor.vb (1)
21
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As IList(Of StatementSyntax)
Utilities\LineAdjustmentFormattingRule.vb (1)
33
Not DirectCast(current.Parent.Parent,
MethodBlockSyntax
).Statements.Any() Then
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (6)
EditAndContinue\StatementMatchingTests.vb (2)
1328
Dim m1 = DirectCast(MakeMethodBody(src1),
MethodBlockSyntax
)
1329
Dim m2 = DirectCast(MakeMethodBody(src2),
MethodBlockSyntax
)
Extensions\StatementSyntaxExtensionTests.vb (1)
163
Dim node = SyntaxFactory.ParseCompilationUnit(code).DescendantNodes.OfType(Of
MethodBlockSyntax
).First()
SymbolId\SymbolKeyTestBase.vb (3)
254
Dim body = TryCast(n.Parent,
MethodBlockSyntax
)
287
Private Shared Sub GetLabelSymbols(body As
MethodBlockSyntax
, model As SemanticModel, list As List(Of ISymbol))
297
Private Shared Sub GetAnonymousTypeAndFuncSymbols(body As
MethodBlockSyntax
, model As SemanticModel, list As List(Of ISymbol))
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
CodeGen\CodeGenNullable.vb (3)
6662
Dim testMethod = tree1.GetRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().Where(Function(block) block.SubOrFunctionStatement.Identifier.ValueText = "Test").Single()
6669
Dim newBlocks = ArrayBuilder(Of
MethodBlockSyntax
).GetInstance(batchSize)
6685
Dim oldBlock = newRoot.DescendantNodes().OfType(Of
MethodBlockSyntax
)().Where(Function(block) block.SubOrFunctionStatement.Identifier.ValueText = "Test").Single()
Microsoft.CodeAnalysis.VisualBasic.Features (23)
ChangeSignature\VisualBasicChangeSignatureService.vb (2)
217
Return semanticModel.GetDeclaredSymbol(DirectCast(matchingNode,
MethodBlockSyntax
).BlockStatement, cancellationToken)
219
Return semanticModel.GetDeclaredSymbol(DirectCast(matchingNode,
MethodBlockSyntax
).BlockStatement, cancellationToken)
CodeRefactorings\InlineMethod\VisualBasicInlineMethodRefactoringProvider.vb (2)
18
Inherits AbstractInlineMethodRefactoringProvider(Of
MethodBlockSyntax
, ExecutableStatementSyntax, ExpressionSyntax, InvocationExpressionSyntax)
26
Protected Overrides Function GetRawInlineExpression(methodBlock As
MethodBlockSyntax
) As ExpressionSyntax
Completion\KeywordRecommenders\Declarations\EndBlockKeywordRecommender.vb (1)
166
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As SyntaxKind?
Debugging\VisualBasicBreakpointService.vb (1)
54
OfType(Of
MethodBlockSyntax
).Skip(1).LastOrDefault()
EditAndContinue\SyntaxComparer.vb (1)
1235
Return DirectCast(node,
MethodBlockSyntax
).SubOrFunctionStatement.Identifier
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.CallSiteContainerRewriter.vb (1)
98
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As SyntaxNode
InheritanceMargin\VisualBasicInheritanceMarginService.vb (1)
36
Dim methodBlockNode = TryCast(member,
MethodBlockSyntax
)
Structure\Providers\MethodDeclarationStructureProvider.vb (1)
21
Dim block = TryCast(methodDeclaration.Parent,
MethodBlockSyntax
)
VisualBasicConvertToAsyncFunctionCodeFixProvider.vb (4)
53
Private Shared Async Function GetMethodFromExpressionAsync(oldNode As SyntaxNode, semanticModel As SemanticModel, cancellationToken As CancellationToken) As Task(Of Tuple(Of SyntaxNode,
MethodBlockSyntax
))
79
Dim methodBlock = methodDeclaration.GetAncestor(Of
MethodBlockSyntax
)
87
Private Shared Function ConvertToAsyncFunction(methodBlock As
MethodBlockSyntax
) As
MethodBlockSyntax
VisualBasicMakeMethodAsynchronousCodeFixProvider.vb (4)
76
Return FixSubBlock(keepVoid, DirectCast(node,
MethodBlockSyntax
), knownTypes.TaskType)
79
methodSymbolOpt, DirectCast(node,
MethodBlockSyntax
), knownTypes)
83
Private Shared Function FixFunctionBlock(methodSymbol As IMethodSymbol, node As
MethodBlockSyntax
, knownTypes As KnownTypes) As SyntaxNode
98
keepVoid As Boolean, node As
MethodBlockSyntax
, taskType As INamedTypeSymbol) As SyntaxNode
VisualBasicMakeMethodSynchronousCodeFixProvider.vb (4)
48
Return FixSubBlock(DirectCast(node,
MethodBlockSyntax
))
50
Return FixFunctionBlock(methodSymbolOpt, DirectCast(node,
MethodBlockSyntax
), knownTypes)
54
Private Shared Function FixFunctionBlock(methodSymbol As IMethodSymbol, node As
MethodBlockSyntax
, knownTypes As KnownTypes) As SyntaxNode
91
Private Shared Function FixSubBlock(node As
MethodBlockSyntax
) As SyntaxNode
VisualBasicRemoveAsyncModifierCodeFixProvider.vb (1)
35
Dim methodBlock = TryCast(methodLikeNode,
MethodBlockSyntax
)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (36)
Binding\BindingCollectionInitializerTests.vb (1)
549
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
Binding\BindingObjectInitializerTests.vb (1)
925
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
Compilation\SemanticModelAPITests.vb (17)
590
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
753
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
815
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
881
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
932
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
967
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1002
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1120
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1163
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1419
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1578
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1657
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1693
Dim methodBlock = DirectCast(typeBlock.Members(0),
MethodBlockSyntax
)
1980
Dim methodBlockSyntax = DirectCast(typeBlockSyntax.Members(0),
MethodBlockSyntax
)
2015
Dim methodBlockSyntax = DirectCast(typeBlockSyntax.Members(0),
MethodBlockSyntax
)
2447
Dim v2 = TryCast(v1.Members(0),
MethodBlockSyntax
)
2574
Dim v2 = TryCast(v1.Members(0),
MethodBlockSyntax
)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (3)
433
Dim methodBlocks = c1Syntax.DescendantNodes().OfType(Of
MethodBlockSyntax
)()
1705
Assert.Same(fSymbol2, model.GetDeclaredSymbol(DirectCast(tree.FindNodeOrTokenByKind(SyntaxKind.FunctionBlock, 1).AsNode(),
MethodBlockSyntax
)))
1707
Assert.Same(sSymbol, model.GetDeclaredSymbol(DirectCast(tree.FindNodeOrTokenByKind(SyntaxKind.SubBlock, 1).AsNode(),
MethodBlockSyntax
)))
Extensions.vb (1)
38
TypeOf node Is
MethodBlockSyntax
OrElse
Semantics\AnonymousTypesTests.vb (2)
191
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
801
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics, references:=XmlReferences)
Semantics\ConditionalAccessTests.vb (2)
3083
VerifyOperationTreeForTest(Of
MethodBlockSyntax
)(compilation, "a.vb", expectedOperationTree:="
9975
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedFlowGraph:=<![CDATA[
Semantics\PartialMethodsTest.vb (9)
71
Dim pMethod01 = tree1.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
72
Dim pMethod02 = tree2.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
151
Dim pMethod01 = tree1.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
152
Dim pMethod02 = tree2.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
233
Dim pMethod01 = tree1.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
234
Dim pMethod02 = tree2.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
369
Dim pMethod01 = tree1.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
370
Dim pMethod02 = tree2.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
371
Dim pMethod03 = tree3.GetCompilationUnitRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
)().First()
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (2)
SymbolsTests\AnonymousTypes\AnonymousTypesSemanticsTests.vb (2)
1855
Dim mainBlock = DirectCast(mainSyntax.Parent,
MethodBlockSyntax
)
1905
Dim mainBlock = DirectCast(mainSyntax.Parent,
MethodBlockSyntax
)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (8)
Generated\Syntax.Test.xml.Generated.vb (2)
10608
Private Shared Function GenerateRedSubBlock() As
MethodBlockSyntax
10629
Private Shared Function GenerateRedFunctionBlock() As
MethodBlockSyntax
Parser\ParseExpression.vb (1)
1158
Dim main = DirectCast(module1.Members(0),
MethodBlockSyntax
)
Parser\ParseStatements.vb (5)
363
Dim subMain = TryCast(moduleM.ChildNodesAndTokens()(1).AsNode,
MethodBlockSyntax
)
578
Dim subMain = TryCast(moduleM.ChildNodesAndTokens()(1).AsNode,
MethodBlockSyntax
)
2183
CType(CType(CType(compilation.Members(0), TypeBlockSyntax).Members(0),
MethodBlockSyntax
).Statements(0), MultiLineIfBlockSyntax)
2222
CType(CType(CType(compilation.Members(0), TypeBlockSyntax).Members(0),
MethodBlockSyntax
).Statements(0), MultiLineIfBlockSyntax)
2257
CType(CType(CType(compilation.Members(0), TypeBlockSyntax).Members(0),
MethodBlockSyntax
).Statements(0), SingleLineIfStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (39)
CodeGeneration\VisualBasicCodeGenerationService.vb (2)
263
result = DirectCast(methodBlock,
MethodBlockSyntax
).WithBlockStatement(DirectCast(finalStatement, MethodStatementSyntax))
475
result = DirectCast(methodBlock,
MethodBlockSyntax
).WithStatements(SyntaxFactory.List(allStatements))
CodeGeneration\VisualBasicSyntaxGenerator.vb (21)
1224
Return DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.ImplementsClause
1241
Dim mb = DirectCast(declaration,
MethodBlockSyntax
)
1466
Return AsInterfaceMember(DirectCast(node,
MethodBlockSyntax
).BlockStatement)
1797
Dim fb = DirectCast(declaration,
MethodBlockSyntax
)
1849
Return DirectCast(node,
MethodBlockSyntax
).WithSubOrFunctionStatement(DirectCast(node,
MethodBlockSyntax
).SubOrFunctionStatement.WithAttributeLists(arg))
2102
Return DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.Identifier.ValueText
2187
Return ReplaceWithTrivia(declaration, DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.Identifier, id)
2296
Return DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.AsClause
2341
Return DirectCast(declaration,
MethodBlockSyntax
).WithSubOrFunctionStatement(DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.WithAsClause(DirectCast(asClause, SimpleAsClauseSyntax)))
2373
Dim sb = DirectCast(declaration,
MethodBlockSyntax
)
2458
Dim mb = DirectCast(declaration,
MethodBlockSyntax
)
2602
Return DirectCast(declaration,
MethodBlockSyntax
).WithSubOrFunctionStatement(DirectCast(declaration,
MethodBlockSyntax
).SubOrFunctionStatement.WithModifiers(tokens))
2818
Dim methodBlock = TryCast(declaration,
MethodBlockSyntax
)
2854
ElseIf TypeOf declaration Is
MethodBlockSyntax
Then
2855
Dim methodBlock = DirectCast(declaration,
MethodBlockSyntax
)
2966
Return DirectCast(declaration,
MethodBlockSyntax
).WithBlockStatement(DirectCast(declaration,
MethodBlockSyntax
).BlockStatement.WithParameterList(list))
3258
Return DirectCast(declaration,
MethodBlockSyntax
).WithStatements(list)
Formatting\Rules\ElasticTriviaFormattingRule.vb (1)
303
If IsBeginStatement(Of MethodStatementSyntax,
MethodBlockSyntax
)(currentStatement) OrElse
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Extensions\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
168
Dim block = token.GetAncestor(Of
MethodBlockSyntax
)
Rename\LocalConflictVisitor.vb (1)
42
Public Overrides Sub VisitMethodBlock(node As
MethodBlockSyntax
)
Rename\VisualBasicRenameRewriterLanguageService.vb (1)
721
methodBase = token.GetAncestor(Of
MethodBlockSyntax
)
Simplification\Reducers\AbstractVisualBasicReducer.AbstractReductionRewriter.vb (1)
195
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As SyntaxNode
Simplification\VisualBasicSimplificationService.NodesAndTokensToReduceComputer.vb (2)
123
Public Overrides Function VisitMethodBlock(node As
MethodBlockSyntax
) As SyntaxNode
126
Return DirectCast(n,
MethodBlockSyntax
).Update(node.Kind, DirectCast(b, MethodStatementSyntax), s, e)
StatementSyntaxExtensions.vb (5)
263
Dim methodBlock = DirectCast(member,
MethodBlockSyntax
)
333
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).Identifier
371
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).DeclarationKeyword
410
Return DirectCast(DirectCast(member,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax).TypeParameterList
467
Return DirectCast(member,
MethodBlockSyntax
).SubOrFunctionStatement.AsClause
SyntaxNodeExtensions.vb (2)
612
Function(x As
MethodBlockSyntax
) x.WithStatements(statements),
1139
Return DirectCast(declaration,
MethodBlockSyntax
).BlockStatement.ParameterList
VisualBasicAccessibilityFacts.vb (1)
132
Return DirectCast(declaration,
MethodBlockSyntax
).BlockStatement.Modifiers
VisualBasicSyntaxFacts.vb (1)
786
TypeOf node Is
MethodBlockSyntax
OrElse
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (25)
CodeGeneration\SyntaxGeneratorTests.vb (25)
846
VerifySyntax(Of
MethodBlockSyntax
)(
851
VerifySyntax(Of
MethodBlockSyntax
)(
856
VerifySyntax(Of
MethodBlockSyntax
)(
861
VerifySyntax(Of
MethodBlockSyntax
)(
867
VerifySyntax(Of
MethodBlockSyntax
)(
872
VerifySyntax(Of
MethodBlockSyntax
)(
877
VerifySyntax(Of
MethodBlockSyntax
)(
886
VerifySyntax(Of
MethodBlockSyntax
)(
897
VerifySyntax(Of
MethodBlockSyntax
)(
904
VerifySyntax(Of
MethodBlockSyntax
)(
1093
VerifySyntax(Of
MethodBlockSyntax
)(
1866
VerifySyntax(Of
MethodBlockSyntax
)(
1879
VerifySyntax(Of
MethodBlockSyntax
)(
1892
VerifySyntax(Of
MethodBlockSyntax
)(
1906
VerifySyntax(Of
MethodBlockSyntax
)(
1945
VerifySyntax(Of
MethodBlockSyntax
)(
1959
VerifySyntax(Of
MethodBlockSyntax
)(
1973
VerifySyntax(Of
MethodBlockSyntax
)(
1987
VerifySyntax(Of
MethodBlockSyntax
)(
2144
VerifySyntax(Of
MethodBlockSyntax
)(
2152
VerifySyntax(Of
MethodBlockSyntax
)(
2361
VerifySyntax(Of
MethodBlockSyntax
)(Generator.Declaration(method),
2429
VerifySyntax(Of
MethodBlockSyntax
)(Generator.Declaration(method),
2762
VerifySyntax(Of
MethodBlockSyntax
)(
2767
VerifySyntax(Of
MethodBlockSyntax
)(
Microsoft.VisualStudio.LanguageServices.VisualBasic (12)
CodeModel\VisualBasicCodeModelService.NodeNameGenerator.vb (1)
170
Dim methodBlock = DirectCast(node,
MethodBlockSyntax
)
CodeModel\VisualBasicCodeModelService.vb (9)
146
Return node.FirstAncestorOrSelf(Of
MethodBlockSyntax
)() Is Nothing
191
node.FirstAncestorOrSelf(Of
MethodBlockSyntax
)() Is Nothing Then
903
Dim methodBlock = DirectCast(node,
MethodBlockSyntax
)
3247
Private Shared Function SetMethodType(methodBlock As
MethodBlockSyntax
, typeSymbol As ITypeSymbol) As
MethodBlockSyntax
3449
If TypeOf node Is
MethodBlockSyntax
Then
3450
Return SetMethodType(DirectCast(node,
MethodBlockSyntax
), typeSymbol)
3888
Return DirectCast(method,
MethodBlockSyntax
).WithBlockStatement(methodStatement.WithAttributeLists(attributeLists))
3961
Return DirectCast(methodBlock,
MethodBlockSyntax
).WithBlockStatement(DirectCast(methodStatement, MethodStatementSyntax))
Venus\ContainedLanguageStaticEventBinding.vb (1)
140
Return DirectCast(DirectCast(node,
MethodBlockSyntax
).BlockStatement, MethodStatementSyntax)
Venus\VisualBasicContainedLanguage.vb (1)
196
Dim method = TryCast(node,
MethodBlockSyntax
)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (563)
IOperation\IOperationTests_ArrayCreationAndInitializer.vb (15)
1591
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1699
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1817
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1929
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2051
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2222
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2334
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2461
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2577
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2708
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2842
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2996
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3165
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3369
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3641
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IAnonymousFunctionOperation.vb (5)
151
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
244
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
367
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
526
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
709
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IAnonymousObjectCreationOperation.vb (17)
89
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
177
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
261
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
389
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
494
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
616
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
731
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
818
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
867
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
957
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1030
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1111
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1189
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1308
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1427
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1584
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1822
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IArrayElementReferenceExpression.vb (6)
871
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
966
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1073
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1180
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1325
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1505
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IBinaryOperatorExpression.vb (66)
606
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1000
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(compilation, fileName, expectedOperationTree, expectedDiagnostics)
1158
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1302
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1449
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(compilation, fileName, expectedOperationTree, expectedDiagnostics)
1845
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1947
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
2056
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2169
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2320
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2469
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2582
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2695
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2808
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
2921
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
3046
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
3159
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
3273
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3375
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3477
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3579
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3681
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3783
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3885
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3984
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4083
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4185
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4287
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4389
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4488
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4587
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4686
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4802
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
4918
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5084
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5250
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5363
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5476
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5621
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5776
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5828
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
5954
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6064
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6138
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6263
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6376
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6498
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6619
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6744
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6863
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
6988
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7101
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7224
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7345
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7474
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7587
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7673
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7759
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
7894
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
8024
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
8114
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
8204
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
8278
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8367
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8456
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8545
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IBlockStatement_MethodBlocks.vb (2)
48
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
136
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
IOperation\IOperationTests_IBranchOperation.vb (44)
78
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, "")
103
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
142
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
199
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
274
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
319
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
355
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
412
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
487
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
532
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
568
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
635
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
711
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
747
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
795
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
831
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
954
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1006
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1079
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1149
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1202
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1281
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1373
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1439
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1488
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1566
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1638
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1733
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1836
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1875
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1903
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1972
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2042
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2114
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2187
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2262
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2341
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2387
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2433
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2480
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2558
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2617
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2676
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2741
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ICoalesceOperation.vb (12)
127
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
247
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
367
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
484
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
611
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
731
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
848
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
965
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1082
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1202
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1315
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1474
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
IOperation\IOperationTests_ICompoundAssignmentOperation.vb (9)
532
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
632
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
732
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
836
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
936
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1040
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1144
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1244
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1344
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IConditionalAccessExpression.vb (8)
209
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
314
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
419
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
602
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
720
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(comp, expectedFlowGraph, expectedDiagnostics)
825
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(comp, expectedFlowGraph, expectedDiagnostics)
932
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(comp, expectedFlowGraph, expectedDiagnostics)
1097
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(comp, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IConversionExpression.vb (2)
3265
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3342
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IDelegateCreationExpression.vb (2)
4638
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4739
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IDynamicInvocationExpression.vb (9)
582
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
677
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
764
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
850
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
948
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1050
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1195
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1309
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1436
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IDynamicMemberReferenceExpression.vb (3)
494
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
589
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
685
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IEndOperation.vb (10)
38
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
91
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
149
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
192
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
228
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
286
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
334
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
382
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
431
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
487
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
IOperation\IOperationTests_IEventAssignmentExpression.vb (11)
348
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
435
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
482
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
579
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
666
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
792
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
929
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1033
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1113
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1161
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1257
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IEventReferenceOperation.vb (3)
198
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
286
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
348
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IFieldReferenceExpression.vb (3)
350
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
446
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
506
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IForEachLoopStatement.vb (19)
1370
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1515
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1606
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1711
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1839
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1958
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2086
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2179
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2318
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2442
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2533
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2647
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2761
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2888
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3015
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3120
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3221
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, useLatestFramework:=True)
3340
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3452
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IForLoopStatement.vb (39)
1635
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1735
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithOverflowChecks(False))
1837
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1953
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2092
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2195
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2314
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2419
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2659
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2770
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2932
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3059
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3302
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3636
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithOverflowChecks(False))
3972
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4341
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4736
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5312
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5418
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithOverflowChecks(False))
5537
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseDll.WithOverflowChecks(False))
5656
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5775
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5891
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6007
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6167
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6343
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6517
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6686
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7102
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7530
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7635
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7736
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8107
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8424
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8558
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8696
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8838
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8912
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(compilation, expectedFlowGraph, expectedDiagnostics)
9150
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(compilation, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IIfStatement.vb (3)
1113
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1180
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1230
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IInterpolatedStringExpression.vb (11)
465
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
507
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
588
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
676
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
793
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
874
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
970
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1081
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1192
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1251
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1310
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IInvocationOperation.vb (8)
195
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
283
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
352
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
432
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
520
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
608
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
700
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
760
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ILabelStatement.vb (1)
52
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
IOperation\IOperationTests_ILiteralOperation.vb (1)
47
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ILockStatement.vb (1)
469
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IMethodReferenceOperation.vb (3)
91
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
192
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
259
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_INameOfOperation.vb (3)
56
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
99
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
166
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_INoneOperation.vb (3)
51
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
140
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
220
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_INoPiaObjectCreationOperation.vb (4)
262
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, additionalReferences:={piaCompilation.EmitToImageReference(embedInteropTypes:=True)})
351
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, additionalReferences:={piaCompilation.EmitToImageReference(embedInteropTypes:=True)})
417
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, additionalReferences:={piaCompilation.EmitToImageReference(embedInteropTypes:=True)})
558
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, additionalReferences:={piaCompilation.EmitToImageReference(embedInteropTypes:=True)})
IOperation\IOperationTests_InvalidExpression.vb (4)
565
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
676
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
783
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
913
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_InvalidStatement.vb (1)
579
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IObjectCreationExpression.vb (22)
216
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1366
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1446
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1530
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1618
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1695
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1811
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1914
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2078
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2153
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2276
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2481
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2580
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2725
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2937
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3033
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3181
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3342
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3429
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3505
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3648
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3776
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IOmittedArgumentOperation.vb (5)
33
Dim method = syntaxTree.GetRoot().DescendantNodes().OfType(Of
MethodBlockSyntax
).First()
97
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
197
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
241
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
341
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IParameterReferenceExpression.vb (2)
853
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1021
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IParenthesizedExpression.vb (4)
502
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
577
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
654
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
745
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IPropertyReferenceExpression.vb (6)
272
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
377
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
438
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
554
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
674
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
867
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IRaiseEventStatement.vb (5)
420
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
464
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
570
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
676
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
817
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IReDimOperation.vb (14)
698
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
791
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
896
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1005
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1163
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1367
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1483
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1599
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1770
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1848
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1977
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2116
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2255
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2360
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IReturnStatement.vb (5)
151
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
189
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
235
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
276
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
314
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IStopOperation.vb (1)
40
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ISwitchOperation.vb (108)
137
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
220
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
299
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
364
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
469
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
539
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
605
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
681
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
788
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
865
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
962
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1031
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1125
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1227
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1322
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1419
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1520
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
1592
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1658
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1724
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1808
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1885
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1958
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2031
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2104
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2173
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2316
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2388
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2463
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2619
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2718
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2776
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2821
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2921
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3037
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3121
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3186
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3291
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3367
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3436
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3530
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
3632
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
3727
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
3824
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
3925
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
3991
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4057
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4141
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4218
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4291
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4364
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4437
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4506
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4649
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4721
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4796
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
4952
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5051
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5167
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5232
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5337
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5413
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5482
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
5576
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
5678
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
5773
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
5869
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
5970
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
6036
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6102
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6186
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6263
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6336
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6409
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6482
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6551
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6694
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6766
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6841
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
6994
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7093
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7209
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7286
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7414
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7513
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7598
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
7771
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
7933
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
8046
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
8155
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
8318
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
8436
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
8514
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8592
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8699
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8792
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
8920
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9048
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9176
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9296
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9498
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9735
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
9888
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
10041
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
10324
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
10478
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
10651
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
10740
VerifyFlowGraphForTest(Of
MethodBlockSyntax
)(compilation, expectedGraph)
IOperation\IOperationTests_ITranslatedQueryOperation.vb (4)
193
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
350
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
424
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
552
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedGraph, expectedDiagnostics)
IOperation\IOperationTests_ITupleExpression.vb (4)
895
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
977
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1062
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1132
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ITypeOfExpression.vb (3)
195
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
237
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
333
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_ITypeParameterObjectCreation.vb (4)
250
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
364
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
441
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
521
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IUnaryOperatorExpression.vb (2)
2251
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2289
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IUsingStatement.vb (4)
1150
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1236
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1328
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1416
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(compilation, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IVariableDeclaration.vb (17)
2849
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2895
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
2962
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3010
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3058
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3122
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3190
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3241
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3306
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3369
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3421
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3503
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3558
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3658
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3710
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3798
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
3896
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IWhileUntilLoopStatement.vb (11)
1583
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source1, expectedFlowGraph, expectedDiagnostics)
1584
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source2, expectedFlowGraph, expectedDiagnostics)
1621
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1658
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1704
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1741
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1778
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1820
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1862
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1901
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1950
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_IWithStatement.vb (9)
115
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
220
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
289
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
337
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
501
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
590
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
677
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
756
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
820
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
IOperation\IOperationTests_TryCatch.vb (5)
141
VerifyOperationTreeAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedOperationTree, expectedDiagnostics)
1273
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics, TestOptions.ReleaseExe)
1389
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1432
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)
1498
VerifyFlowGraphAndDiagnosticsForTest(Of
MethodBlockSyntax
)(source, expectedFlowGraph, expectedDiagnostics)