29 references to IsConst
Microsoft.CodeAnalysis.VisualBasic (29)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
199If local.IsConst Then 284If value IsNot Nothing AndAlso (local IsNot Nothing AndAlso Not local.IsConst AndAlso local.Type.IsReferenceType OrElse value.HasErrors) Then
Analysis\FlowAnalysis\ReadWriteWalker.vb (1)
161If Not local.IsConst AndAlso Me._currentMethodOrLambda <> local.ContainingSymbol Then
Analysis\IteratorAndAsyncAnalysis\IteratorAndAsyncCaptureWalker.vb (2)
103If local.IsConst Then 200If Not DirectCast(symbol, LocalSymbol).IsConst Then
Binding\Binder_Expressions.vb (2)
3044If localSymbol.IsConst AndAlso localSymbol.ConstHasType Then 3053If localSymbol.IsConst Then
Binding\Binder_Statements.vb (8)
1184If symbol.IsConst Then 1194If declarationInitializer IsNot Nothing AndAlso Not symbol.IsConst Then 1202If symbol.IsConst Then 1263If symbol.IsConst Then 1365If hasExplicitType AndAlso Not (symbol.IsConst AndAlso type.SpecialType = SpecialType.System_Object) Then 1374If OptionInfer AndAlso Not symbol.IsStatic AndAlso Not symbol.IsConst Then 1431ElseIf symbol.IsConst Then 1444Debug.Assert(Not symbol.IsConst AndAlso Not symbol.IsStatic AndAlso Not OptionInfer)
Binding\Binder_Utils.vb (1)
1304If Not local.IsConst Then
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
410If local.IsConst Then
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
53If Not localSymbol.IsConst Then
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (2)
90Debug.Assert(Not localSymbol.IsConst) 182If local.IsConst Then
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
181If local.IsConst Then
Symbols\Source\LocalSymbol.vb (8)
135Debug.Assert(Me.IsConst) 146Return IsUsing OrElse IsConst 270Return Not IsConst AndAlso Not IsCatch 346If Not Me.IsConst Then 356If Not Me.IsConst Then 409Return Me.IsConst 868If IsConst Then 905If IsConst AndAlso _evaluatedConstant Is Nothing Then