14 references to GetAmbiguousDefinition
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (14)
src\Analyzers\CSharp\Tests\AliasAmbiguousType\AliasAmbiguousTypeTests.cs (14)
49var classDef = GetAmbiguousDefinition("public class Ambiguous { }"); 101var classDef = GetAmbiguousDefinition("public class Ambiguous { }"); 135var genericAmbiguousClassDefinition = GetAmbiguousDefinition("public class Ambiguous<T> { }"); 155var classDef = GetAmbiguousDefinition("public class AmbiguousAttribute: System.Attribute { }"); 313var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 339var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 365var enumDef = GetAmbiguousDefinition(@"public enum AmbiguousEnum { }"); 397var strcutDef = GetAmbiguousDefinition(@"public struct AmbiguousStruct { }"); 429var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 467var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 505var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 541var classDef = GetAmbiguousDefinition(@"public class AmbiguousClass { }"); 583var classDef = GetAmbiguousDefinition("public class Ambiguous { }", "Microsoft", "System"); 634var classDef = GetAmbiguousDefinition("public class Ambiguous { }", "Microsoft", "System");