21 references to Instance
Microsoft.Interop.ComInterfaceGenerator (9)
ComInterfaceGenerator.cs (7)
121.WithComparer(SyntaxEquivalentComparer.Instance) 128.WithComparer(SyntaxEquivalentComparer.Instance) 141.WithComparer(SyntaxEquivalentComparer.Instance) 156.WithComparer(SyntaxEquivalentComparer.Instance) 164.WithComparer(SyntaxEquivalentComparer.Instance) 171.WithComparer(SyntaxEquivalentComparer.Instance) 385callConv.ToSequenceEqualImmutableArray(SyntaxEquivalentComparer.Instance),
Comparers.cs (1)
18public static readonly IEqualityComparer<(MemberDeclarationSyntax Syntax, ImmutableArray<DiagnosticInfo> Diagnostics)> GeneratedSyntax = new CustomValueTupleElementComparer<MemberDeclarationSyntax, ImmutableArray<DiagnosticInfo>>(SyntaxEquivalentComparer.Instance, new ImmutableArraySequenceEqualComparer<DiagnosticInfo>(EqualityComparer<DiagnosticInfo>.Default));
VtableIndexStubGenerator.cs (1)
314new SequenceEqualImmutableArray<FunctionPointerUnmanagedCallingConventionSyntax>(callConv, SyntaxEquivalentComparer.Instance),
Microsoft.Interop.JavaScript.JSImportGenerator (4)
Comparers.cs (4)
18public static readonly IEqualityComparer<(MemberDeclarationSyntax Syntax, ImmutableArray<DiagnosticInfo> Diagnostics)> GeneratedSyntax = new CustomValueTupleElementComparer<MemberDeclarationSyntax, ImmutableArray<DiagnosticInfo>>(SyntaxEquivalentComparer.Instance, new ImmutableArraySequenceEqualComparer<DiagnosticInfo>(EqualityComparer<DiagnosticInfo>.Default)); 21SyntaxEquivalentComparer.Instance, SyntaxEquivalentComparer.Instance, SyntaxEquivalentComparer.Instance,
Microsoft.Interop.LibraryImportGenerator (2)
Comparers.cs (1)
18public static readonly IEqualityComparer<(MemberDeclarationSyntax Syntax, ImmutableArray<DiagnosticInfo> Diagnostics)> GeneratedSyntax = new CustomValueTupleElementComparer<MemberDeclarationSyntax, ImmutableArray<DiagnosticInfo>>(SyntaxEquivalentComparer.Instance, new ImmutableArraySequenceEqualComparer<DiagnosticInfo>(EqualityComparer<DiagnosticInfo>.Default));
LibraryImportGenerator.cs (1)
318new SequenceEqualImmutableArray<AttributeSyntax>(additionalAttributes.ToImmutableArray(), SyntaxEquivalentComparer.Instance),
Microsoft.Interop.LibraryImportGenerator.Downlevel (2)
Comparers.cs (1)
18public static readonly IEqualityComparer<(MemberDeclarationSyntax Syntax, ImmutableArray<DiagnosticInfo> Diagnostics)> GeneratedSyntax = new CustomValueTupleElementComparer<MemberDeclarationSyntax, ImmutableArray<DiagnosticInfo>>(SyntaxEquivalentComparer.Instance, new ImmutableArraySequenceEqualComparer<DiagnosticInfo>(EqualityComparer<DiagnosticInfo>.Default));
DownlevelLibraryImportGenerator.cs (1)
224new SequenceEqualImmutableArray<AttributeSyntax>(additionalAttributes.ToImmutableArray(), SyntaxEquivalentComparer.Instance),
Microsoft.Interop.SourceGeneration (4)
ContainingSyntaxContext.cs (2)
29return Modifiers.SequenceEqual(other.Modifiers, SyntaxEquivalentComparer.Instance) 32&& SyntaxEquivalentComparer.Instance.Equals(TypeParameters, other.TypeParameters);
SignatureContext.cs (1)
141&& AdditionalAttributes.SequenceEqual(other.AdditionalAttributes, (IEqualityComparer<AttributeListSyntax>)SyntaxEquivalentComparer.Instance);
SyntaxEquivalentNode.cs (1)
16return SyntaxEquivalentComparer.Instance.Equals(Node, other.Node);