40 references to SymbolDistinguisher
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Expressions.cs (4)
349
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, trueSymbol, falseSymbol);
2871
SymbolDistinguisher distinguisher1 = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
2946
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, operand.Type, targetType);
7082
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, coClassType, interfaceType);
Binder\Binder_Invocation.cs (2)
1092
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, call.ReceiverOpt.Type, call.Method.ContainingType);
1098
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, this.ContainingType, call.Method.ContainingType);
Binder\Binder_Operators.cs (1)
5496
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, operandType, targetType);
Binder\Binder_Statements.cs (4)
2248
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, lambdaParameterType, delegateParameterType);
2307
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2324
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
2338
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(compilation, sourceType, targetType);
Binder\ForEachLoopBinder.cs (1)
502
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(this.Compilation, inferredType.Type, iterationVariableType.Type);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1375
SymbolDistinguisher distinguisher = new
SymbolDistinguisher
(binder.Compilation, displayArg, unwrapIfParamsCollection(badArg, parameter, isLastParameter));
1548
var distinguisher = new
SymbolDistinguisher
(compilation, first, second);
Symbols\ConstraintsHelper.cs (1)
1217
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);