19 references to Dependency
Microsoft.CodeAnalysis.CSharp (19)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (19)
157private Dependency[,] _dependencies; // Initialized lazily
379case Dependency.NotDependent:
382case Dependency.Direct:
385case Dependency.Indirect:
388case Dependency.Unknown:
1167_dependencies = new Dependency[_methodTypeParameters.Length, _methodTypeParameters.Length];
1170Debug.Assert(0 == (int)Dependency.Unknown);
1177_dependencies[iParam, jParam] = Dependency.Direct;
1201return 0 != ((_dependencies[iParam, jParam]) & Dependency.DependsMask);
1220if (((_dependencies[iParam, kParam]) & Dependency.DependsMask) != 0 &&
1221((_dependencies[kParam, jParam]) & Dependency.DependsMask) != 0)
1248if (_dependencies[iParam, jParam] == Dependency.Unknown)
1252_dependencies[iParam, jParam] = Dependency.Indirect;
1268if (_dependencies[iParam, jParam] == Dependency.Unknown)
1270_dependencies[iParam, jParam] = Dependency.NotDependent;
1283if (_dependencies[iParam, jParam] == Dependency.Indirect)
1285_dependencies[iParam, jParam] = Dependency.Unknown;
1303_dependencies[iParam, jParam] = Dependency.NotDependent;
1304_dependencies[jParam, iParam] = Dependency.NotDependent;