44 references to On
Microsoft.CodeAnalysis.VisualBasic (44)
Binding\Binder_Conversions.vb (3)
522If OptionStrict = VisualBasic.OptionStrict.On Then 540If OptionStrict = VisualBasic.OptionStrict.On Then 993If isExplicit OrElse OptionStrict <> VisualBasic.OptionStrict.On OrElse Conversions.IsWideningConversion(convKind) Then
Binding\Binder_Delegates.vb (1)
993If Me.OptionStrict = OptionStrict.On AndAlso Conversions.IsNarrowingConversion(delegateResolutionResult.DelegateConversions) Then
Binding\Binder_Expressions.vb (4)
1616Case VisualBasic.OptionStrict.On 2196If OptionStrict = VisualBasic.OptionStrict.On Then 2206If OptionStrict = VisualBasic.OptionStrict.On Then 4681If OptionStrict = OptionStrict.On Then
Binding\Binder_Initializers.vb (1)
173initializerBinder.OptionStrict <> VisualBasic.OptionStrict.On AndAlso
Binding\Binder_Invocation.vb (3)
758Debug.Assert(OptionStrict <> VisualBasic.OptionStrict.On) 2505If OptionStrict = VisualBasic.OptionStrict.On Then 2573If OptionStrict = VisualBasic.OptionStrict.On Then
Binding\Binder_Lambda.vb (2)
652If OptionStrict = OptionStrict.On Then 967If OptionStrict = OptionStrict.On Then
Binding\Binder_Latebound.vb (2)
39If OptionStrict = VisualBasic.OptionStrict.On Then 143If OptionStrict = VisualBasic.OptionStrict.On Then
Binding\Binder_Operators.vb (2)
411If OptionStrict = VisualBasic.OptionStrict.On Then 1208If OptionStrict = VisualBasic.OptionStrict.On Then
Binding\Binder_Statements.vb (7)
1307If OptionStrict = OptionStrict.On Then 1315If OptionStrict = OptionStrict.On Then 1439ElseIf Not symbol.IsStatic AndAlso OptionStrict <> OptionStrict.On AndAlso 3812If ((collection.IsNothingLiteral OrElse collectionType.IsObjectType) AndAlso Me.OptionStrict <> OptionStrict.On) OrElse 3828Debug.Assert(collectionType IsNot Nothing OrElse collection.IsNothingLiteral AndAlso Me.OptionStrict = OptionStrict.On) 4008Debug.Assert(collectionType IsNot Nothing OrElse OptionStrict <> OptionStrict.On AndAlso collection.Kind = BoundKind.Conversion AndAlso DirectCast(collection, BoundConversion).Operand.IsNothingLiteral) 4612(resourceType.IsObjectType() AndAlso OptionStrict <> OptionStrict.On) Then
Binding\Binder_XmlLiterals.vb (1)
180If argument.Type.IsObjectType AndAlso OptionStrict <> VisualBasic.OptionStrict.On Then
Binding\SourceFileBinder.vb (1)
44Return If(_sourceFile.OptionStrict.Value, OptionStrict.On, OptionStrict.Off)
CommandLine\VisualBasicCommandLineParser.vb (2)
256optionStrict = VisualBasic.OptionStrict.On 271optionStrict = VisualBasic.OptionStrict.On
OptionStrict.vb (1)
36Return value >= OptionStrict.Off AndAlso value <= OptionStrict.[On]
Semantics\OverloadResolution.vb (7)
1042result = ReportOverloadResolutionFailedOrLateBound(candidates, applicableInstanceCandidateCount, lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.On, asyncLambdaSubToFunctionMismatch) 1254lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.On, binder, 1289Return ReportOverloadResolutionFailedOrLateBound(candidates, applicableCandidates, lateBindingIsAllowed AndAlso binder.OptionStrict <> OptionStrict.On, asyncLambdaSubToFunctionMismatch) 3332If binder.OptionStrict = OptionStrict.On Then 3601If binder.OptionStrict = OptionStrict.On Then 3720If binder.OptionStrict = OptionStrict.On Then 5298If binder.OptionStrict = OptionStrict.On AndAlso Not inferredTypeByAssumption.IsNull Then
Semantics\TypeInference\TypeArgumentInference.vb (1)
1946(addrOf.Binder.OptionStrict = OptionStrict.On AndAlso Conversions.IsNarrowingMethodConversion(methodConversions, isForAddressOf:=True)) Then
Symbols\Source\CustomEventAccessorSymbol.vb (1)
198(binder.OptionStrict = OptionStrict.On AndAlso Conversions.IsNarrowingMethodConversion(conversion, False))) Then
Symbols\Source\SourceComplexParameterSymbol.vb (1)
333If binder.OptionStrict = OptionStrict.On Then
Symbols\Source\SourceDelegateMethodSymbol.vb (1)
114If binder.OptionStrict = OptionStrict.On Then
Symbols\Source\SourceMemberFieldSymbol.vb (1)
191If binder.OptionStrict = OptionStrict.On Then
Symbols\Source\SourceMethodSymbol.vb (1)
2319If binder.OptionStrict = OptionStrict.On Then
Symbols\Source\SourcePropertySymbol.vb (1)
365If binder.OptionStrict = OptionStrict.On Then