14 references to WithTypeConstraint
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.cs (5)
2083Generator.WithTypeConstraint( 2089Generator.WithTypeConstraint( 2095Generator.WithTypeConstraint( 2101Generator.WithTypeConstraint( 2107Generator.WithTypeConstraint(
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (5)
CodeGeneration\SyntaxGeneratorTests.vb (5)
2022Generator.WithTypeConstraint( 2029Generator.WithTypeConstraint( 2036Generator.WithTypeConstraint( 2043Generator.WithTypeConstraint( 2050Generator.WithTypeConstraint(
Microsoft.CodeAnalysis.Workspaces (4)
Editing\SyntaxEditorExtensions.cs (1)
38=> editor.ReplaceNode(declaration, (d, g) => g.WithTypeConstraint(d, typeParameterName, kind, types));
Editing\SyntaxGenerator.cs (3)
221decl = WithTypeConstraint(decl, typeParameter.Name, SpecialTypeConstraintKind.ReferenceType); 920=> WithTypeConstraint(declaration, typeParameterName, kinds, (IEnumerable<SyntaxNode>)types); 926=> WithTypeConstraint(declaration, typeParameterName, SpecialTypeConstraintKind.None, (IEnumerable<SyntaxNode>)types);