39 references to SymbolDistinguisher
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (4)
324
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, trueSymbol, falseSymbol);
2814
SymbolDistinguisher distinguisher1 = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
2889
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
7009
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, coClassType, interfaceType);
Binder\Binder_Invocation.cs (2)
1069
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, call.ReceiverOpt.Type, call.Method.ContainingType);
1075
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, this.ContainingType, call.Method.ContainingType);
Binder\Binder_Operators.cs (1)
5318
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, operandType, targetType);
Binder\Binder_Statements.cs (4)
2219
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, lambdaParameterType, delegateParameterType);
2278
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2295
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2309
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
Binder\ForEachLoopBinder.cs (1)
503
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, inferredType.Type, iterationVariableType.Type);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1345
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(binder.Compilation, displayArg, unwrapIfParamsCollection(badArg, parameter, isLastParameter));
Symbols\ConstraintsHelper.cs (1)
1219
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);