39 instantiations of SymbolDistinguisher
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (4)
324SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, trueSymbol, falseSymbol); 2814SymbolDistinguisher distinguisher1 = new SymbolDistinguisher(this.Compilation, operand.Type, targetType); 2889SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, operand.Type, targetType); 7009SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, coClassType, interfaceType);
Binder\Binder_Invocation.cs (2)
1069SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, call.ReceiverOpt.Type, call.Method.ContainingType); 1075SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, this.ContainingType, call.Method.ContainingType);
Binder\Binder_Operators.cs (1)
5318SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, operandType, targetType);
Binder\Binder_Statements.cs (4)
2219SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, lambdaParameterType, delegateParameterType); 2278SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType); 2295SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType); 2309SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType);
Binder\ForEachLoopBinder.cs (1)
503SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, inferredType.Type, iterationVariableType.Type);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1345SymbolDistinguisher distinguisher = new SymbolDistinguisher(binder.Compilation, displayArg, unwrapIfParamsCollection(badArg, parameter, isLastParameter));
Symbols\ConstraintsHelper.cs (1)
1219SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.CurrentCompilation, constraintType.Type, typeArgument.Type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (25)
Symbols\SymbolDistinguisherTests.cs (25)
43distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 49distinguisher = new SymbolDistinguisher(comp, sourceMethod, referencedMethod); 55distinguisher = new SymbolDistinguisher(comp, sourceProperty, referencedProperty); 61distinguisher = new SymbolDistinguisher(comp, sourceField, referencedField); 67distinguisher = new SymbolDistinguisher(comp, sourceEvent, referencedEvent); 85var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 106var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 125var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 148var distinguisher = new SymbolDistinguisher(null, sourceType, referencedType); 166var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 190var distinguisher = new SymbolDistinguisher(comp, sourceParameter, referencedParameter); 216var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 241var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 266var distinguisher = new SymbolDistinguisher(comp, sourceParameter, referencedParameter); 288var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 306var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 321var distinguisher = new SymbolDistinguisher(dummyComp, errorType, validType); 701Assert.True(AreEqual(new SymbolDistinguisher(compilation, sA, sB), new SymbolDistinguisher(compilation, sA, sB))); 702Assert.False(AreEqual(new SymbolDistinguisher(compilation, sA, sB), new SymbolDistinguisher(compilation, sA, sC))); 703Assert.False(AreEqual(new SymbolDistinguisher(compilation, sA, sB), new SymbolDistinguisher(compilation, sC, sB))); 721var distinguisher1 = new SymbolDistinguisher(compilation, typeA, typeB); 722var distinguisher2 = new SymbolDistinguisher(null, typeA, typeB);
33 references to SymbolDistinguisher
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (4)
324SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, trueSymbol, falseSymbol); 2814SymbolDistinguisher distinguisher1 = new SymbolDistinguisher(this.Compilation, operand.Type, targetType); 2889SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, operand.Type, targetType); 7009SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, coClassType, interfaceType);
Binder\Binder_Invocation.cs (2)
1069SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, call.ReceiverOpt.Type, call.Method.ContainingType); 1075SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, this.ContainingType, call.Method.ContainingType);
Binder\Binder_Operators.cs (1)
5318SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, operandType, targetType);
Binder\Binder_Statements.cs (4)
2219SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, lambdaParameterType, delegateParameterType); 2278SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType); 2295SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType); 2309SymbolDistinguisher distinguisher = new SymbolDistinguisher(compilation, sourceType, targetType);
Binder\ForEachLoopBinder.cs (1)
503SymbolDistinguisher distinguisher = new SymbolDistinguisher(this.Compilation, inferredType.Type, iterationVariableType.Type);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1345SymbolDistinguisher distinguisher = new SymbolDistinguisher(binder.Compilation, displayArg, unwrapIfParamsCollection(badArg, parameter, isLastParameter));
Symbols\ConstraintsHelper.cs (1)
1219SymbolDistinguisher distinguisher = new SymbolDistinguisher(args.CurrentCompilation, constraintType.Type, typeArgument.Type);
Symbols\SymbolDistinguisher.cs (2)
206private readonly SymbolDistinguisher _distinguisher; 209public Description(SymbolDistinguisher distinguisher, int index)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (17)
Symbols\SymbolDistinguisherTests.cs (17)
36SymbolDistinguisher distinguisher; 85var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 106var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 125var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 148var distinguisher = new SymbolDistinguisher(null, sourceType, referencedType); 166var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 190var distinguisher = new SymbolDistinguisher(comp, sourceParameter, referencedParameter); 216var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 241var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 266var distinguisher = new SymbolDistinguisher(comp, sourceParameter, referencedParameter); 288var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 306var distinguisher = new SymbolDistinguisher(comp, sourceType, referencedType); 321var distinguisher = new SymbolDistinguisher(dummyComp, errorType, validType); 706private static bool AreEqual(SymbolDistinguisher a, SymbolDistinguisher b) 721var distinguisher1 = new SymbolDistinguisher(compilation, typeA, typeB); 722var distinguisher2 = new SymbolDistinguisher(null, typeA, typeB);