22 references to SxSRequirements
mscorlib (22)
system\runtime\versioning\resourceattributes.cs (22)
121
SxSRequirements
requires = GetRequirements(to, from);
123
if ((requires & (
SxSRequirements
.AssemblyName |
SxSRequirements
.TypeName)) != 0 && type == null)
131
if ((requires &
SxSRequirements
.ProcessID) != 0) {
136
if ((requires &
SxSRequirements
.CLRInstanceID) != 0) {
142
if ((requires &
SxSRequirements
.AppDomainID) != 0) {
147
if ((requires &
SxSRequirements
.TypeName) != 0) {
151
if ((requires &
SxSRequirements
.AssemblyName) != 0) {
164
private static
SxSRequirements
GetRequirements(ResourceScope consumeAsScope, ResourceScope calleeScope)
166
SxSRequirements
requires =
SxSRequirements
.None;
176
requires |=
SxSRequirements
.ProcessID;
180
requires |=
SxSRequirements
.AppDomainID |
SxSRequirements
.CLRInstanceID |
SxSRequirements
.ProcessID;
190
requires |=
SxSRequirements
.AppDomainID |
SxSRequirements
.CLRInstanceID;
209
requires |=
SxSRequirements
.AssemblyName;
213
requires |=
SxSRequirements
.TypeName |
SxSRequirements
.AssemblyName;
223
requires |=
SxSRequirements
.TypeName;
235
Contract.Assert(requires ==
SxSRequirements
.None, "Computed a strange set of required resource scoping. It's probably wrong.");