45 references to Declaration
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (37)
CodeGeneration\SyntaxGeneratorTests.cs (37)
993Generator.Declaration(conversion), 1000Generator.Declaration(conversion), 1672Generator.Declaration(symbol), 2156Generator.Declaration(_emptyCompilation.GetTypeByMetadataName("System.ComponentModel.INotifyPropertyChanged")), 2167Generator.Declaration( 2178Generator.Declaration( 2192Generator.Declaration( 2211VerifySyntax<DelegateDeclarationSyntax>(Generator.Declaration(type), """ 2230Generator.Declaration(method), """ 2251Generator.Declaration(method), """ 2272Generator.Declaration(method), """ 2293Generator.Declaration(method), """ 2314Generator.Declaration(method), 2336Generator.Declaration(property), 2354Generator.Declaration(property), 2377Generator.Declaration(property), 2405Generator.Declaration(property), 2433Generator.Declaration(property), 2464Generator.Declaration(property), 2501Generator.Declaration(method), 2508Generator.Declaration(property), 2511Generator.Declaration(indexer), 2521Generator.Declaration(ev), 2541Generator.Declaration(field), 2564Generator.Declaration(field), 2574Generator.Declaration(field), 2594Generator.Declaration(method), """ 4598Generator.Declaration(symbolR), 4613Generator.Declaration(symbolR), 4636Generator.Declaration(symbolR), 4651Generator.Declaration(symbolR), 4674Generator.Declaration(symbol), 4694Generator.Declaration(symbol), 4712Generator.Declaration(symbol), 4729Generator.Declaration(symbol), 4754Generator.Declaration(symbol), 4912Generator.Declaration(symbol),
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (4)
CodeGeneration\SyntaxGeneratorTests.vb (4)
2332Generator.Declaration(_emptyCompilation.GetTypeByMetadataName("System.ComponentModel.INotifyPropertyChanged")), 2342VerifySyntax(Of EnumBlockSyntax)(Generator.Declaration(_emptyCompilation.GetTypeByMetadataName("System.DateTimeKind")), 2352VerifySyntax(Of EnumBlockSyntax)(Generator.Declaration(_emptyCompilation.GetTypeByMetadataName("System.Security.SecurityRuleSet")), 2364VerifySyntax(Of DelegateStatementSyntax)(Generator.Declaration(type), "Public Delegate Sub D()")
Microsoft.CodeAnalysis.Workspaces (4)
Editing\SyntaxGenerator.cs (4)
769members: type.GetMembers().Where(CanBeDeclared).Select(Declaration)), 777members: type.GetMembers().Where(CanBeDeclared).Select(Declaration)), 783members: type.GetMembers().Where(CanBeDeclared).Select(Declaration)), 790members: type.GetMembers().Where(s => s.Kind == SymbolKind.Field).Select(Declaration)),