1 write to Results
Microsoft.CodeAnalysis.CSharp (1)
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
19this.Results = new ArrayBuilder<UnaryOperatorAnalysisResult>(10);
17 references to Results
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Operators.cs (2)
1423if (result.Results.Any()) 1426foreach (var analysisResult in result.Results)
Binder\Semantics\Operators\UnaryOperatorEasyOut.cs (1)
118result.Results.Add(UnaryOperatorAnalysisResult.Applicable(signature, conversion.Value));
Binder\Semantics\Operators\UnaryOperatorOverloadResolution.cs (6)
26Debug.Assert(result.Results.Count == 0); 30if (result.Results.Count > 0) 41bool hadUserDefinedCandidate = GetUserDefinedOperators(kind, isChecked, operand, result.Results, ref useSiteInfo); 50result.Results.Clear(); 51GetAllBuiltInOperators(kind, isChecked, operand, result.Results, ref useSiteInfo); 77var candidates = result.Results;
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (8)
24foreach (var result in Results) 38foreach (var result in Results) 59foreach (var result in Results) 79if (Results.Count == 0) 99foreach (var result in Results) 110for (int i = 0, n = this.Results.Count; i < n; i++) 112if (this.Results[i].Kind == kind) 131this.Results.Clear();