41 references to SmallFieldMask
Microsoft.CodeAnalysis.VisualBasic (41)
Semantics\OverloadResolution.vb (41)
555Private Const s_delegateRelaxationLevelMask_AssertZero = SmallFieldMask.DelegateRelaxationLevelMask - ConversionKind.DelegateRelaxationLevelMask 559Private Const s_inferenceLevelMask_AssertZero = CByte((SmallFieldMask.InferenceLevelMask >> SmallFieldMask.InferenceLevelShift) <> ((TypeArgumentInference.InferenceLevel.Invalid << 1) - 1)) 580Return (_smallFields And SmallFieldMask.IsExpandedParamArrayForm) <> 0 585_smallFields = _smallFields Or SmallFieldMask.IsExpandedParamArrayForm 590Return CType((_smallFields And SmallFieldMask.InferenceLevelMask) >> SmallFieldMask.InferenceLevelShift, TypeArgumentInference.InferenceLevel) 595Dim value As Integer = CInt(level) << SmallFieldMask.InferenceLevelShift 596Debug.Assert((value And SmallFieldMask.InferenceLevelMask) = value) 598_smallFields = (_smallFields And (Not SmallFieldMask.InferenceLevelMask)) Or (value And SmallFieldMask.InferenceLevelMask) 603Return (_smallFields And SmallFieldMask.ArgumentMatchingDone) <> 0 608_smallFields = _smallFields Or SmallFieldMask.ArgumentMatchingDone 613Return (_smallFields And SmallFieldMask.RequiresNarrowingConversion) <> 0 618_smallFields = _smallFields Or SmallFieldMask.RequiresNarrowingConversion 623Return (_smallFields And SmallFieldMask.RequiresNarrowingNotFromObject) <> 0 628_smallFields = _smallFields Or SmallFieldMask.RequiresNarrowingNotFromObject 633Return (_smallFields And SmallFieldMask.RequiresNarrowingNotFromNumericConstant) <> 0 641_smallFields = _smallFields Or SmallFieldMask.RequiresNarrowingNotFromNumericConstant 649Return CType(_smallFields And SmallFieldMask.DelegateRelaxationLevelMask, ConversionKind) 654Dim relaxationLevel As Integer = (conversionKind And SmallFieldMask.DelegateRelaxationLevelMask) 656If relaxationLevel > (_smallFields And SmallFieldMask.DelegateRelaxationLevelMask) Then 663_smallFields = (_smallFields And (Not SmallFieldMask.DelegateRelaxationLevelMask)) Or relaxationLevel 668_smallFields = _smallFields Or SmallFieldMask.SomeInferenceFailed 673Return (_smallFields And SmallFieldMask.SomeInferenceFailed) <> 0 678_smallFields = _smallFields Or SmallFieldMask.IllegalInAttribute 683Return (_smallFields And SmallFieldMask.IllegalInAttribute) <> 0 688_smallFields = _smallFields Or SmallFieldMask.AllFailedInferenceIsDueToObject 693Return (_smallFields And SmallFieldMask.AllFailedInferenceIsDueToObject) <> 0 698Dim value As Integer = CInt(reasons) << SmallFieldMask.InferenceErrorReasonsShift 699Debug.Assert((value And SmallFieldMask.InferenceErrorReasonsMask) = value) 701_smallFields = (_smallFields And (Not SmallFieldMask.InferenceErrorReasonsMask)) Or (value And SmallFieldMask.InferenceErrorReasonsMask) 706Return CType((_smallFields And SmallFieldMask.InferenceErrorReasonsMask) >> SmallFieldMask.InferenceErrorReasonsShift, InferenceErrorReasons) 712Return CType(_smallFields And SmallFieldMask.State, CandidateAnalysisResultState) 715Debug.Assert((value And (Not SmallFieldMask.State)) = 0) 717Dim newFields = _smallFields And (Not SmallFieldMask.State) 725Return (_smallFields And SmallFieldMask.IgnoreExtensionMethods) <> 0 729_smallFields = _smallFields Or SmallFieldMask.IgnoreExtensionMethods 731_smallFields = _smallFields And (Not SmallFieldMask.IgnoreExtensionMethods)