1 write to Compilation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\AnonymousTypes\AnonymousTypeManager.cs (1)
20this.Compilation = compilation;
34 references to Compilation
Microsoft.CodeAnalysis.CSharp (34)
Symbols\AnonymousTypes\AnonymousTypeManager.SymbolCollection.cs (15)
111get { return Compilation.GetSpecialType(SpecialType.System_Object); } 116get { return Compilation.GetSpecialType(SpecialType.System_Void); } 121get { return Compilation.GetSpecialType(SpecialType.System_Boolean); } 126get { return Compilation.GetSpecialType(SpecialType.System_String); } 131get { return Compilation.GetSpecialType(SpecialType.System_Int32); } 136get { return Compilation.GetSpecialType(SpecialType.System_IntPtr); } 141get { return Compilation.GetSpecialType(SpecialType.System_MulticastDelegate); } 146get { return Compilation.GetWellKnownType(WellKnownType.System_Diagnostics_DebuggerBrowsableState); } 151get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__Equals) as MethodSymbol; } 156get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__ToString) as MethodSymbol; } 161get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_Object__GetHashCode) as MethodSymbol; } 166get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__Equals) as MethodSymbol; } 171get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__GetHashCode) as MethodSymbol; } 176get { return this.Compilation.GetWellKnownTypeMember(WellKnownMember.System_Collections_Generic_EqualityComparer_T__get_Default) as MethodSymbol; } 181get { return this.Compilation.GetSpecialTypeMember(SpecialMember.System_String__Format_IFormatProvider) as MethodSymbol; }
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (11)
121CSharpCompilation previousSubmission = this.Compilation.PreviousSubmission; 143CSharpCompilation previousSubmission = this.Compilation.PreviousSubmission; 178Compilation.GetSpecialType(SpecialType.System_IntPtr), 179returnsVoid ? Compilation.GetSpecialType(SpecialType.System_Void) : null, 192bool useUpdatedEscapeRules = Compilation.SourceModule.UseUpdatedEscapeRules; 193bool runtimeSupportsByRefLikeGenerics = Compilation.SourceAssembly.RuntimeSupportsByRefLikeGenerics; 474Compilation.GetSpecialType(SpecialType.System_IntPtr), 475returnsVoid ? Compilation.GetSpecialType(SpecialType.System_Void) : null, 527int submissionSlotIndex = this.Compilation.GetSubmissionSlotIndex(); 619builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation)); 637builder.Sort(new AnonymousTypeOrDelegateComparer(this.Compilation));
Symbols\AnonymousTypes\PublicSymbols\AnonymousManager.TypeOrDelegatePublicSymbol.cs (1)
59get { return this.Manager.Compilation.SourceModule.GlobalNamespace; }
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.FieldSymbol.cs (1)
152AddSynthesizedAttribute(ref attributes, manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.SynthesizedMethodBase.cs (1)
172AddSynthesizedAttribute(ref attributes, Manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TemplateSymbol.cs (3)
164AddSynthesizedAttribute(ref attributes, Manager.Compilation.TrySynthesizeAttribute( 167if (Manager.Compilation.Options.OptimizationLevel == OptimizationLevel.Debug) 218return Manager.Compilation.TrySynthesizeAttribute(
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeOrDelegateTemplateSymbol.cs (2)
101if (currentSmallestLocation != null && this.Manager.Compilation.CompareSourceLocations(currentSmallestLocation, location) < 0) 137get { return this.Manager.Compilation.SourceModule.GlobalNamespace; }