39 references to SymbolDistinguisher
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (4)
316
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, trueSymbol, falseSymbol);
2554
SymbolDistinguisher distinguisher1 = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
2624
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
5891
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, coClassType, interfaceType);
Binder\Binder_Invocation.cs (2)
888
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, call.ReceiverOpt.Type, call.Method.ContainingType);
894
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, this.ContainingType, call.Method.ContainingType);
Binder\Binder_Operators.cs (1)
3819
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, operandType, targetType);
Binder\Binder_Statements.cs (4)
2157
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, lambdaParameterType, delegateParameterType);
2226
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2243
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2257
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
Binder\ForEachLoopBinder.cs (1)
467
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, inferredType.Type, iterationVariableType.Type);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1273
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(binder.Compilation, displayArg, UnwrapIfParamsArray(parameter, isLastParameter));
Symbols\ConstraintsHelper.cs (1)
1113
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(args.CurrentCompilation, constraintType.Type, typeArgument.Type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Symbols\SymbolDistinguisherTests.cs (25)
43
distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
49
distinguisher = new
SymbolDistinguisher
(comp, sourceMethod, referencedMethod);
55
distinguisher = new
SymbolDistinguisher
(comp, sourceProperty, referencedProperty);
61
distinguisher = new
SymbolDistinguisher
(comp, sourceField, referencedField);
67
distinguisher = new
SymbolDistinguisher
(comp, sourceEvent, referencedEvent);
85
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
106
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
125
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
148
var distinguisher = new
SymbolDistinguisher
(null, sourceType, referencedType);
166
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
190
var distinguisher = new
SymbolDistinguisher
(comp, sourceParameter, referencedParameter);
216
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
241
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
266
var distinguisher = new
SymbolDistinguisher
(comp, sourceParameter, referencedParameter);
288
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
306
var distinguisher = new
SymbolDistinguisher
(comp, sourceType, referencedType);
321
var distinguisher = new
SymbolDistinguisher
(dummyComp, errorType, validType);
701
Assert.True(AreEqual(new
SymbolDistinguisher
(compilation, sA, sB), new
SymbolDistinguisher
(compilation, sA, sB)));
702
Assert.False(AreEqual(new
SymbolDistinguisher
(compilation, sA, sB), new
SymbolDistinguisher
(compilation, sA, sC)));
703
Assert.False(AreEqual(new
SymbolDistinguisher
(compilation, sA, sB), new
SymbolDistinguisher
(compilation, sC, sB)));
721
var distinguisher1 = new
SymbolDistinguisher
(compilation, typeA, typeB);
722
var distinguisher2 = new
SymbolDistinguisher
(null, typeA, typeB);