2 overrides of Modifier
Microsoft.CodeAnalysis.CSharp (1)
Symbols\CustomModifier.cs (1)
28public override INamedTypeSymbol Modifier
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\CustomModifier.vb (1)
26Public Overrides ReadOnly Property Modifier As INamedTypeSymbol
27 references to Modifier
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
73=> x.IsOptional == y.IsOptional && AreEquivalent(x.Modifier, y.Modifier, equivalentTypesWithDifferingAssemblies);
Microsoft.CodeAnalysis.CSharp (1)
SymbolDisplay\SymbolDisplayVisitor.Members.cs (1)
1077customModifier.Modifier.Accept(this.NotFirstVisitor);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2)
Emit\EmitMetadataTests.cs (1)
576Assert.Equal("System.Runtime.CompilerServices.IsVolatile", mod.Modifier.ToTestDisplayString());
Emit\InAttributeModifierTests.cs (1)
4569Assert.Equal(typeName, modifier.Modifier.ToDisplayString());
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
RefReadonlyParameterTests.cs (1)
109Assert.Equal(qualifiedName, mod.Modifier.ToTestDisplayString());
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (8)
Symbols\CustomModifiersTests.cs (3)
68Assert.Equal("System.Runtime.CompilerServices.IsLong", type.GetTypeArgumentCustomModifiers(0).Single().Modifier.ToTestDisplayString()); 142Assert.Equal("System.Runtime.CompilerServices.IsConst", modifiers.First().Modifier.ToTestDisplayString()); 143Assert.Equal("System.Runtime.CompilerServices.IsLong", modifiers.Last().Modifier.ToTestDisplayString());
Symbols\FunctionPointerTypeSymbolTests.cs (2)
1623Assert.Equal("System.Runtime.InteropServices.InAttribute[missing]", ptr.Signature.RefCustomModifiers.Single().Modifier.ToTestDisplayString()); 1624Assert.Equal("System.Runtime.InteropServices.OutAttribute[missing]", ptr.Signature.Parameters.Single().RefCustomModifiers.Single().Modifier.ToTestDisplayString());
Symbols\Metadata\PE\LoadingFields.cs (1)
107Assert.Equal("System.Runtime.CompilerServices.IsVolatile", mod.Modifier.ToTestDisplayString());
Symbols\Source\CustomModifierCopyTests.cs (1)
480Assert.Equal(ConstModOptType, customModifiers.Single().Modifier.ToTestDisplayString());
Symbols\Source\FieldTests.cs (1)
157Assert.Equal("System.Runtime.CompilerServices.IsVolatile[missing]", mod.Modifier.ToTestDisplayString());
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (2)
2372TypesEquivalent(oldModifier.Modifier, newModifier.Modifier, exact);
Microsoft.CodeAnalysis.VisualBasic (9)
Emit\EditAndContinue\VisualBasicSymbolMatcher.vb (2)
349Dim type = DirectCast(Me.Visit(DirectCast(modifier.Modifier, Symbol)), NamedTypeSymbol) 623Dim translatedType = DirectCast(Me.Visit(DirectCast(modifier.Modifier, Symbol)), NamedTypeSymbol)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
586customModifier.Modifier.Accept(Me.NotFirstVisitor)
Symbols\Metadata\PE\MemberRefMetadataDecoder.vb (1)
265Not Object.Equals(targetCustomModifier.Modifier, candidateCustomModifier.Modifier) Then
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
610Dim newModifier As NamedTypeSymbol = Retarget(DirectCast(oldModifiers(i).Modifier, NamedTypeSymbol), RetargetOptions.RetargetPrimitiveTypesByName) ' should be retargeted by name 612If Not newModifier.Equals(oldModifiers(i).Modifier) Then
Symbols\Symbol.vb (1)
1127Dim info = DirectCast(modifier.Modifier, TypeSymbol).GetUnificationUseSiteDiagnosticRecursive(owner, checkedTypes)
Symbols\TypeSubstitution.vb (2)
876Dim modifier = DirectCast(customModifiers(i).Modifier, NamedTypeSymbol) 885modifier = DirectCast(customModifiers(j).Modifier, NamedTypeSymbol)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SymbolEquivalenceComparer.EquivalenceVisitor.cs (2)
73=> x.IsOptional == y.IsOptional && AreEquivalent(x.Modifier, y.Modifier, equivalentTypesWithDifferingAssemblies);